|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.module.AbstractQuercusModule
com.caucho.quercus.lib.HttpModule
public class HttpModule
PHP HTTP functions
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER |
| Constructor Summary | |
|---|---|
HttpModule()
|
|
| Method Summary | |
|---|---|
static Value |
header(Env env,
StringValue headerStr,
boolean replace,
long httpResponseCode)
Adds a header. |
static ArrayValue |
headers_list(Env env)
Return a list of the headers that have been sent or are ready to send. |
static boolean |
headers_sent(Env env,
Value file,
Value line)
Return true if the headers have been sent. |
static boolean |
setcookie(Env env,
java.lang.String name,
java.lang.String value,
long expire,
java.lang.String path,
java.lang.String domain,
boolean secure,
boolean httpOnly)
Sets a cookie |
static java.lang.String |
urldecode(java.lang.String s)
Returns the decoded string. |
| Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
getConstMap, getIniDefinitions, getLoadedExtensions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpModule()
| Method Detail |
|---|
public static Value header(Env env,
StringValue headerStr,
boolean replace,
long httpResponseCode)
public static ArrayValue headers_list(Env env)
public static boolean headers_sent(Env env,
Value file,
Value line)
public static boolean setcookie(Env env,
java.lang.String name,
java.lang.String value,
long expire,
java.lang.String path,
java.lang.String domain,
boolean secure,
boolean httpOnly)
public static java.lang.String urldecode(java.lang.String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||