Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X _ 

A

ACCEPT - Static variable in class org.osgl.http.H.Header.Names
"Accept"
accept() - Method in class org.osgl.http.H.Request
Return the request accept
accept(H.Format) - Method in class org.osgl.http.H.Request
Set accept to the request
accept(H.MediaType) - Method in class org.osgl.http.H.Request
 
ACCEPT_CHARSET - Static variable in class org.osgl.http.H.Header.Names
"Accept-Charset"
ACCEPT_ENCODING - Static variable in class org.osgl.http.H.Header.Names
"Accept-Encoding"
ACCEPT_LANGUAGE - Static variable in class org.osgl.http.H.Header.Names
"Accept-Language"
ACCEPT_PATCH - Static variable in class org.osgl.http.H.Header.Names
"Accept-Patch"
ACCEPT_RANGES - Static variable in class org.osgl.http.H.Header.Names
"Accept-Ranges"
ACCEPTED - Static variable in class org.osgl.http.H.Status
202 Accepted.
ACCEPTED - Static variable in enum org.osgl.http.H.Status.Code
 
ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Allow-Credentials"
ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Allow-Headers"
ACCESS_CONTROL_ALLOW_METHODS - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Allow-Methods"
ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Allow-Origin"
ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Expose-Headers"
ACCESS_CONTROL_MAX_AGE - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Max-Age"
ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Request-Headers"
ACCESS_CONTROL_REQUEST_METHOD - Static variable in class org.osgl.http.H.Header.Names
"Access-Control-Request-Method"
actionMethods() - Static method in enum org.osgl.http.H.Method
 
ADD_TO_RESPONSE - Static variable in enum org.osgl.http.H.Cookie.F
 
addCookie(H.Cookie) - Method in class org.osgl.http.H.Response
Adds the specified cookie to the response.
addCookie(H.Cookie) - Method in class org.osgl.http.servlet.ServletResponse
 
addHeader(String, String) - Method in class org.osgl.http.H.Response
Adds a response header with the given name and value.
addHeader(String, String) - Method in class org.osgl.http.servlet.ServletResponse
 
addHeaderIfNotAdded(String, String) - Method in class org.osgl.http.H.Response
Adds a response header with given name and value if the header with the same name has not been added yet
addToResponse() - Method in class org.osgl.http.H.Cookie
 
AGE - Static variable in class org.osgl.http.H.Header.Names
"Age"
ALLOW - Static variable in class org.osgl.http.H.Header.Names
"Allow"
allowExtensiveRemoteAddrResolving() - Static method in class org.osgl.http.HttpConfig
 
ALREADY_REPORTED - Static variable in class org.osgl.http.H.Status
208 Already Reported.
ALREADY_REPORTED - Static variable in enum org.osgl.http.H.Status.Code
 
asServletCookie(H.Cookie) - Static method in class org.osgl.http.servlet.ServletCookie
 
AUTHENTICATION_TIMEOUT - Static variable in class org.osgl.http.H.Status
419 Authentication Timeout See http://getstatuscode.com/419
AUTHENTICATION_TIMEOUT - Static variable in enum org.osgl.http.H.Status.Code
 
AUTHORIZATION - Static variable in class org.osgl.http.H.Header.Names
"Authorization"
AVI - Static variable in class org.osgl.http.H.Format
 
AVI - Static variable in class org.osgl.http.H.Format.Ordinal
 

B

BAD_GATEWAY - Static variable in class org.osgl.http.H.Status
502 Bad Gateway.
BAD_GATEWAY - Static variable in enum org.osgl.http.H.Status.Code
 
BAD_REQUEST - Static variable in class org.osgl.http.H.Status
400 Bad Request.
BAD_REQUEST - Static variable in enum org.osgl.http.H.Status.Code
 
BINARY - Static variable in class org.osgl.http.H.Format
 
BMP - Static variable in class org.osgl.http.H.Format
 
BMP - Static variable in class org.osgl.http.H.Format.Ordinal
 

C

cache(String, Object) - Method in class org.osgl.http.H.Session
Store an object into cache using key specified.
cache(String, Object, int) - Method in class org.osgl.http.H.Session
Store an object into cache with expiration specified
CACHE_CONTROL - Static variable in class org.osgl.http.H.Header.Names
"Cache-Control"
cached(String) - Method in class org.osgl.http.H.Session
Retrieve an object from cache by key.
cached(String, Class<T>) - Method in class org.osgl.http.H.Session
Retrieve an object from cache by key.
cacheFor10Min(String, Object) - Method in class org.osgl.http.H.Session
Store an object into cache for 10 minutes
cacheFor1Hr(String, Object) - Method in class org.osgl.http.H.Session
Store an object into cache for 1 hour
cacheFor1Min(String, Object) - Method in class org.osgl.http.H.Session
Store an object into cache for 1 minutes
cacheFor30Min(String, Object) - Method in class org.osgl.http.H.Session
Store an object into cache for 30 minutes
changed() - Method in class org.osgl.http.H.KV
Alias of H.KV.dirty()
characterEncoding() - Method in class org.osgl.http.H.Request
Returns encoding of the request
characterEncoding() - Method in class org.osgl.http.H.Response
Returns the name of the character encoding (MIME charset) used for the body sent in this response.
characterEncoding(String) - Method in class org.osgl.http.H.Response
Returns the content type used for the MIME body sent in this response.
characterEncoding() - Method in class org.osgl.http.servlet.ServletResponse
 
characterEncoding(String) - Method in class org.osgl.http.servlet.ServletResponse
 
CHECKPOINT - Static variable in class org.osgl.http.H.Status
103 Checkpoint.
CHECKPOINT - Static variable in enum org.osgl.http.H.Status.Code
 
cleanUp() - Static method in class org.osgl.http.H
Clear all current context
clear() - Method in interface org.osgl.http.CurrentStateStore
Clear all current states
clear() - Method in class org.osgl.http.H.KV
Clear the internal data map.
clear() - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
clone() - Method in class org.osgl.http.H.Status
 
close() - Method in class org.osgl.http.H.Response
Close output or outputStream or writer opened on this response
code() - Method in class org.osgl.http.H.Status
Returns the int value of the status
comment() - Method in class org.osgl.http.H.Cookie
 
comment(String) - Method in class org.osgl.http.H.Cookie
 
commit() - Method in class org.osgl.http.H.Response
Calling this method commits the response, meaning the status code and headers will be written to the client
commit() - Method in class org.osgl.http.servlet.ServletResponse
 
compareTo(H.Status) - Method in class org.osgl.http.H.Status
 
CONFLICT - Static variable in enum org.osgl.http.H.Status.Code
 
CONFLICT - Static variable in class org.osgl.http.H.Status
409 Conflict.
CONNECTION - Static variable in class org.osgl.http.H.Header.Names
"Connection"
contains(String) - Method in class org.osgl.http.H.KV
containsHeader(String) - Method in class org.osgl.http.H.Response
Returns a boolean indicating whether the named response header has already been set.
containsHeader(String) - Method in class org.osgl.http.servlet.ServletResponse
 
containsKey(String) - Method in class org.osgl.http.H.KV
Returns true if an association with key specified exists in the internal map
CONTENT_BASE - Static variable in class org.osgl.http.H.Header.Names
"Content-Base"
CONTENT_DISPOSITION - Static variable in class org.osgl.http.H.Header.Names
"Content-Disposition"
CONTENT_ENCODING - Static variable in class org.osgl.http.H.Header.Names
"Content-Encoding"
CONTENT_LANGUAGE - Static variable in class org.osgl.http.H.Header.Names
"Content-Language"
CONTENT_LENGTH - Static variable in class org.osgl.http.H.Header.Names
"Content-Length"
CONTENT_LOCATION - Static variable in class org.osgl.http.H.Header.Names
"Content-Location"
CONTENT_MD5 - Static variable in class org.osgl.http.H.Header.Names
"Content-MD5"
CONTENT_RANGE - Static variable in class org.osgl.http.H.Header.Names
"Content-Range"
CONTENT_SECURITY_POLICY - Static variable in class org.osgl.http.H.Header.Names
"Content-Security-Policy"
CONTENT_TRANSFER_ENCODING - Static variable in class org.osgl.http.H.Header.Names
"Content-Transfer-Encoding"
CONTENT_TYPE - Static variable in class org.osgl.http.H.Header.Names
"Content-Type"
contentDisposition(String, boolean) - Method in class org.osgl.http.H.Response
 
contentLength() - Method in class org.osgl.http.H.Request
Returns the content length of the request
contentLength(long) - Method in class org.osgl.http.H.Response
Set the length of the content to be write to the response
contentLength(long) - Method in class org.osgl.http.servlet.ServletResponse
 
contentType() - Method in class org.osgl.http.H.Format
Returns the content type string
contentType() - Method in class org.osgl.http.H.Request
Return content type of the request
contentType(String) - Method in class org.osgl.http.H.Response
Sets the content type of the response being sent to the client.
context(Object) - Method in class org.osgl.http.H.Request
Attach a context object to the request instance
context() - Method in class org.osgl.http.H.Request
Get the context object from the request instance
context(Object) - Method in class org.osgl.http.H.Response
Attach a context object to the response instance
context() - Method in class org.osgl.http.H.Response
Get the context object from the response instance
contextPath() - Method in class org.osgl.http.H.Request
Returns the context path of the request.
contextPath(String) - Static method in class org.osgl.http.HttpConfig
Set url context path.
contextPath() - Static method in class org.osgl.http.HttpConfig
 
contextPath() - Method in class org.osgl.http.servlet.ServletRequest
 
CONTINUE - Static variable in enum org.osgl.http.H.Status.Code
 
CONTINUE - Static variable in class org.osgl.http.H.Status
100 Continue.
Cookie(String) - Constructor for class org.osgl.http.H.Cookie
 
Cookie(String, String) - Constructor for class org.osgl.http.H.Cookie
 
Cookie(String, String, String) - Constructor for class org.osgl.http.H.Cookie
 
Cookie(String, String, int, boolean, String, String, boolean) - Constructor for class org.osgl.http.H.Cookie
 
COOKIE - Static variable in class org.osgl.http.H.Header.Names
"Cookie"
cookie(String) - Method in class org.osgl.http.H.Request
Returns cookie by it’s name
cookies() - Method in class org.osgl.http.H.Request
Returns all cookies of the request in Iterable
CREATED - Static variable in enum org.osgl.http.H.Status.Code
 
CREATED - Static variable in class org.osgl.http.H.Status
201 Created.
createInputStream() - Method in class org.osgl.http.H.Request
 
createInputStream() - Method in class org.osgl.http.servlet.ServletRequest
 
createOutput() - Method in class org.osgl.http.H.Response
 
createOutput() - Method in class org.osgl.http.servlet.ServletResponse
 
createOutputStream() - Method in class org.osgl.http.H.Response
 
createOutputStream() - Method in class org.osgl.http.servlet.ServletResponse
 
CSS - Static variable in class org.osgl.http.H.Format
The “text/css” content format
CSV - Static variable in class org.osgl.http.H.Format
The “text/csv” content format
csv - Static variable in class org.osgl.http.H.Format
Deprecated.
CSV - Static variable in class org.osgl.http.H.Format.Ordinal
 
ctx - Static variable in class org.osgl.http.HttpConfig
 
current() - Static method in class org.osgl.http.H.Flash
Return a flash instance of the current execution context, For example from a ThreadLocal
current(H.Flash) - Static method in class org.osgl.http.H.Flash
Set a flash instance into the current execution context, for example into a ThreadLocal
current() - Static method in class org.osgl.http.H.Request
Return a request instance of the current execution context, For example from a ThreadLocal
current(T) - Static method in class org.osgl.http.H.Request
Set a request instance into the current execution context, for example into a ThreadLocal
current() - Static method in class org.osgl.http.H.Response
Return a request instance of the current execution context, For example from a ThreadLocal
current(T) - Static method in class org.osgl.http.H.Response
Set a request instance into the current execution context, for example into a ThreadLocal
current() - Static method in class org.osgl.http.H.Session
Return a session instance of the current execution context, For example from a ThreadLocal
current(H.Session) - Static method in class org.osgl.http.H.Session
Set a session instance into the current execution context, for example into a ThreadLocal
CurrentStateStore - Interface in org.osgl.http
 

D

data - Variable in class org.osgl.http.H.KV
 
DATE - Static variable in class org.osgl.http.H.Header.Names
"Date"
decr() - Method in class org.osgl.http.H.Cookie
 
decr(int) - Method in class org.osgl.http.H.Cookie
 
decr(String) - Method in class org.osgl.http.H.Session
Decrement the value associated with key by one.
decr(String, int) - Method in class org.osgl.http.H.Session
Decrement the value associated with key by n.
DefaultCurrentStateStore - Class in org.osgl.http.util
 
DefaultCurrentStateStore() - Constructor for class org.osgl.http.util.DefaultCurrentStateStore
 
defaultLocale(Locale) - Static method in class org.osgl.http.HttpConfig
 
defaultLocale() - Static method in class org.osgl.http.HttpConfig
 
dirty() - Method in class org.osgl.http.H.KV
Indicate if the KV has been changed
discard(String) - Method in class org.osgl.http.H.Flash
Discard a data from the output buffer of the flash but the data buffer is remain untouched.
discard() - Method in class org.osgl.http.H.Flash
Discard the whole output buffer of the flash but the data buffer is remain untouched.
DOC - Static variable in class org.osgl.http.H.Format
The “application/vnd.ms-word” content format
doc - Static variable in class org.osgl.http.H.Format
Deprecated.
DOC - Static variable in class org.osgl.http.H.Format.Ordinal
 
DOCX - Static variable in class org.osgl.http.H.Format
The “application/vnd.openxmlformats-officedocument.wordprocessingml.document” content format
docx - Static variable in class org.osgl.http.H.Format
Deprecated.
DOCX - Static variable in class org.osgl.http.H.Format.Ordinal
 
domain() - Method in class org.osgl.http.H.Cookie
Returns the domain of the cookie
domain(String) - Method in class org.osgl.http.H.Cookie
Set the domain of the cookie
domain() - Method in class org.osgl.http.H.Request
domain(String) - Static method in class org.osgl.http.HttpConfig
 
domain() - Static method in class org.osgl.http.HttpConfig
 
domain() - Method in class org.osgl.http.servlet.ServletCookie
 
domain(String) - Method in class org.osgl.http.servlet.ServletCookie
 

E

empty() - Method in class org.osgl.http.H.KV
Returns true if the internal data map is empty
empty() - Method in class org.osgl.http.H.Session
Returns true if the session is empty.
entrySet() - Method in class org.osgl.http.H.KV
Returns the entry set of internal data map
equals(Object) - Method in class org.osgl.http.H.Flash
 
equals(Object) - Method in class org.osgl.http.H.Format
 
equals(Object) - Method in class org.osgl.http.H.KV
 
equals(Object) - Method in class org.osgl.http.H.Session
 
equals(Object) - Method in class org.osgl.http.H.Status
 
error(String) - Method in class org.osgl.http.H.Flash
Add an “error” message to the flash scope
error(String, Object...) - Method in class org.osgl.http.H.Flash
Add an “error” message to the flash scope, with optional format arguments
error() - Method in class org.osgl.http.H.Flash
Get the “error” message that has been added to the flash scope.
errorMessage(String) - Method in class org.osgl.http.H.Format
Returns the error message
ETAG - Static variable in class org.osgl.http.H.Header.Names
"ETag"
etag() - Method in class org.osgl.http.H.Request
 
etag(String) - Method in class org.osgl.http.H.Response
Set the etag header
etagMatches(String) - Method in class org.osgl.http.H.Request
 
evict(String) - Method in class org.osgl.http.H.Session
Evict an object from cache
EXPECT - Static variable in class org.osgl.http.H.Header.Names
"Expect"
EXPECTATION_FAILED - Static variable in enum org.osgl.http.H.Status.Code
 
EXPECTATION_FAILED - Static variable in class org.osgl.http.H.Status
417 Expectation Failed.
expired() - Method in class org.osgl.http.H.Session
Check if the session is expired.
expireOn(long) - Method in class org.osgl.http.H.Session
Set session expiry in milliseconds
expires() - Method in class org.osgl.http.H.Cookie
 
expires(Date) - Method in class org.osgl.http.H.Cookie
 
EXPIRES - Static variable in class org.osgl.http.H.Header.Names
"Expires"
expiry() - Method in class org.osgl.http.H.Session
Returns the expiration time in milliseconds of this session.

F

FAILED_DEPENDENCY - Static variable in enum org.osgl.http.H.Status.Code
 
FAILED_DEPENDENCY - Static variable in class org.osgl.http.H.Status
424 Failed Dependency.
flash() - Method in interface org.osgl.http.CurrentStateStore
Get current flash.
flash(H.Flash) - Method in interface org.osgl.http.CurrentStateStore
Store flash as current state.
Flash() - Constructor for class org.osgl.http.H.Flash
 
flash() - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
flash(H.Flash) - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
FLV - Static variable in class org.osgl.http.H.Format
 
FLV - Static variable in class org.osgl.http.H.Format.Ordinal
 
FORBIDDEN - Static variable in enum org.osgl.http.H.Status.Code
 
FORBIDDEN - Static variable in class org.osgl.http.H.Status
403 Forbidden.
FORM_MULTIPART_DATA - Static variable in class org.osgl.http.H.Format
The “multipart/form-data” content format
form_multipart_data - Static variable in class org.osgl.http.H.Format
Deprecated.
FORM_MULTIPART_DATA - Static variable in class org.osgl.http.H.Format.Ordinal
 
FORM_URL_ENCODED - Static variable in class org.osgl.http.H.Format
The “application/x-www-form-urlencoded” content format
form_url_encoded - Static variable in class org.osgl.http.H.Format
Deprecated.
FORM_URL_ENCODED - Static variable in class org.osgl.http.H.Format.Ordinal
 
format(String) - Static method in class org.osgl.http.H
 
format(String, String) - Static method in class org.osgl.http.H
 
format() - Method in enum org.osgl.http.H.MediaType
 
FOUND - Static variable in enum org.osgl.http.H.Status.Code
 
FOUND - Static variable in class org.osgl.http.H.Status
302 Found.
FOUND_AJAX - Static variable in enum org.osgl.http.H.Status.Code
 
FOUND_AJAX - Static variable in class org.osgl.http.H.Status
278 - Faked http status to handle redirection on ajax case.
FROM - Static variable in class org.osgl.http.H.Header.Names
"From"
FRONT_END_HTTPS - Static variable in class org.osgl.http.H.Header.Names
"Front-End-Https"
fullPath() - Method in class org.osgl.http.H.Request
Returns the full URI path.
fullUrl() - Method in class org.osgl.http.H.Request
Returns the full URL including scheme, domain, port and full request path plus query string
fullUrl(String) - Static method in enum org.osgl.http.util.Path
Returns the full url form of a url path which starts with scheme.
fullUrl(String, boolean) - Static method in enum org.osgl.http.util.Path
Return the full url form of a url path which starts with scheme.
fullUrl(String, H.Request) - Static method in enum org.osgl.http.util.Path
Returns the full url form of a url path which starts with scheme.

G

GATEWAY_TIMEOUT - Static variable in enum org.osgl.http.H.Status.Code
 
GATEWAY_TIMEOUT - Static variable in class org.osgl.http.H.Status
504 Gateway Timeout.
get(String) - Method in class org.osgl.http.H.KV
Returns the string value associated with the key specified
getContentType() - Method in class org.osgl.http.H.Format
 
getName() - Method in class org.osgl.http.H.Format
 
GIF - Static variable in class org.osgl.http.H.Format
 
GIF - Static variable in class org.osgl.http.H.Format.Ordinal
 
GONE - Static variable in enum org.osgl.http.H.Status.Code
 
GONE - Static variable in class org.osgl.http.H.Status
410 Gone.

H

H - Class in org.osgl.http
The namespace to access Http features.
H.Cookie - Class in org.osgl.http
The HTTP cookie
H.Cookie.F - Enum in org.osgl.http
The function object namespace
H.Flash - Class in org.osgl.http
A Flash represent a storage scope that attributes inside is valid only for one session interaction.
H.Format - Class in org.osgl.http
Specify the format of the requested content type
H.Format.Ordinal - Class in org.osgl.http
 
H.Header - Class in org.osgl.http
 
H.Header.Names - Class in org.osgl.http
 
H.KV<T extends H.KV> - Class in org.osgl.http
 
H.MediaType - Enum in org.osgl.http
 
H.Method - Enum in org.osgl.http
 
H.Request<T extends H.Request> - Class in org.osgl.http
Defines the HTTP request trait
H.Response<T extends H.Response> - Class in org.osgl.http
Defines the HTTP response trait
H.Session - Class in org.osgl.http
Defines a data structure to encapsulate a stateless session which accept only String type value, and will be persisted at client side as a cookie.
H.Status - Class in org.osgl.http
 
H.Status.Code - Enum in org.osgl.http
 
hashCode() - Method in class org.osgl.http.H.Format
 
hashCode() - Method in class org.osgl.http.H.KV
 
hashCode() - Method in class org.osgl.http.H.Status
 
Header(String, String) - Constructor for class org.osgl.http.H.Header
 
Header(String, String...) - Constructor for class org.osgl.http.H.Header
 
Header(String, Iterable<String>) - Constructor for class org.osgl.http.H.Header
 
header(String) - Method in class org.osgl.http.H.Request
Returns the header content by name.
header(String, String) - Method in class org.osgl.http.H.Response
Sets a response header with the given name and value.
header(String) - Method in class org.osgl.http.servlet.ServletRequest
 
header(String, String) - Method in class org.osgl.http.servlet.ServletResponse
 
headers(String) - Method in class org.osgl.http.H.Request
Returns all header content by name.
headers(String) - Method in class org.osgl.http.servlet.ServletRequest
 
HOST - Static variable in class org.osgl.http.H.Header.Names
"Host"
host() - Method in class org.osgl.http.H.Request
Returns host of this request.
HTML - Static variable in class org.osgl.http.H.Format
The “text/html” content format
html - Static variable in class org.osgl.http.H.Format
Deprecated.
HTML - Static variable in class org.osgl.http.H.Format.Ordinal
 
Http - Class in org.osgl.http
Namespace to access HTTP features
HTTP_CLIENT_IP - Static variable in class org.osgl.http.H.Header.Names
"HTTP_CLIENT_IP"
HTTP_VERSION_NOT_SUPPORTED - Static variable in enum org.osgl.http.H.Status.Code
 
HTTP_VERSION_NOT_SUPPORTED - Static variable in class org.osgl.http.H.Status
505 HTTP Version Not Supported.
HTTP_X_FORWARDED_FOR - Static variable in class org.osgl.http.H.Header.Names
"HTTP_X_FORWARDED_FOR"
HttpConfig - Class in org.osgl.http
 
HttpConfig() - Constructor for class org.osgl.http.HttpConfig
 
httpOnly() - Method in class org.osgl.http.H.Cookie
 
httpOnly(boolean) - Method in class org.osgl.http.H.Cookie
 

I

I_AM_A_TEAPOT - Static variable in enum org.osgl.http.H.Status.Code
 
I_AM_A_TEAPOT - Static variable in class org.osgl.http.H.Status
418 I'm a teapot.
ICO - Static variable in class org.osgl.http.H.Format
 
ICO - Static variable in class org.osgl.http.H.Format.Ordinal
 
id() - Method in class org.osgl.http.H.Session
Returns the session identifier
IF_MATCH - Static variable in class org.osgl.http.H.Header.Names
"If-Match"
IF_MODIFIED_SINCE - Static variable in class org.osgl.http.H.Header.Names
"If-Modified-Since"
IF_NONE_MATCH - Static variable in class org.osgl.http.H.Header.Names
"If-None-Match"
IF_RANGE - Static variable in class org.osgl.http.H.Header.Names
"If-Range"
IF_UNMODIFIED_SINCE - Static variable in class org.osgl.http.H.Header.Names
"If-Unmodified-Since"
IM_USED - Static variable in enum org.osgl.http.H.Status.Code
 
IM_USED - Static variable in class org.osgl.http.H.Status
226 IM Used.
incr() - Method in class org.osgl.http.H.Cookie
 
incr(int) - Method in class org.osgl.http.H.Cookie
 
incr(String) - Method in class org.osgl.http.H.Session
Increment the value associated with key by one.
incr(String, int) - Method in class org.osgl.http.H.Session
Increment the value associated with key by n.
initContentType(String) - Method in class org.osgl.http.H.Response
This method set the content type to the response if there is no content type been set already.
inputStream - Variable in class org.osgl.http.H.Request
 
inputStream() - Method in class org.osgl.http.H.Request
Returns body of the request as binary data using InputStream
INSUFFICIENT_STORAGE - Static variable in enum org.osgl.http.H.Status.Code
 
INSUFFICIENT_STORAGE - Static variable in class org.osgl.http.H.Status
507 Insufficient Storage
INTERNAL_SERVER_ERROR - Static variable in enum org.osgl.http.H.Status.Code
 
INTERNAL_SERVER_ERROR - Static variable in class org.osgl.http.H.Status
500 Internal Server Error.
ip() - Method in class org.osgl.http.H.Request
Returns the remote ip address of this request.
isAbsoluteUrl(String) - Static method in enum org.osgl.http.util.Path
Check if a path is absolute.
isAjax() - Method in class org.osgl.http.H.Request
Check if the request is an ajax call
isClientError() - Method in class org.osgl.http.H.Status
Returns true if the status is client error (4xx)
isCookieHttpOnly() - Static method in class org.osgl.http.HttpConfig
 
isCookieSecure() - Static method in class org.osgl.http.HttpConfig
Returns the cookie secure configuration
isEmpty() - Method in class org.osgl.http.H.KV
Returns true if internal data map is empty
isEmpty() - Method in class org.osgl.http.H.Session
 
isError() - Method in class org.osgl.http.H.Status
Returns true if the status is either a client error or server error
isFullUrl(String) - Static method in enum org.osgl.http.util.Path
Check if a path is full URL including scheme
isInformational() - Method in class org.osgl.http.H.Status
Returns true if the status is informational series (1xx)
isModified(String, long) - Method in class org.osgl.http.H.Request
Check if the requested resource is modified with etag and last timestamp (usually the timestamp of a static file e.g.)
isRedirect() - Method in class org.osgl.http.H.Status
Returns true if the status is redirect series (3xx)
isServerError() - Method in class org.osgl.http.H.Status
Returns true if the status is server error (5xx)
isSuccess() - Method in class org.osgl.http.H.Status
Returns true if the status is success series (2xx)
isText() - Method in class org.osgl.http.H.Format
 
isUnknown() - Method in enum org.osgl.http.H.Method
Is this known method?
isXForwardedAllowed() - Static method in class org.osgl.http.HttpConfig
Does the app support x-forwarded headers
isXForwardedAllowed(String) - Static method in class org.osgl.http.HttpConfig
Does the remote address is allowed for x-forwarded header

J

JAVASCRIPT - Static variable in class org.osgl.http.H.Format
The “application/javascript” content format
JPG - Static variable in class org.osgl.http.H.Format
 
JPG - Static variable in class org.osgl.http.H.Format.Ordinal
 
JSON - Static variable in class org.osgl.http.H.Format
The “application/json” content format
json - Static variable in class org.osgl.http.H.Format
Deprecated.
JSON - Static variable in class org.osgl.http.H.Format.Ordinal
 

K

keep(String) - Method in class org.osgl.http.H.Flash
Keep a data that has been put into the flash for one time.
keep() - Method in class org.osgl.http.H.Flash
Keep all data that has been put into the flash for one time.
KEY_AUTHENTICITY_TOKEN - Static variable in class org.osgl.http.H.Session
Stores the authenticity token in the session
KEY_EXPIRATION - Static variable in class org.osgl.http.H.Session
Stores the expiration date in the session
KEY_EXPIRE_INDICATOR - Static variable in class org.osgl.http.H.Session
Used to mark if a session has just expired
KEY_FINGER_PRINT - Static variable in class org.osgl.http.H.Session
Stores the fingerprint to the session
KEY_ID - Static variable in class org.osgl.http.H.Session
Session identifier
keySet() - Method in class org.osgl.http.H.KV
Returns the key set of internal data map

L

LAST_MODIFIED - Static variable in class org.osgl.http.H.Header.Names
"Last-Modified"
LENGTH_REQUIRED - Static variable in enum org.osgl.http.H.Status.Code
 
LENGTH_REQUIRED - Static variable in class org.osgl.http.H.Status
411 Length Required.
load(String, String) - Method in class org.osgl.http.H.KV
Associate a string value with the key specified during initialization.
locale() - Method in class org.osgl.http.H.Request
Returns locale of the request
locale(Locale) - Method in class org.osgl.http.H.Response
 
locale() - Method in class org.osgl.http.H.Response
Returns the locale assigned to the response.
locale() - Method in class org.osgl.http.servlet.ServletResponse
 
locales() - Method in class org.osgl.http.H.Request
Returns all locales of the request
LOCATION - Static variable in class org.osgl.http.H.Header.Names
"Location"
LOCKED - Static variable in enum org.osgl.http.H.Status.Code
 
LOCKED - Static variable in class org.osgl.http.H.Status
423 Locked.
logger - Static variable in class org.osgl.http.H
 
LOOP_DETECTED - Static variable in enum org.osgl.http.H.Status.Code
 
LOOP_DETECTED - Static variable in class org.osgl.http.H.Status
508 Loop Detected

M

MAX_FORWARDS - Static variable in class org.osgl.http.H.Header.Names
"Max-Forwards"
maxAge() - Method in class org.osgl.http.H.Cookie
Returns the maximum age of cookie specified in seconds.
maxAge(int) - Method in class org.osgl.http.H.Cookie
Set the max age of the cookie in seconds.
maxAge() - Method in class org.osgl.http.servlet.ServletCookie
 
maxAge(int) - Method in class org.osgl.http.servlet.ServletCookie
 
me() - Method in class org.osgl.http.H.KV
 
me() - Method in class org.osgl.http.H.Request
 
me() - Method in class org.osgl.http.H.Response
 
method() - Method in class org.osgl.http.H.Request
Returns the HTTP method of the request
method(H.Method) - Method in class org.osgl.http.H.Request
Set the Http method on this request.
method() - Method in class org.osgl.http.servlet.ServletRequest
 
method(H.Method) - Method in class org.osgl.http.servlet.ServletRequest
 
METHOD_FAILURE - Static variable in enum org.osgl.http.H.Status.Code
 
METHOD_FAILURE - Static variable in class org.osgl.http.H.Status
420 Method Failure See http://getstatuscode.com/420
METHOD_NOT_ALLOWED - Static variable in enum org.osgl.http.H.Status.Code
 
METHOD_NOT_ALLOWED - Static variable in class org.osgl.http.H.Status
405 Method Not Allowed.
MISDIRECTED_REQUEST - Static variable in enum org.osgl.http.H.Status.Code
 
MISDIRECTED_REQUEST - Static variable in class org.osgl.http.H.Status
MOD - Static variable in class org.osgl.http.H.Format
 
MOV - Static variable in class org.osgl.http.H.Format
 
MOV - Static variable in class org.osgl.http.H.Format.Ordinal
 
MOVED_PERMANENTLY - Static variable in enum org.osgl.http.H.Status.Code
 
MOVED_PERMANENTLY - Static variable in class org.osgl.http.H.Status
301 Moved Permanently.
MOVED_TEMPORARILY - Static variable in enum org.osgl.http.H.Status.Code
Deprecated.
MOVED_TEMPORARILY - Static variable in class org.osgl.http.H.Status
Deprecated.
In favor of H.Status.FOUND which will be returned from Status.valueOf(302)
MP3 - Static variable in class org.osgl.http.H.Format
 
MP3 - Static variable in class org.osgl.http.H.Format.Ordinal
 
MP4 - Static variable in class org.osgl.http.H.Format
 
MP4 - Static variable in class org.osgl.http.H.Format.Ordinal
 
MPA - Static variable in class org.osgl.http.H.Format
 
MPA - Static variable in class org.osgl.http.H.Format.Ordinal
 
MPG - Static variable in class org.osgl.http.H.Format
 
MPG - Static variable in class org.osgl.http.H.Format.Ordinal
 
MULTI_STATUS - Static variable in enum org.osgl.http.H.Status.Code
 
MULTI_STATUS - Static variable in class org.osgl.http.H.Status
207 Multi-Status.
MULTIPLE_CHOICES - Static variable in enum org.osgl.http.H.Status.Code
 
MULTIPLE_CHOICES - Static variable in class org.osgl.http.H.Status
300 Multiple Choices.

N

name() - Method in class org.osgl.http.H.Cookie
Returns the name of the cookie.
name() - Method in class org.osgl.http.H.Format
 
name() - Method in class org.osgl.http.H.Header
 
name() - Method in class org.osgl.http.servlet.ServletCookie
 
NETWORK_AUTHENTICATION_REQUIRED - Static variable in enum org.osgl.http.H.Status.Code
 
NETWORK_AUTHENTICATION_REQUIRED - Static variable in class org.osgl.http.H.Status
511 Network Authentication Required.
NO_CONTENT - Static variable in enum org.osgl.http.H.Status.Code
 
NO_CONTENT - Static variable in class org.osgl.http.H.Status
204 No Content.
NON_AUTHORITATIVE_INFORMATION - Static variable in enum org.osgl.http.H.Status.Code
 
NON_AUTHORITATIVE_INFORMATION - Static variable in class org.osgl.http.H.Status
203 Non-Authoritative Information.
nonSecurePort(int) - Static method in class org.osgl.http.HttpConfig
 
nonSecurePort() - Static method in class org.osgl.http.HttpConfig
 
NOT_ACCEPTABLE - Static variable in enum org.osgl.http.H.Status.Code
 
NOT_ACCEPTABLE - Static variable in class org.osgl.http.H.Status
406 Not Acceptable.
NOT_EXTENDED - Static variable in enum org.osgl.http.H.Status.Code
 
NOT_EXTENDED - Static variable in class org.osgl.http.H.Status
510 Not Extended
NOT_FOUND - Static variable in enum org.osgl.http.H.Status.Code
 
NOT_FOUND - Static variable in class org.osgl.http.H.Status
404 Not Found.
NOT_IMPLEMENTED - Static variable in enum org.osgl.http.H.Status.Code
 
NOT_IMPLEMENTED - Static variable in class org.osgl.http.H.Status
501 Not Implemented.
NOT_MODIFIED - Static variable in enum org.osgl.http.H.Status.Code
 
NOT_MODIFIED - Static variable in class org.osgl.http.H.Status
304 Not Modified.
now(String, String) - Method in class org.osgl.http.H.Flash
Add an attribute to the flash’s current scope.

O

of(String) - Static method in class org.osgl.http.H.Format
 
of(String, String) - Static method in class org.osgl.http.H.Format
 
of(int) - Static method in class org.osgl.http.H.Status
of(Cookie) - Static method in class org.osgl.http.servlet.ServletCookie
 
OGA - Static variable in class org.osgl.http.H.Format
 
OGV - Static variable in class org.osgl.http.H.Format
 
OK - Static variable in enum org.osgl.http.H.Status.Code
 
OK - Static variable in class org.osgl.http.H.Status
200 OK.
ordinal() - Method in class org.osgl.http.H.Format
 
Ordinal() - Constructor for class org.osgl.http.H.Format.Ordinal
 
org.osgl.http - package org.osgl.http
 
org.osgl.http.servlet - package org.osgl.http.servlet
 
org.osgl.http.util - package org.osgl.http.util
 
ORIGIN - Static variable in class org.osgl.http.H.Header.Names
"Origin"
out() - Method in class org.osgl.http.H.Flash
 
output - Variable in class org.osgl.http.H.Response
 
output() - Method in class org.osgl.http.H.Response
Returns the output to write to the response.
outputCreated() - Method in class org.osgl.http.H.Response
 
outputStream - Variable in class org.osgl.http.H.Response
 
outputStream() - Method in class org.osgl.http.H.Response
Returns the output stream to write to the response.
outputStreamCreated() - Method in class org.osgl.http.H.Response
 

P

paramNames() - Method in class org.osgl.http.H.Request
Return all parameter names
paramNames() - Method in class org.osgl.http.servlet.ServletRequest
 
paramVal(String) - Method in class org.osgl.http.H.Request
Return a request parameter value by name.
paramVal(String) - Method in class org.osgl.http.servlet.ServletRequest
 
paramVals(String) - Method in class org.osgl.http.H.Request
Returns all values associated with the name specified in the http request.
paramVals(String) - Method in class org.osgl.http.servlet.ServletRequest
 
PARTIAL_CONTENT - Static variable in enum org.osgl.http.H.Status.Code
 
PARTIAL_CONTENT - Static variable in class org.osgl.http.H.Status
206 Partial Content.
password() - Method in class org.osgl.http.H.Request
the Http Basic password
path() - Method in class org.osgl.http.H.Cookie
Returns the path on the server to which the browser returns this cookie.
path(String) - Method in class org.osgl.http.H.Cookie
Specifies a path for the cookie to which the client should return the cookie.
path() - Method in class org.osgl.http.H.Request
Returns the path of the request.
path() - Method in class org.osgl.http.servlet.ServletCookie
 
path(String) - Method in class org.osgl.http.servlet.ServletCookie
 
path() - Method in class org.osgl.http.servlet.ServletRequest
 
Path - Enum in org.osgl.http.util
 
PAYLOAD_TOO_LARGE - Static variable in enum org.osgl.http.H.Status.Code
 
PAYLOAD_TOO_LARGE - Static variable in class org.osgl.http.H.Status
PAYMENT_REQUIRED - Static variable in enum org.osgl.http.H.Status.Code
 
PAYMENT_REQUIRED - Static variable in class org.osgl.http.H.Status
402 Payment Required.
PDF - Static variable in class org.osgl.http.H.Format.Ordinal
 
PDF - Static variable in class org.osgl.http.H.Format
The “application/pdf” content format
pdf - Static variable in class org.osgl.http.H.Format
Deprecated.
PERMANENT_REDIRECT - Static variable in enum org.osgl.http.H.Status.Code
 
PERMANENT_REDIRECT - Static variable in class org.osgl.http.H.Status
308 Permanent Redirect.
PNG - Static variable in class org.osgl.http.H.Format.Ordinal
 
PNG - Static variable in class org.osgl.http.H.Format
 
port() - Method in class org.osgl.http.H.Request
Returns the port of this request.
port() - Static method in class org.osgl.http.HttpConfig
 
PRAGMA - Static variable in class org.osgl.http.H.Header.Names
"Pragma"
PRECONDITION_FAILED - Static variable in enum org.osgl.http.H.Status.Code
 
PRECONDITION_FAILED - Static variable in class org.osgl.http.H.Status
412 Precondition failed.
PRECONDITION_REQUIRED - Static variable in enum org.osgl.http.H.Status.Code
 
PRECONDITION_REQUIRED - Static variable in class org.osgl.http.H.Status
428 Precondition Required.
predefined() - Static method in class org.osgl.http.H.Format
 
predefined() - Static method in class org.osgl.http.H.Status
 
prepareDownload(String) - Method in class org.osgl.http.H.Response
This method will prepare response header for file download.
printWriter() - Method in class org.osgl.http.H.Response
Returns a print writer to write to the response
PROCESSING - Static variable in enum org.osgl.http.H.Status.Code
 
PROCESSING - Static variable in class org.osgl.http.H.Status
102 Processing.
PROXY_AUTHENTICATE - Static variable in class org.osgl.http.H.Header.Names
"Proxy-Authenticate"
PROXY_AUTHENTICATION_REQUIRED - Static variable in enum org.osgl.http.H.Status.Code
 
PROXY_AUTHENTICATION_REQUIRED - Static variable in class org.osgl.http.H.Status
407 Proxy Authentication Required.
PROXY_AUTHORIZATION - Static variable in class org.osgl.http.H.Header.Names
"Proxy-Authorization"
PROXY_CLIENT_IP - Static variable in class org.osgl.http.H.Header.Names
"Proxy-Client-IP"
PROXY_CONNECTION - Static variable in class org.osgl.http.H.Header.Names
"Proxy-Connection"
put(String, String) - Method in class org.osgl.http.H.Flash
Add an attribute to the flash scope.
put(String, Object) - Method in class org.osgl.http.H.Flash
Add an attribute to the flash scope.
put(String, String) - Method in class org.osgl.http.H.KV
Associate a string value with the key specified.
put(String, Object) - Method in class org.osgl.http.H.KV
Associate an Object value’s String representation with the key specified.

Q

query() - Method in class org.osgl.http.H.Request
Returns query string or an empty String if the request doesn’t contains a query string
query() - Method in class org.osgl.http.servlet.ServletRequest
 

R

RANGE - Static variable in class org.osgl.http.H.Header.Names
"Range"
RANGE_NOT_SATISFIABLE - Static variable in enum org.osgl.http.H.Status.Code
 
RANGE_NOT_SATISFIABLE - Static variable in class org.osgl.http.H.Status
reader - Variable in class org.osgl.http.H.Request
 
reader() - Method in class org.osgl.http.H.Request
Returns body of the request as binary data using Reader
readerCreated() - Method in class org.osgl.http.H.Request
 
REFERER - Static variable in class org.osgl.http.H.Header.Names
"Referer"
referer() - Method in class org.osgl.http.H.Request
This method is an alias of H.Request.referer which follows the HTTP misspelling header name referer
referrer() - Method in class org.osgl.http.H.Request
Return the “referer(sic)” header value
registerTypeConverters() - Static method in class org.osgl.http.H
 
remove(String) - Method in class org.osgl.http.H.KV
Release an association with key specified
request() - Method in interface org.osgl.http.CurrentStateStore
Get current request.
request(H.Request) - Method in interface org.osgl.http.CurrentStateStore
Store request as current state.
Request() - Constructor for class org.osgl.http.H.Request
 
request() - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
request(H.Request) - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
REQUEST_ENTITY_TOO_LARGE - Static variable in class org.osgl.http.H.Status
413 Request Entity Too Large.
REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in enum org.osgl.http.H.Status.Code
 
REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class org.osgl.http.H.Status
431 Request Header Fields Too Large.
REQUEST_TIMEOUT - Static variable in enum org.osgl.http.H.Status.Code
 
REQUEST_TIMEOUT - Static variable in class org.osgl.http.H.Status
408 Request Timeout.
REQUEST_URI_TOO_LONG - Static variable in class org.osgl.http.H.Status
414 Request-URI Too Long.
REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class org.osgl.http.H.Status
416 Requested Range Not Satisfiable.
RESET_CONTENT - Static variable in enum org.osgl.http.H.Status.Code
 
RESET_CONTENT - Static variable in class org.osgl.http.H.Status
205 Reset Content.
resolve(H.Cookie) - Static method in class org.osgl.http.H.Flash
Resolve a Flash instance from a cookie.
resolve(H.Format, String) - Static method in class org.osgl.http.H.Format
 
resolve(Iterable<String>) - Static method in class org.osgl.http.H.Format
 
resolve(H.Format, Iterable<String>) - Static method in class org.osgl.http.H.Format
 
resolve(String...) - Static method in class org.osgl.http.H.Format
 
resolve(H.Format, String...) - Static method in class org.osgl.http.H.Format
 
resolve(String) - Static method in class org.osgl.http.H.Format
Resolve Format instance out of an http “Accept” header.
resolve(H.Cookie, int) - Static method in class org.osgl.http.H.Session
Resolve a Session instance from a session cookie
response() - Method in interface org.osgl.http.CurrentStateStore
Get current response.
response(H.Response) - Method in interface org.osgl.http.CurrentStateStore
Store response as current state.
Response() - Constructor for class org.osgl.http.H.Response
 
response() - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
response(H.Response) - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
RETRY_AFTER - Static variable in class org.osgl.http.H.Header.Names
"Retry-After"
RLNCLIENTIPADDR - Static variable in class org.osgl.http.H.Header.Names
the header used to put the real ip by load balancers like F5 "rlnclientipaddr"
RTF - Static variable in class org.osgl.http.H.Format.Ordinal
 
RTF - Static variable in class org.osgl.http.H.Format
The “application/rtf” content format
rtf - Static variable in class org.osgl.http.H.Format
Deprecated.

S

safe() - Method in enum org.osgl.http.H.Method
Returns if this http method is safe, meaning it won’t change the state of the server
scheme() - Method in class org.osgl.http.H.Request
Returns the scheme of the request, specifically one of the “http” and “https”
SEC_WEBSOCKET_ACCEPT - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Accept"
SEC_WEBSOCKET_KEY - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Key"
SEC_WEBSOCKET_KEY1 - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Key1"
SEC_WEBSOCKET_KEY2 - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Key2"
SEC_WEBSOCKET_LOCATION - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Location"
SEC_WEBSOCKET_ORIGIN - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Origin"
SEC_WEBSOCKET_PROTOCOL - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Protocol"
SEC_WEBSOCKET_VERSION - Static variable in class org.osgl.http.H.Header.Names
"Sec-Websocket-Version"
secure() - Method in class org.osgl.http.H.Cookie
Returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol.
secure(boolean) - Method in class org.osgl.http.H.Cookie
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
secure() - Method in class org.osgl.http.H.Request
Check if the request was made on a secure channel
secure - Static variable in class org.osgl.http.HttpConfig
 
secure(boolean) - Static method in class org.osgl.http.HttpConfig
 
secure() - Static method in class org.osgl.http.HttpConfig
 
secure() - Method in class org.osgl.http.servlet.ServletCookie
 
secure(boolean) - Method in class org.osgl.http.servlet.ServletCookie
 
secure() - Method in class org.osgl.http.servlet.ServletRequest
 
securePort - Static variable in class org.osgl.http.HttpConfig
 
securePort(int) - Static method in class org.osgl.http.HttpConfig
 
securePort() - Static method in class org.osgl.http.HttpConfig
 
SEE_OTHER - Static variable in enum org.osgl.http.H.Status.Code
 
SEE_OTHER - Static variable in class org.osgl.http.H.Status
303 See Other.
sendError(int, String) - Method in class org.osgl.http.H.Response
Sends an error response to the client using the specified status.
sendError(int, String, Object...) - Method in class org.osgl.http.H.Response
Sames as H.Response.sendError(int, String) but accept message format arguments
sendError(int) - Method in class org.osgl.http.H.Response
Sends an error response to the client using the specified status code and clearing the buffer.
sendError(int, String) - Method in class org.osgl.http.servlet.ServletResponse
 
sendError(int) - Method in class org.osgl.http.servlet.ServletResponse
 
sendRedirect(String) - Method in class org.osgl.http.H.Response
Sends a temporary redirect response to the client using the specified redirect location URL.
sendRedirect(String) - Method in class org.osgl.http.servlet.ServletResponse
 
serialize(String) - Method in class org.osgl.http.H.Flash
Serialize this Flash instance into a Cookie.
serialize(String) - Method in class org.osgl.http.H.Session
Serialize this session into a cookie.
SERVER - Static variable in class org.osgl.http.H.Header.Names
"Server"
SERVICE_UNAVAILABLE - Static variable in enum org.osgl.http.H.Status.Code
 
SERVICE_UNAVAILABLE - Static variable in class org.osgl.http.H.Status
503 Service Unavailable.
ServletCookie - Class in org.osgl.http.servlet
Adapt Cookie to H.Cookie
ServletCookie(Cookie) - Constructor for class org.osgl.http.servlet.ServletCookie
 
ServletRequest - Class in org.osgl.http.servlet
 
ServletRequest(HttpServletRequest) - Constructor for class org.osgl.http.servlet.ServletRequest
 
ServletResponse - Class in org.osgl.http.servlet
 
ServletResponse(HttpServletResponse) - Constructor for class org.osgl.http.servlet.ServletResponse
 
session() - Method in interface org.osgl.http.CurrentStateStore
Get current session.
session(H.Session) - Method in interface org.osgl.http.CurrentStateStore
Store session as current state.
Session() - Constructor for class org.osgl.http.H.Session
 
session() - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
session(H.Session) - Method in class org.osgl.http.util.DefaultCurrentStateStore
 
sessionCache() - Static method in class org.osgl.http.HttpConfig
 
SET_COOKIE - Static variable in class org.osgl.http.H.Header.Names
"Set-Cookie"
SET_COOKIE2 - Static variable in class org.osgl.http.H.Header.Names
"Set-Cookie2"
setCookieHttpOnly(boolean) - Static method in class org.osgl.http.HttpConfig
 
setCookieSecure(boolean) - Static method in class org.osgl.http.HttpConfig
Configure cookie secure
setCurrentStateStore(CurrentStateStore) - Static method in class org.osgl.http.HttpConfig
 
setExtensiveRemoteAddrResolving(boolean) - Static method in class org.osgl.http.HttpConfig
 
setSessionCache(CacheService) - Static method in class org.osgl.http.HttpConfig
 
setXForwardedAllowed(String) - Static method in class org.osgl.http.HttpConfig
Set allowed proxy ips for x-forwarded headers
size() - Method in class org.osgl.http.H.KV
Returns the number of assoications stored in the internal map
status(int) - Method in class org.osgl.http.H.Response
Sets the status code for this response.
status(H.Status) - Method in class org.osgl.http.H.Response
Sets the status for this response.
status(int) - Static method in class org.osgl.http.H
 
status(int) - Method in class org.osgl.http.servlet.ServletResponse
 
statusCode() - Method in class org.osgl.http.H.Response
Get the status code of this response.
statusCode() - Method in class org.osgl.http.servlet.ServletResponse
 
success(String) - Method in class org.osgl.http.H.Flash
Add a “success” message to the flash scope
success(String, Object...) - Method in class org.osgl.http.H.Flash
Add a “success” message to the flash scope, with optional format arguments
success() - Method in class org.osgl.http.H.Flash
Get the “success” message that has been added to the flash scope.
SVG - Static variable in class org.osgl.http.H.Format.Ordinal
 
SVG - Static variable in class org.osgl.http.H.Format
 
SWITCH_PROXY - Static variable in enum org.osgl.http.H.Status.Code
 
SWITCH_PROXY - Static variable in class org.osgl.http.H.Status
306 Switch Proxy
SWITCHING_PROTOCOLS - Static variable in enum org.osgl.http.H.Status.Code
 
SWITCHING_PROTOCOLS - Static variable in class org.osgl.http.H.Status
101 Switching Protocols.

T

TE - Static variable in class org.osgl.http.H.Header.Names
"TE"
TEMPORARY_REDIRECT - Static variable in enum org.osgl.http.H.Status.Code
 
TEMPORARY_REDIRECT - Static variable in class org.osgl.http.H.Status
307 Temporary Redirect.
TIF - Static variable in class org.osgl.http.H.Format.Ordinal
 
TIF - Static variable in class org.osgl.http.H.Format
 
toContentType() - Method in class org.osgl.http.H.Format
Deprecated.
toContentType(String) - Static method in class org.osgl.http.H.Format
 
tokenize(char[]) - Static method in enum org.osgl.http.util.Path
 
tokenize(char[], int) - Static method in enum org.osgl.http.util.Path
 
tokenize(char[], int, char, char) - Static method in enum org.osgl.http.util.Path
 
tokenizer(char[]) - Static method in enum org.osgl.http.util.Path
 
tokenizer(char[], int) - Static method in enum org.osgl.http.util.Path
 
tokenizer(char[], int, char, char) - Static method in enum org.osgl.http.util.Path
 
TOO_MANY_REQUESTS - Static variable in enum org.osgl.http.H.Status.Code
 
TOO_MANY_REQUESTS - Static variable in class org.osgl.http.H.Status
429 Too Many Requests.
toString() - Method in class org.osgl.http.H.Format
 
toString() - Method in class org.osgl.http.H.Header
 
toString() - Method in class org.osgl.http.H.KV
 
toString() - Method in enum org.osgl.http.H.MediaType
 
toString() - Method in class org.osgl.http.H.Status
Return a string representation of this status code.
TRAILER - Static variable in class org.osgl.http.H.Header.Names
"Trailer"
TRANSFER_ENCODING - Static variable in class org.osgl.http.H.Header.Names
"Transfer-Encoding"
TXT - Static variable in class org.osgl.http.H.Format.Ordinal
 
TXT - Static variable in class org.osgl.http.H.Format
The “text/plain” content format
txt - Static variable in class org.osgl.http.H.Format
Deprecated.

U

UNAUTHORIZED - Static variable in enum org.osgl.http.H.Status.Code
 
UNAUTHORIZED - Static variable in class org.osgl.http.H.Status
401 Unauthorized.
UNAVAILABLE_FOR_LEGAL_REASON - Static variable in enum org.osgl.http.H.Status.Code
Deprecated.
UNAVAILABLE_FOR_LEGAL_REASON - Static variable in class org.osgl.http.H.Status
Deprecated.
UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in enum org.osgl.http.H.Status.Code
 
UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in class org.osgl.http.H.Status
451 Unavailable for legal reasons
UNKNOWN - Static variable in class org.osgl.http.H.Format
The “unknown” content format.
unknown - Static variable in class org.osgl.http.H.Format
Deprecated.
UNPROCESSABLE_ENTITY - Static variable in enum org.osgl.http.H.Status.Code
 
UNPROCESSABLE_ENTITY - Static variable in class org.osgl.http.H.Status
422 Unprocessable Entity.
unsafe() - Method in enum org.osgl.http.H.Method
Returns if this http method is unsafe, meaning it will change the state of the server
UNSUPPORTED_MEDIA_TYPE - Static variable in enum org.osgl.http.H.Status.Code
 
UNSUPPORTED_MEDIA_TYPE - Static variable in class org.osgl.http.H.Status
415 Unsupported Media Type.
UPGRADE - Static variable in class org.osgl.http.H.Header.Names
"Upgrade"
UPGRADE_REQUIRED - Static variable in enum org.osgl.http.H.Status.Code
 
UPGRADE_REQUIRED - Static variable in class org.osgl.http.H.Status
426 Upgrade Required.
URI_TOO_LONG - Static variable in enum org.osgl.http.H.Status.Code
 
URI_TOO_LONG - Static variable in class org.osgl.http.H.Status
url() - Method in class org.osgl.http.H.Request
url(String) - Static method in enum org.osgl.http.util.Path
Returns a normalized url for a path.
url(String, H.Request) - Static method in enum org.osgl.http.util.Path
Returns normalized form of URL path.
USE_PROXY - Static variable in enum org.osgl.http.H.Status.Code
 
USE_PROXY - Static variable in class org.osgl.http.H.Status
305 Use Proxy.
user() - Method in class org.osgl.http.H.Request
The Http Basic user
USER_AGENT - Static variable in class org.osgl.http.H.Header.Names
"User-Agent"
userAgent() - Method in class org.osgl.http.H.Request
 
userAgentStr() - Method in class org.osgl.http.H.Request
Returns useragent string of this request

V

value() - Method in class org.osgl.http.H.Cookie
Returns the value of the cookie
value(String) - Method in class org.osgl.http.H.Cookie
Set a value to a cookie and the return this cookie
value() - Method in class org.osgl.http.H.Header
 
value() - Method in class org.osgl.http.servlet.ServletCookie
 
value(String) - Method in class org.osgl.http.servlet.ServletCookie
 
valueOf(String) - Static method in enum org.osgl.http.H.Cookie.F
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class org.osgl.http.H.Format
 
valueOf(String, String) - Static method in class org.osgl.http.H.Format
 
valueOf(String) - Static method in enum org.osgl.http.H.MediaType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.http.H.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.osgl.http.H.Status.Code
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in class org.osgl.http.H.Status
 
valueOf(String) - Static method in enum org.osgl.http.util.Path
Returns the enum constant of this type with the specified name.
valueOfIgnoreCase(String) - Static method in enum org.osgl.http.H.Method
Returns an HTTP Method enum corresponding to the method string.
values() - Static method in enum org.osgl.http.H.Cookie.F
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in class org.osgl.http.H.Format
Deprecated.
values() - Method in class org.osgl.http.H.Header
 
values() - Static method in enum org.osgl.http.H.MediaType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.http.H.Method
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.http.H.Status.Code
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.osgl.http.util.Path
Returns an array containing the constants of this enum type, in the order they are declared.
VARIANT_ALSO_NEGOTIATES - Static variable in enum org.osgl.http.H.Status.Code
 
VARIANT_ALSO_NEGOTIATES - Static variable in class org.osgl.http.H.Status
506 Variant Also Negotiates
VARY - Static variable in class org.osgl.http.H.Header.Names
"Vary"
version() - Method in class org.osgl.http.H.Cookie
Returns the version of the protocol this cookie complies with.
version(int) - Method in class org.osgl.http.H.Cookie
Sets the version of the cookie protocol that this Cookie complies with.
VERSION - Static variable in class org.osgl.http.H
 
VIA - Static variable in class org.osgl.http.H.Header.Names
"Via"

W

WARNING - Static variable in class org.osgl.http.H.Header.Names
"Warning"
WAV - Static variable in class org.osgl.http.H.Format.Ordinal
 
WAV - Static variable in class org.osgl.http.H.Format
 
WEBM - Static variable in class org.osgl.http.H.Format
 
WEBSOCKET_LOCATION - Static variable in class org.osgl.http.H.Header.Names
"WebSocket-Location"
WEBSOCKET_ORIGIN - Static variable in class org.osgl.http.H.Header.Names
"WebSocket-Origin"
WEBSOCKET_PROTOCOL - Static variable in class org.osgl.http.H.Header.Names
"WebSocket-Protocol"
WL_PROXY_CLIENT_IP - Static variable in class org.osgl.http.H.Header.Names
"WL-Proxy-Client-IP"
writeBinary(ISObject) - Method in class org.osgl.http.H.Response
 
writeContent(String) - Method in class org.osgl.http.H.Response
Write a string to the response
writeContent(ByteBuffer) - Method in class org.osgl.http.H.Response
 
writeContent(ByteBuffer) - Method in class org.osgl.http.servlet.ServletResponse
This method is not supported in ServletResponse
writeHtml(String) - Method in class org.osgl.http.H.Response
Write content to the response
writeJSON(String) - Method in class org.osgl.http.H.Response
Write content to the response
writer - Variable in class org.osgl.http.H.Response
 
writer() - Method in class org.osgl.http.H.Response
Returns the writer to write to the response
writerCreated() - Method in class org.osgl.http.H.Response
 
writeText(String) - Method in class org.osgl.http.H.Response
Write content to the response
WWW_AUTHENTICATE - Static variable in class org.osgl.http.H.Header.Names
"WWW-Authenticate"

X

X_FORWARDED_FOR - Static variable in class org.osgl.http.H.Header.Names
"X_Forwared_For"
X_FORWARDED_HOST - Static variable in class org.osgl.http.H.Header.Names
"X-Forwarded-Host"
X_FORWARDED_PROTO - Static variable in class org.osgl.http.H.Header.Names
"X_Forwared_Proto"
X_FORWARDED_SSL - Static variable in class org.osgl.http.H.Header.Names
"X-Forwarded-Ssl"
X_HTTP_METHOD_OVERRIDE - Static variable in class org.osgl.http.H.Header.Names
"X-Http-Method-Override"
X_REQUESTED_WITH - Static variable in class org.osgl.http.H.Header.Names
"X_Requested_With"
X_URL_SCHEME - Static variable in class org.osgl.http.H.Header.Names
"X-Url-Scheme"
X_XSRF_TOKEN - Static variable in class org.osgl.http.H.Header.Names
"X-Xsrf-Token"
XLS - Static variable in class org.osgl.http.H.Format.Ordinal
 
XLS - Static variable in class org.osgl.http.H.Format
The “application/vnd.ms-excel” content format
xls - Static variable in class org.osgl.http.H.Format
Deprecated.
XLSX - Static variable in class org.osgl.http.H.Format.Ordinal
 
XLSX - Static variable in class org.osgl.http.H.Format
The “application/vnd.openxmlformats-officedocument.spreadsheetml.sheet” content format
xlsx - Static variable in class org.osgl.http.H.Format
Deprecated.
XML - Static variable in class org.osgl.http.H.Format.Ordinal
 
XML - Static variable in class org.osgl.http.H.Format
The “text/xml” content format
xml - Static variable in class org.osgl.http.H.Format
Deprecated.

_

_impl() - Method in class org.osgl.http.H.Request
Returns the class of the implementation.
_impl() - Method in class org.osgl.http.H.Response
Returns the class of the implementation.
_impl() - Method in class org.osgl.http.servlet.ServletRequest
 
_impl() - Method in class org.osgl.http.servlet.ServletResponse
 
_initCookieMap() - Method in class org.osgl.http.H.Request
 
_initCookieMap() - Method in class org.osgl.http.servlet.ServletRequest
 
_ip() - Method in class org.osgl.http.H.Request
Returns remote ip address.
_ip() - Method in class org.osgl.http.servlet.ServletRequest
 
_setContentType(String) - Method in class org.osgl.http.H.Response
Sub class to overwrite this method to set content type to the response
_setContentType(String) - Method in class org.osgl.http.servlet.ServletResponse
 
_setCookie(String, H.Cookie) - Method in class org.osgl.http.H.Request
 
_setLocale(Locale) - Method in class org.osgl.http.H.Response
Sets the locale of the response, setting the headers (including the Content-Type’s charset) as appropriate.
_setLocale(Locale) - Method in class org.osgl.http.servlet.ServletResponse
 
A B C D E F G H I J K L M N O P Q R S T U V W X _ 
Skip navigation links

Copyright © 2017–2018 OSGL (Open Source General Library). All rights reserved.