public class HttpModule extends AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
Constructor and Description |
---|
HttpModule() |
Modifier and Type | Method and Description |
---|---|
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
|
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions, getLoadedExtensions
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)