A B C D E F G H I L M N O P R S T V W

A

activateSecuredMode() - Method in interface org.xlightweb.IHttpConnection
ad hoc activation of a secured mode (SSL).
addCompleteListener(IBodyCompleteListener) - Method in class org.xlightweb.NonBlockingBodyDataSource
adds a complete listener
addConnectionHandler(IHttpConnectionHandler) - Method in interface org.xlightweb.IHttpConnection
adds a connection handler
addConnectionHandler(IHttpConnectionHandler) - Method in class org.xlightweb.server.HttpProtocolAdapter
adds a connection handler
addConnectionHandler(IHttpConnectionHandler) - Method in class org.xlightweb.server.HttpServer
adds a connection handler
addDestroyListener(IBodyDestroyListener) - Method in class org.xlightweb.BodyDataSink
add a destroy listener
addDestroyListener(IBodyDestroyListener) - Method in class org.xlightweb.NonBlockingBodyDataSource
add a destroy listener
addFirst(IHttpRequestHandler) - Method in class org.xlightweb.RequestHandlerChain
add a handler to the top of the chain
addHandler(IHttpRequestHandler) - Method in class org.xlightweb.Context
adds an annotated handler to the current context
addHandler(String, IHttpRequestHandler) - Method in class org.xlightweb.Context
adds a handler to the current context
addHeader(String, String) - Method in class org.xlightweb.Header
Adds a header with the given name and value.
addHeader(String, String) - Method in interface org.xlightweb.IHeader
Adds a header with the given name and value.
addHeader(String, String) - Method in class org.xlightweb.Part
Adds a header with the given name and value.
addHeaderLine(String) - Method in class org.xlightweb.Header
adds a header line
addHeaderLine(String) - Method in interface org.xlightweb.IHeader
adds a raw header line
addHeaderLine(String) - Method in class org.xlightweb.Part
adds a raw header line
addHeaderlines(String...) - Method in class org.xlightweb.Header
adds raw header lines
addHeaderlines(String...) - Method in interface org.xlightweb.IHeader
adds raw header lines
addHeaderlines(String...) - Method in class org.xlightweb.Part
adds raw header lines
addInterceptor(IHttpRequestHandler) - Method in class org.xlightweb.client.HttpClient
adds an interceptor.
addLast(IHttpRequestHandler) - Method in class org.xlightweb.RequestHandlerChain
add a handler to the end of the chain
addListener(ILifeCycle) - Method in class org.xlightweb.client.HttpClient
addMatrixParameter(String, String) - Method in class org.xlightweb.HttpRequest
adds a matrix parameter
addMatrixParameter(String, String) - Method in class org.xlightweb.HttpRequestHeader
adds a matrix parameter
addMatrixParameter(String, String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
adds a matrix parameter
addMatrixParameter(String, String) - Method in interface org.xlightweb.IHttpRequest
adds a matrix parameter
addMatrixParameter(String, String) - Method in interface org.xlightweb.IHttpRequestHeader
adds a matrix parameter
addParameter(String, String) - Method in class org.xlightweb.HttpRequest
adds a parameter
addParameter(String, String) - Method in class org.xlightweb.HttpRequestHeader
adds a parameter
addParameter(String, String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
adds a parameter
addParameter(String, String) - Method in interface org.xlightweb.IHttpRequest
adds a parameter
addParameter(String, String) - Method in interface org.xlightweb.IHttpRequestHeader
adds a parameter
addPart(String, String, String) - Method in class org.xlightweb.MultipartFormDataRequest
adds a part
addPart(String, File) - Method in class org.xlightweb.MultipartFormDataRequest
adds a part
addPart(IPart) - Method in class org.xlightweb.MultipartRequest
add a part
available() - Method in class org.xlightweb.NonBlockingBodyDataSource
returns the available bytes
availableSilence(NonBlockingBodyDataSource) - Static method in class org.xlightweb.client.HttpClientConnection
 

B

BadMessageException - Exception in org.xlightweb
Checked exception thrown when a if a bad message occurs
BadMessageException(String) - Constructor for exception org.xlightweb.BadMessageException
constructor
BadMessageException(int) - Constructor for exception org.xlightweb.BadMessageException
constructor
BadMessageException(int, String) - Constructor for exception org.xlightweb.BadMessageException
constructor
BlockingBodyDataSource - Class in org.xlightweb
Deprecated. use BodyDataSource instead
BodyDataSink - Class in org.xlightweb
I/O resource capable of sending the body data.
BodyDataSource - Class in org.xlightweb
I/O resource capable of providing body data in a blocking way.
BodyForwarder - Class in org.xlightweb
Implementation base of a body forwarder.
BodyForwarder(NonBlockingBodyDataSource, BodyDataSink) - Constructor for class org.xlightweb.BodyForwarder
constructor

C

CacheHandler - Class in org.xlightweb
Cache handler Example: RequestHandlerChain chain = new RequestHandlerChain(); chain.addLast(new CacheHandler(500)); // add a cache handler with max size 500 KB chain.addLast(new FileServiceRequestHandler(basepath)); HttpServer server = new HttpServer(chain); //...
CacheHandler(int) - Constructor for class org.xlightweb.CacheHandler
constructor
call(IHttpRequest) - Method in class org.xlightweb.client.HttpClient
performs a request.
call(IHttpRequest) - Method in class org.xlightweb.client.HttpClientConnection
performs a request.
call(IHttpRequest) - Method in interface org.xlightweb.client.IHttpClientEndpoint
performs a request.
callCloseListener() - Method in class org.xlightweb.NonBlockingBodyDataSource
 
callDestroyListener() - Method in class org.xlightweb.NonBlockingBodyDataSource
 
cancel(boolean) - Method in class org.xlightweb.FutureResponseHandler
Attempts to cancel execution of receiving the response.
cancel(boolean) - Method in interface org.xlightweb.IFutureResponse
Attempts to cancel execution of receiving the response.
clear() - Method in class org.xlightweb.RequestHandlerChain
removes all handler
clearCaches() - Static method in class org.xlightweb.HttpUtils
clears the internal caches

This is a xSocket internal method and subject to change
clone() - Method in class org.xlightweb.Context
clone() - Method in class org.xlightweb.Header
clone() - Method in class org.xlightweb.HttpRequestHeader
clone() - Method in class org.xlightweb.HttpResponseHeader
close() - Method in class org.xlightweb.BodyDataSink
close() - Method in class org.xlightweb.BodyDataSource
close() - Method in class org.xlightweb.client.HttpClient
close() - Method in class org.xlightweb.client.HttpClientConnection
close() - Method in class org.xlightweb.NonBlockingBodyDataSource
closes the body data source
close() - Method in class org.xlightweb.server.SessionManager
closeQuitly() - Method in class org.xlightweb.BodyDataSink
closes this connection by swallowing io exceptions
closeQuitly() - Method in interface org.xlightweb.IHttpConnection
closes this connection by swallowing io exceptions
closeQuitly() - Method in class org.xlightweb.NonBlockingBodyDataSource
closes this connection by swallowing io exceptions
compress(BlockingBodyDataSource) - Static method in class org.xlightweb.HttpUtils
Deprecated.  
compress(BodyDataSource) - Static method in class org.xlightweb.HttpUtils
compresses a body (using the GZIP compression)
compress(byte[]) - Static method in class org.xlightweb.HttpUtils
compresses a byte array (using the GZIP compression)
computeRFC2104HMAC(byte[], byte[]) - Static method in class org.xlightweb.HttpUtils
computes a HMAC-SHA1 Signature
CONNECT_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
CONNECTION - Static variable in annotation type org.xlightweb.SynchronizedOn
 
containsHeader(String) - Method in class org.xlightweb.Header
Returns a boolean indicating whether the named header has already been set.
containsHeader(String) - Method in class org.xlightweb.HttpRequestHeader
Returns a boolean indicating whether the named header has already been set.
containsHeader(String) - Method in class org.xlightweb.HttpResponseHeader
Returns a boolean indicating whether the named header has already been set.
containsHeader(String) - Method in interface org.xlightweb.IHeader
Returns a boolean indicating whether the named header has already been set.
containsHeader(String) - Method in class org.xlightweb.Part
Returns a boolean indicating whether the named header has already been set.
ContentType - Class in org.xlightweb
This class represents a content type
ContentType(String) - Constructor for class org.xlightweb.ContentType
Constructor that takes a Content-Type string.
ContentType(String, String) - Constructor for class org.xlightweb.ContentType
Constructor that takes the primary type and the sub type
ContentType(String, String, String, String) - Constructor for class org.xlightweb.ContentType
Constructor that takes the primary type, the sub type and parameter
Context - Class in org.xlightweb
By using the Context specific request handlers can be assigned via a url-pattern to a set of URLs (Routing).
Context(String) - Constructor for class org.xlightweb.Context
constructor
Context(String, Map<String, IHttpRequestHandler>) - Constructor for class org.xlightweb.Context
constructor
Context(Context, String) - Constructor for class org.xlightweb.Context
constructor
copy() - Method in class org.xlightweb.HttpRequestHeader
creates a copy of this header
copy() - Method in class org.xlightweb.HttpRequestHeaderWrapper
creates a copy of this header
copy() - Method in class org.xlightweb.HttpResponseHeader
creates a copy of this header
copy(IHttpRequest) - Static method in class org.xlightweb.HttpUtils
Copies a request.
copy(IHttpResponse) - Static method in class org.xlightweb.HttpUtils
Copies a response.
copy() - Method in interface org.xlightweb.IHttpMessageHeader
creates a copy of this header
copy() - Method in interface org.xlightweb.IHttpRequestHeader
creates a copy of this header
copy() - Method in interface org.xlightweb.IHttpResponseHeader
creates a copy of this header
copyHeaderFrom(IHttpMessageHeader, String...) - Method in class org.xlightweb.HttpRequestHeaderWrapper
copy the headers
copyHeaderFrom(HttpResponseHeader, String...) - Method in class org.xlightweb.HttpResponseHeader
copyHeaderFrom(IHttpMessageHeader, String...) - Method in interface org.xlightweb.IHttpMessageHeader
copy the headers

D

decodeBase64(byte[]) - Static method in class org.xlightweb.HttpUtils
decodes the given byte array
decompress(BlockingBodyDataSource) - Static method in class org.xlightweb.HttpUtils
Deprecated.  
decompress(BodyDataSource) - Static method in class org.xlightweb.HttpUtils
decompresses a body (using the GZIP decompression)
decompress(byte[]) - Static method in class org.xlightweb.HttpUtils
decompresses a byte array (using the GZIP decompression)
DEFAULT_AUTOHANDLE_100CONTINUE_RESPONSE - Static variable in interface org.xlightweb.client.IHttpClientEndpoint
 
DEFAULT_AUTOHANDLE_CONNECTION_UPGRADE_HEADER - Static variable in class org.xlightweb.server.HttpServerConnection
 
DEFAULT_AUTOHANDLING_COOKIES - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_CACHE_SIZE - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in interface org.xlightweb.IHttpConnection
 
DEFAULT_CREATION_MAX_WAIT_TIMEOUT - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_DATA_RESPONSE_TIMEOUT_MILLIS - Static variable in interface org.xlightweb.IHttpConnection
 
DEFAULT_ENCODING - Static variable in interface org.xlightweb.IHttpMessage
 
DEFAULT_ENCODING - Static variable in interface org.xlightweb.IHttpMessageHeader
 
DEFAULT_ENCODING_KEY - Static variable in interface org.xlightweb.IHttpMessage
 
DEFAULT_EXECUTION_MODE - Static variable in interface org.xlightweb.IBodyCompleteListener
 
DEFAULT_EXECUTION_MODE - Static variable in interface org.xlightweb.IBodyDataHandler
 
DEFAULT_EXECUTION_MODE - Static variable in interface org.xlightweb.IHttpRequestHandler
 
DEFAULT_EXECUTION_MODE - Static variable in interface org.xlightweb.IHttpRequestTimeoutHandler
 
DEFAULT_EXECUTION_MODE - Static variable in interface org.xlightweb.IHttpResponseHandler
 
DEFAULT_EXECUTION_MODE - Static variable in interface org.xlightweb.IPartHandler
 
DEFAULT_FOLLOWS_REDIRECT - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_INVOKE_ON_MODE - Static variable in interface org.xlightweb.IHttpRequestHandler
 
DEFAULT_INVOKE_ON_MODE - Static variable in interface org.xlightweb.IHttpResponseHandler
 
DEFAULT_INVOKE_ON_MODE - Static variable in interface org.xlightweb.IPartHandler
 
DEFAULT_MAX_REDIRECTS - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_MAX_RETRIES - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_POOLED_IDLE_TIMEOUT_MILLIS - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_POOLED_LIFE_TIMEOUT_MILLIS - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_PROXY_ACTIVATED - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_RECEIVE_TIMEOUT - Static variable in class org.xlightweb.BodyDataSource
 
DEFAULT_RECEIVE_TIMEOUT_MILLIS - Static variable in class org.xlightweb.server.HttpServerConnection
 
DEFAULT_REMOVE_REQUEST_CONNECTION_HEADER - Static variable in class org.xlightweb.server.HttpServerConnection
 
DEFAULT_RESPONSE_TIMEOUT_MILLIS - Static variable in interface org.xlightweb.IHttpConnection
 
DEFAULT_RESPONSE_TIMEOUT_SEC - Static variable in class org.xlightweb.client.HttpClient
 
DEFAULT_SESSION_MANAGEMENT - Static variable in class org.xlightweb.server.HttpServerConnection
 
DEFAULT_SYNCHRONIZED_ON_MODE - Static variable in interface org.xlightweb.IHttpRequestHandler
 
DEFAULT_TREAT_302_REDIRECT_AS_303 - Static variable in class org.xlightweb.client.HttpClient
 
DELETE_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
DeleteRequest - Class in org.xlightweb
a DELETE request
DeleteRequest(String) - Constructor for class org.xlightweb.DeleteRequest
constructor
destroy() - Method in class org.xlightweb.BodyDataSink
destroys this data sink
destroy() - Method in interface org.xlightweb.IHttpConnection
closes the connection in a unlean way
destroy() - Method in interface org.xlightweb.IHttpExchange
destroy the exchange and the underlying connection
destroy() - Method in class org.xlightweb.NonBlockingBodyDataSource
destroys the data source
DetailedClosedChannelException - Exception in org.xlightweb
Checked exception thrown when a channel is closed
DetailedClosedChannelException(String) - Constructor for exception org.xlightweb.DetailedClosedChannelException
constructor
doDelete(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back which will be called, if a DELETE request is received This method does not need to be either safe or idempotent.
doGet(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back which will be called, if a GET request is received Overriding this method to support a GET request also automatically supports an HTTP HEAD request.
doHead(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back which will be called, if a HEAD request is received The client sends a HEAD request when it wants to see only the headers of a response, such as Content-Type or Content-Length.
doOptions(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back which will be called, if a OPTIONS request is received
doPost(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back which will be called, if a POST request is received This method does not need to be either safe or idempotent.
doPut(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back which will be called, if a PUT request is received This method does not need to be either safe or idempotent.
doTrace(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back which will be called, if a TRACE request is received

E

encodeBase64(byte[]) - Static method in class org.xlightweb.HttpUtils
encodes the given byte array
encodeURL(String) - Method in interface org.xlightweb.IHttpExchange
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
equals(Object) - Method in class org.xlightweb.ContentType
 
establishTcpTunnel(IHttpConnection, String) - Static method in class org.xlightweb.HttpUtils
establishs a tcp tunnel
establishTcpTunnel(IHttpConnection, String, int) - Static method in class org.xlightweb.HttpUtils
establishs a tcp tunnel

F

FileServiceRequestHandler - Class in org.xlightweb
Handler implementation to handle file requests.
FileServiceRequestHandler(String) - Constructor for class org.xlightweb.FileServiceRequestHandler
constructor
FileServiceRequestHandler(String, Integer) - Constructor for class org.xlightweb.FileServiceRequestHandler
constructor
FileServiceRequestHandler(String, boolean) - Constructor for class org.xlightweb.FileServiceRequestHandler
constructor
FileServiceRequestHandler(String, Integer, boolean) - Constructor for class org.xlightweb.FileServiceRequestHandler
constructor
flush() - Method in class org.xlightweb.BodyDataSink
FormURLEncodedBody - Class in org.xlightweb
form-urlencoded body
FormURLEncodedBody(NameValuePair) - Constructor for class org.xlightweb.FormURLEncodedBody
constructor
FormURLEncodedBody(String) - Constructor for class org.xlightweb.FormURLEncodedBody
constructor
FormURLEncodedBody(NameValuePair...) - Constructor for class org.xlightweb.FormURLEncodedBody
constructor
FormURLEncodedBody(String, NameValuePair...) - Constructor for class org.xlightweb.FormURLEncodedBody
constructor
FormURLEncodedBody(String, String...) - Constructor for class org.xlightweb.FormURLEncodedBody
constructor
FormURLEncodedBody(BodyDataSource) - Constructor for class org.xlightweb.FormURLEncodedBody
construcotr
FormURLEncodedRequest - Class in org.xlightweb
A Form Url Encoding request.
FormURLEncodedRequest(String) - Constructor for class org.xlightweb.FormURLEncodedRequest
constructor
forward(NonBlockingBodyDataSource, BodyDataSink) - Static method in class org.xlightweb.client.HttpClientConnection
 
forward(IHttpRequestHeader, IHttpResponseHandler) - Method in interface org.xlightweb.IHttpExchange
forwards the a request.
forward(IHttpRequestHeader) - Method in interface org.xlightweb.IHttpExchange
forwards the a request.
forward(IHttpRequestHeader, int, IHttpResponseHandler) - Method in interface org.xlightweb.IHttpExchange
forwards a request.
forward(IHttpRequestHeader, int) - Method in interface org.xlightweb.IHttpExchange
forwards a request.
forward(IHttpRequest) - Method in interface org.xlightweb.IHttpExchange
forwards a request locally.
forward(IHttpRequest, IHttpResponseHandler) - Method in interface org.xlightweb.IHttpExchange
forwards a request.
FutureResponseHandler - Class in org.xlightweb
A response handler implementation which supports a future behavior.
FutureResponseHandler() - Constructor for class org.xlightweb.FutureResponseHandler
 

G

generateErrorMessageHtml(int, String, String) - Static method in class org.xlightweb.client.HttpClientConnection
generates a error page
get() - Method in class org.xlightweb.FutureResponseHandler
blocking call to retrieve the response.
get(long, TimeUnit) - Method in class org.xlightweb.FutureResponseHandler
blocking call to retrieve the response.
get() - Method in interface org.xlightweb.IFutureResponse
blocking call to retrieve the response.
get(long, TimeUnit) - Method in interface org.xlightweb.IFutureResponse
blocking call to retrieve the response.
GET_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
getAccept() - Method in class org.xlightweb.Header
getAccept() - Method in class org.xlightweb.HttpRequest
returns the list of the accepted content types, ordered by the quality factory
getAccept() - Method in class org.xlightweb.HttpRequestHeaderWrapper
returns the list of the accepted content types, ordered by the quality factory
getAccept() - Method in interface org.xlightweb.IHttpRequest
returns the list of the accepted content types, ordered by the quality factory
getAccept() - Method in interface org.xlightweb.IHttpRequestHeader
returns the list of the accepted content types, ordered by the quality factory
getActiveConnectionInfos() - Method in class org.xlightweb.client.HttpClient
getAttachment() - Method in class org.xlightweb.BodyDataSink
Retrieves the current attachment.
getAttribute(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttribute(String) - Method in interface org.xlightweb.IHttpMessage
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttribute(String) - Method in interface org.xlightweb.IHttpMessageHeader
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttribute(String) - Method in interface org.xlightweb.IHttpSession
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
getAttribute(String) - Method in class org.xlightweb.server.HttpSession
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
getAttributeNames() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns an Enumeration containing the names of the attributes available to this message.
getAttributeNames() - Method in interface org.xlightweb.IHttpMessage
Returns an Enumeration containing the names of the attributes available to this message.
getAttributeNames() - Method in interface org.xlightweb.IHttpMessageHeader
Returns an Enumeration containing the names of the attributes available to this message.
getAttributeNames() - Method in interface org.xlightweb.IHttpSession
Returns an Enumeration of String objects containing the names of all the objects bound to this session.
getAttributeNames() - Method in class org.xlightweb.server.HttpSession
Returns an Enumeration of String objects containing the names of all the objects bound to this session.
getAttributeNameSet() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns an Set containing the names of the attributes available to this messaget.
getAttributeNameSet() - Method in interface org.xlightweb.IHttpMessage
Returns an Set containing the names of the attributes available to this messaget.
getAttributeNameSet() - Method in interface org.xlightweb.IHttpMessageHeader
Returns an Set containing the names of the attributes available to this messaget.
getAttributeNameSet() - Method in interface org.xlightweb.IHttpSession
Returns an Set of String objects containing the names of all the objects bound to this session.
getAttributeNameSet() - Method in class org.xlightweb.server.HttpSession
Returns an Set of String objects containing the names of all the objects bound to this session.
getAutoCompressThresholdBytes() - Method in class org.xlightweb.server.HttpProtocolAdapter
gets the autocompress threshold of responses
getAutoCompressThresholdBytes() - Method in class org.xlightweb.server.HttpServer
gets the autocompress threshold of responses
getAutoCompressThresholdBytes() - Method in interface org.xlightweb.server.IHttpServer
gets the autocompress threshold of responses
getBlockingBody() - Method in class org.xlightweb.HttpRequestWrapper
getBlockingBody() - Method in interface org.xlightweb.IPart
Deprecated. use IPart.getBody() instead
getBlockingBody() - Method in class org.xlightweb.Part
getBody() - Method in class org.xlightweb.HttpRequestWrapper
 
getBody() - Method in interface org.xlightweb.IPart
returns the blocking body
getBody() - Method in class org.xlightweb.Part
returns the blocking body
getBodyDataReceiveTimeoutMillis() - Method in class org.xlightweb.client.HttpClient
getBodyDataReceiveTimeoutMillis() - Method in interface org.xlightweb.IHttpConnection
returns body data receive timeout
getBodyDataReceiveTimeoutMillis() - Method in class org.xlightweb.NonBlockingBodyDataSource
returns body data receive timeout
getBodyDataReceiveTimeoutMillis() - Method in class org.xlightweb.server.HttpProtocolAdapter
get the body data receive timeout
getBodyDataReceiveTimeoutMillis() - Method in class org.xlightweb.server.HttpServer
get the body data receive timeout
getBodyDataReceiveTimeoutMillis() - Method in interface org.xlightweb.server.IHttpServer
get the body data receive timeout
getBooleanParameter(String) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getBooleanParameter(String, boolean) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getBooleanParameter(String) - Method in class org.xlightweb.HttpRequest
Get an Boolean parameter, or null if not present.
getBooleanParameter(String, boolean) - Method in class org.xlightweb.HttpRequest
Get an boolean parameter, with a fallback value.
getBooleanParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an Boolean parameter, or null if not present.
getBooleanParameter(String, boolean) - Method in class org.xlightweb.HttpRequestHeader
Get an boolean parameter, with a fallback value.
getBooleanParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an Boolean parameter, or null if not present.
getBooleanParameter(String, boolean) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an boolean parameter, with a fallback value.
getBooleanParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an Boolean parameter, or null if not present.
getBooleanParameter(String, boolean) - Method in interface org.xlightweb.IHttpRequest
Get an boolean parameter, with a fallback value.
getBooleanParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an Boolean parameter, or null if not present.
getBooleanParameter(String, boolean) - Method in interface org.xlightweb.IHttpRequestHeader
Get an boolean parameter, with a fallback value.
getCacheInfo() - Method in class org.xlightweb.CacheHandler
return the cache info
getCacheMaxSizeKB() - Method in class org.xlightweb.client.HttpClient
returns the max cache size
getCacheSizeKB() - Method in class org.xlightweb.client.HttpClient
returns the cache size
getCallReturnOnMessage() - Method in class org.xlightweb.client.HttpClient
return true when the call will return, if the message is received
getChangeVersion() - Method in class org.xlightweb.server.HttpSession
returns the object change version.
getCharacterEncoding() - Method in class org.xlightweb.Header
Returns the name of the character encoding used in the body of this message.
getCharacterEncoding() - Method in interface org.xlightweb.IHeader
Returns the name of the character encoding used in the body of this message.
getCharacterEncoding() - Method in interface org.xlightweb.IHttpMessage
Returns the name of the character encoding used in the body of this message.
getCharacterEncoding() - Method in class org.xlightweb.Part
Returns the name of the character encoding used in the body of this message.
getConnection() - Method in interface org.xlightweb.IHttpExchange
returns the underlying connection
getConnectTimeoutMillis() - Method in class org.xlightweb.client.HttpClient
returns the connect timeout
getContentLength() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the length, in bytes, of the message body and made available by the input stream, or -1 if the length is not known.
getContentLength() - Method in interface org.xlightweb.IHttpMessage
Returns the length, in bytes, of the message body and made available by the input stream, or -1 if the length is not known.
getContentLength() - Method in interface org.xlightweb.IHttpMessageHeader
Returns the length, in bytes, of the message body and made available by the input stream, or -1 if the length is not known.
getContentType() - Method in class org.xlightweb.Header
Returns the MIME type of the body of the messag, or null if the type is not known.
getContentType() - Method in interface org.xlightweb.IHeader
Returns the MIME type of the body of the messag, or null if the type is not known.
getContentType() - Method in interface org.xlightweb.IHttpMessage
Returns the MIME type of the body of the messag, or null if the type is not known.
getContentType() - Method in class org.xlightweb.Part
Returns the MIME type of the body of the messag, or null if the type is not known.
getContextPath() - Method in class org.xlightweb.Context
returns the context path
getContextPath() - Method in class org.xlightweb.HttpRequest
Returns the portion of the request URI that indicates the context of the request.
getContextPath() - Method in class org.xlightweb.HttpRequestWrapper
Returns the portion of the request URI that indicates the context of the request.
getContextPath() - Method in interface org.xlightweb.IHttpRequest
Returns the portion of the request URI that indicates the context of the request.
getCountCacheHit() - Method in class org.xlightweb.CacheHandler
returns the number of cache hits
getCountCacheMiss() - Method in class org.xlightweb.CacheHandler
returns the number of cache misses
getCreationTime() - Method in interface org.xlightweb.IHttpSession
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
getCreationTime() - Method in class org.xlightweb.server.HttpSession
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
getCurrentCacheSizeBytes() - Method in class org.xlightweb.CacheHandler
return the current cache size
getCurrentHitRatio() - Method in class org.xlightweb.CacheHandler
returns the current hit ratio
getDataHandler() - Method in class org.xlightweb.NonBlockingBodyDataSource
returns the body data handler or null if no data handler is assigned
getDataHandlerSilence(NonBlockingBodyDataSource) - Static method in class org.xlightweb.client.HttpClientConnection
 
getDataReceived(NonBlockingBodyDataSource) - Static method in class org.xlightweb.client.HttpClientConnection
 
getDataSourceOfInMemoryBodyDataSink(BodyDataSink) - Static method in class org.xlightweb.client.HttpClientConnection
 
getDate() - Method in class org.xlightweb.HttpResponse
returns the Date header parameter or null if the header is not set
getDate() - Method in class org.xlightweb.HttpResponseHeader
returns the Date header parameter or null if the header is not set
getDate() - Method in interface org.xlightweb.IHttpResponse
returns the Date header parameter or null if the header is not set
getDate() - Method in interface org.xlightweb.IHttpResponseHeader
returns the Date header parameter or null if the header is not set
getDisposition() - Method in class org.xlightweb.Header
returns the content disposition header of the part, or null if the type is not known.
getDisposition() - Method in interface org.xlightweb.IHeader
returns the content disposition header of the part, or null if the type is not known.
getDisposition() - Method in class org.xlightweb.Part
returns the content disposition header of the part, or null if the type is not known.
getDispositionParam(String) - Method in class org.xlightweb.Header
returns the content disposition param value or null if not set

see also rfc2183
getDispositionParam(String) - Method in interface org.xlightweb.IHeader
returns the content disposition param value or null if not set

see also rfc2183
getDispositionParam(String) - Method in class org.xlightweb.Part
returns the content disposition param value or null if not set

see also rfc2183
getDispositionType() - Method in class org.xlightweb.Header
returns the content disposition type or null if not set

see also rfc2183
getDispositionType() - Method in interface org.xlightweb.IHeader
returns the content disposition type or null if not set

see also rfc2183
getDispositionType() - Method in class org.xlightweb.Part
returns the content disposition type or null if not set

see also rfc2183
getDoubleParameter(String) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getDoubleParameter(String, double) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getDoubleParameter(String) - Method in class org.xlightweb.HttpRequest
Get an Double parameter, or null if not present.
getDoubleParameter(String, double) - Method in class org.xlightweb.HttpRequest
Get an double parameter, with a fallback value.
getDoubleParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an Double parameter, or null if not present.
getDoubleParameter(String, double) - Method in class org.xlightweb.HttpRequestHeader
Get an double parameter, with a fallback value.
getDoubleParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an Double parameter, or null if not present.
getDoubleParameter(String, double) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an double parameter, with a fallback value.
getDoubleParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an Double parameter, or null if not present.
getDoubleParameter(String, double) - Method in interface org.xlightweb.IHttpRequest
Get an double parameter, with a fallback value.
getDoubleParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an Double parameter, or null if not present.
getDoubleParameter(String, double) - Method in interface org.xlightweb.IHttpRequestHeader
Get an double parameter, with a fallback value.
getEncoding() - Method in class org.xlightweb.BodyDataSink
gets the default encoding
getFloatParameter(String) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getFloatParameter(String, float) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getFloatParameter(String) - Method in class org.xlightweb.HttpRequest
Get an Float parameter, or null if not present.
getFloatParameter(String, float) - Method in class org.xlightweb.HttpRequest
Get an float parameter, with a fallback value.
getFloatParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an Float parameter, or null if not present.
getFloatParameter(String, float) - Method in class org.xlightweb.HttpRequestHeader
Get an float parameter, with a fallback value.
getFloatParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an Float parameter, or null if not present.
getFloatParameter(String, float) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an float parameter, with a fallback value.
getFloatParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an Float parameter, or null if not present.
getFloatParameter(String, float) - Method in interface org.xlightweb.IHttpRequest
Get an float parameter, with a fallback value.
getFloatParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an Float parameter, or null if not present.
getFloatParameter(String, float) - Method in interface org.xlightweb.IHttpRequestHeader
Get an float parameter, with a fallback value.
getFlushmode() - Method in class org.xlightweb.BodyDataSink
see IConnection#getFlushmode()
getFollowsRedirect() - Method in class org.xlightweb.client.HttpClient
returns true, if redirects should be followed
getHandlers() - Method in class org.xlightweb.Context
returns the handlers
getHandlers() - Method in class org.xlightweb.RequestHandlerChain
returns all handler
getHeader(String) - Method in class org.xlightweb.Header
Returns the value of the specified header as a String.
getHeader(String) - Method in class org.xlightweb.HttpRequestHeader
Returns the value of the specified header as a String.
getHeader(String) - Method in class org.xlightweb.HttpResponseHeader
Returns the value of the specified header as a String.
getHeader(String) - Method in interface org.xlightweb.IHeader
Returns the value of the specified header as a String.
getHeader(String) - Method in class org.xlightweb.Part
Returns the value of the specified header as a String.
getHeaderList(String) - Method in class org.xlightweb.Header
Returns all the values of the specified header as an List of String objects.
getHeaderList(String) - Method in class org.xlightweb.HttpRequestHeader
Returns all the values of the specified header as an List of String objects.
getHeaderList(String) - Method in class org.xlightweb.HttpResponseHeader
Returns all the values of the specified header as an List of String objects.
getHeaderList(String) - Method in interface org.xlightweb.IHeader
Returns all the values of the specified header as an List of String objects.
getHeaderList(String) - Method in class org.xlightweb.Part
Returns all the values of the specified header as an List of String objects.
getHeaderNames() - Method in class org.xlightweb.Header
Returns an enumeration of all the header names.
getHeaderNames() - Method in interface org.xlightweb.IHeader
Returns an enumeration of all the header names.
getHeaderNames() - Method in class org.xlightweb.Part
Returns an enumeration of all the header names.
getHeaderNameSet() - Method in class org.xlightweb.Header
Returns an set of all the header names.
getHeaderNameSet() - Method in class org.xlightweb.HttpRequestHeader
Returns an set of all the header names.
getHeaderNameSet() - Method in class org.xlightweb.HttpResponseHeader
Returns an set of all the header names.
getHeaderNameSet() - Method in interface org.xlightweb.IHeader
Returns an set of all the header names.
getHeaderNameSet() - Method in class org.xlightweb.Part
Returns an set of all the header names.
getHeaders(String) - Method in class org.xlightweb.Header
Returns all the values of the specified header as an Enumeration of String objects.
getHeaders(String) - Method in interface org.xlightweb.IHeader
Returns all the values of the specified header as an Enumeration of String objects.
getHeaders(String) - Method in class org.xlightweb.Part
Returns all the values of the specified header as an Enumeration of String objects.
getHost() - Method in class org.xlightweb.HttpRequest
returns the Host header parameter or null if the header is not set
getHost() - Method in class org.xlightweb.HttpRequestHeader
returns the Host header parameter or null if the header is not set
getHost() - Method in class org.xlightweb.HttpRequestHeaderWrapper
returns the Host header parameter or null if the header is not set
getHost() - Method in class org.xlightweb.HttpRequestWrapper
returns the Host header parameter or null if the header is not set
getHost() - Method in interface org.xlightweb.IHttpRequest
returns the Host header parameter or null if the header is not set
getHost() - Method in interface org.xlightweb.IHttpRequestHeader
returns the Host header parameter or null if the header is not set
getId() - Method in class org.xlightweb.BodyDataSink
 
getId() - Method in class org.xlightweb.client.HttpClient
returns a unique id
getId() - Method in interface org.xlightweb.client.IHttpClientEndpoint
returns the id
getId() - Method in interface org.xlightweb.IHttpSession
Returns a string containing the unique identifier assigned to this session.
getId() - Method in class org.xlightweb.server.HttpSession
Returns a string containing the unique identifier assigned to this session.
getIdleConnectionInfos() - Method in class org.xlightweb.client.HttpClient
getImplementationDate() - Static method in class org.xlightweb.HttpUtils
get the implementation date
getImplementationDate() - Method in class org.xlightweb.server.HttpServer
returns the implementation date
getImplementationVersion() - Static method in class org.xlightweb.HttpUtils
get the implementation version
getImplementationVersion() - Method in class org.xlightweb.server.HttpProtocolAdapter
returns the implementation version string
getImplementationVersion() - Method in class org.xlightweb.server.HttpServer
returns the implementation version
getIntParameter(String) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getIntParameter(String, int) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getIntParameter(String) - Method in class org.xlightweb.HttpRequest
Get an Integer parameter, or null if not present.
getIntParameter(String, int) - Method in class org.xlightweb.HttpRequest
Get an int parameter, with a fallback value.
getIntParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an Integer parameter, or null if not present.
getIntParameter(String, int) - Method in class org.xlightweb.HttpRequestHeader
Get an int parameter, with a fallback value.
getIntParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an Integer parameter, or null if not present.
getIntParameter(String, int) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an int parameter, with a fallback value.
getIntParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an Integer parameter, or null if not present.
getIntParameter(String, int) - Method in interface org.xlightweb.IHttpRequest
Get an int parameter, with a fallback value.
getIntParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an Integer parameter, or null if not present.
getIntParameter(String, int) - Method in interface org.xlightweb.IHttpRequestHeader
Get an int parameter, with a fallback value.
getLastAccessedTime() - Method in interface org.xlightweb.IHttpSession
Returns the last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT, and marked by the time the container received the request.
getLastAccessedTime() - Method in class org.xlightweb.server.HttpSession
Returns the last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT, and marked by the time the container received the request.
getLongParameter(String) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getLongParameter(String, long) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getLongParameter(String) - Method in class org.xlightweb.HttpRequest
Get an Long parameter, or null if not present.
getLongParameter(String, long) - Method in class org.xlightweb.HttpRequest
Get an long parameter, with a fallback value.
getLongParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an Long parameter, or null if not present.
getLongParameter(String, long) - Method in class org.xlightweb.HttpRequestHeader
Get an long parameter, with a fallback value.
getLongParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an Long parameter, or null if not present.
getLongParameter(String, long) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an long parameter, with a fallback value.
getLongParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an Long parameter, or null if not present.
getLongParameter(String, long) - Method in interface org.xlightweb.IHttpRequest
Get an long parameter, with a fallback value.
getLongParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an Long parameter, or null if not present.
getLongParameter(String, long) - Method in interface org.xlightweb.IHttpRequestHeader
Get an long parameter, with a fallback value.
getMatrixParameter(String) - Method in class org.xlightweb.HttpRequest
Returns the value of a request matrix parameter as a String, or null if the parameter does not exist.
getMatrixParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Returns the value of a request matrix parameter as a String, or null if the parameter does not exist.
getMatrixParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the value of a request matrix parameter as a String, or null if the parameter does not exist.
getMatrixParameter(String) - Method in interface org.xlightweb.IHttpRequest
Returns the value of a request matrix parameter as a String, or null if the parameter does not exist.
getMatrixParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Returns the value of a request matrix parameter as a String, or null if the parameter does not exist.
getMatrixParameterNameSet() - Method in class org.xlightweb.HttpRequest
returns the matrix parameter name set
getMatrixParameterNameSet() - Method in class org.xlightweb.HttpRequestHeader
returns the matrix parameter name set
getMatrixParameterNameSet() - Method in class org.xlightweb.HttpRequestHeaderWrapper
returns the matrix parameter name set
getMatrixParameterNameSet() - Method in interface org.xlightweb.IHttpRequest
returns the matrix parameter name set
getMatrixParameterNameSet() - Method in interface org.xlightweb.IHttpRequestHeader
returns the matrix parameter name set
getMatrixParameterValues(String) - Method in class org.xlightweb.HttpRequest
Returns an array of String objects containing all of the values the given request matrix parameter has, or null if the parameter does not exist.
getMatrixParameterValues(String) - Method in class org.xlightweb.HttpRequestHeader
Returns an array of String objects containing all of the values the given request matrix parameter has, or null if the parameter does not exist.
getMatrixParameterValues(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns an array of String objects containing all of the values the given request matrix parameter has, or null if the parameter does not exist.
getMatrixParameterValues(String) - Method in interface org.xlightweb.IHttpRequest
Returns an array of String objects containing all of the values the given request matrix parameter has, or null if the parameter does not exist.
getMatrixParameterValues(String) - Method in interface org.xlightweb.IHttpRequestHeader
Returns an array of String objects containing all of the values the given request matrix parameter has, or null if the parameter does not exist.
getMaxActive() - Method in class org.xlightweb.client.HttpClient
getMaxActivePerServer() - Method in class org.xlightweb.client.HttpClient
getMaxCacheSizeKB() - Method in class org.xlightweb.CacheHandler
return the max cache size
getMaxIdle() - Method in class org.xlightweb.client.HttpClient
getMaxInactiveInterval() - Method in interface org.xlightweb.IHttpSession
Returns the maximum time interval, in seconds, that the container will keep this session open between client accesses.
getMaxInactiveInterval() - Method in class org.xlightweb.server.HttpSession
Returns the maximum time interval, in seconds, that the container will keep this session open between client accesses.
getMaxRedirects() - Method in class org.xlightweb.client.HttpClient
get the max redirects (of GET, DELETE and PUT calls)
getMaxRetries() - Method in class org.xlightweb.client.HttpClient
get the max retries (of GET, DELETE and PUT calls)
getMaxTransactions() - Method in class org.xlightweb.server.HttpProtocolAdapter
get the max transactions per connection.
getMaxTransactions() - Method in class org.xlightweb.server.HttpServer
get the max transactions per connection.
getMaxTransactions() - Method in interface org.xlightweb.server.IHttpServer
get the max transactions per connection.
getMessage() - Method in exception org.xlightweb.DetailedClosedChannelException
 
getMessageHeader() - Method in class org.xlightweb.HttpRequestWrapper
returns the message header
getMessageHeader() - Method in interface org.xlightweb.IHttpMessage
returns the message header
getMessageHeaderHandler() - Method in class org.xlightweb.client.HttpClientConnection
getMessageHeaderHandler() - Method in class org.xlightweb.server.HttpServerConnection
getMethod() - Method in class org.xlightweb.HttpRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMethod() - Method in class org.xlightweb.HttpRequestHeader
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMethod() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMethod() - Method in interface org.xlightweb.IHttpRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMethod() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMimeTypeMapping() - Static method in class org.xlightweb.HttpUtils
get the mime type file to extension map
getName() - Method in class org.xlightweb.NameValuePair
return the name
getNonBlockingBody() - Method in class org.xlightweb.HttpRequestWrapper
returns the non-blocking body
getNonBlockingBody() - Method in interface org.xlightweb.IPart
returns the non-blocking body
getNonBlockingBody() - Method in class org.xlightweb.Part
returns the non-blocking body
getNumActive() - Method in class org.xlightweb.client.HttpClient
getNumCacheHit() - Method in class org.xlightweb.client.HttpClient
returns the number of cache hits
getNumCacheMiss() - Method in class org.xlightweb.client.HttpClient
returns the number of cache misses
getNumCreated() - Method in class org.xlightweb.client.HttpClient
getNumCreatedSessions() - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
getNumCreatedSessions() - Method in class org.xlightweb.server.SessionManager
 
getNumDestroyed() - Method in class org.xlightweb.client.HttpClient
getNumExpiredSessions() - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
getNumExpiredSessions() - Method in class org.xlightweb.server.SessionManager
 
getNumIdle() - Method in class org.xlightweb.client.HttpClient
getNumRemovedSessions() - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
getNumRemovedSessions() - Method in class org.xlightweb.server.SessionManager
 
getNumSessions() - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
getNumTimeoutPooledMaxIdleTime() - Method in class org.xlightweb.client.HttpClient
getNumTimeoutPooledMaxLifeTime() - Method in class org.xlightweb.client.HttpClient
getParameter(String) - Method in class org.xlightweb.ContentType
Return the specified parameter value.
getParameter(String) - Method in class org.xlightweb.FormURLEncodedBody
returns the first parameter value
getParameter(String) - Method in class org.xlightweb.HttpRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameter(String, String) - Method in class org.xlightweb.HttpRequest
Get an String parameter, with a fallback value.
getParameter(String, String) - Method in class org.xlightweb.HttpRequestHeader
Get an String parameter, with a fallback value.
getParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameter(String, String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an String parameter, with a fallback value.
getParameter(String) - Method in interface org.xlightweb.IHttpRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameter(String, String) - Method in interface org.xlightweb.IHttpRequest
Get an String parameter, with a fallback value.
getParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameter(String, String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an String parameter, with a fallback value.
getParameterNames() - Method in class org.xlightweb.HttpRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterNames() - Method in class org.xlightweb.HttpRequestHeader
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterNames() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterNames() - Method in interface org.xlightweb.IHttpRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterNames() - Method in interface org.xlightweb.IHttpRequestHeader
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterNameSet() - Method in class org.xlightweb.FormURLEncodedBody
returns the parameter name set
getParameterNameSet() - Method in class org.xlightweb.HttpRequest
returns the parameter name set
getParameterNameSet() - Method in class org.xlightweb.HttpRequestHeader
returns the parameter name set
getParameterNameSet() - Method in class org.xlightweb.HttpRequestHeaderWrapper
returns the parameter name set
getParameterNameSet() - Method in interface org.xlightweb.IHttpRequest
returns the parameter name set
getParameterNameSet() - Method in interface org.xlightweb.IHttpRequestHeader
returns the parameter name set
getParameterValues(String) - Method in class org.xlightweb.FormURLEncodedBody
returns the parameter values
getParameterValues(String) - Method in class org.xlightweb.HttpRequest
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getParameterValues(String) - Method in class org.xlightweb.HttpRequestHeader
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getParameterValues(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getParameterValues(String) - Method in interface org.xlightweb.IHttpRequest
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getParameterValues(String) - Method in interface org.xlightweb.IHttpRequestHeader
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getPartHeader() - Method in class org.xlightweb.HttpRequestWrapper
returns the part header
getPartHeader() - Method in interface org.xlightweb.IPart
returns the part header
getPartHeader() - Method in class org.xlightweb.Part
returns the part header
getPathInfo() - Method in class org.xlightweb.HttpRequest
Returns any extra path information associated with the URL.
getPathInfo(boolean) - Method in class org.xlightweb.HttpRequest
Returns any extra path information associated with the URL.
getPathInfo() - Method in class org.xlightweb.HttpRequestWrapper
Returns any extra path information associated with the URL.
getPathInfo(boolean) - Method in class org.xlightweb.HttpRequestWrapper
Returns any extra path information associated with the URL.
getPathInfo() - Method in interface org.xlightweb.IHttpRequest
Returns any extra path information associated with the URL.
getPathInfo(boolean) - Method in interface org.xlightweb.IHttpRequest
Returns any extra path information associated with the URL.
getPooledMaxIdleTimeMillis() - Method in class org.xlightweb.client.HttpClient
getPooledMaxLifeTimeMillis() - Method in class org.xlightweb.client.HttpClient
getPrimaryType() - Method in class org.xlightweb.ContentType
Return the primary type
getProtocol() - Method in class org.xlightweb.HttpRequest
Returns the name and version of the protocol the message uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getProtocol() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the name and version of the protocol the message uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getProtocol() - Method in class org.xlightweb.HttpResponse
returns the protocol
getProtocol() - Method in interface org.xlightweb.IHttpMessage
Returns the name and version of the protocol the message uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getProtocol() - Method in interface org.xlightweb.IHttpMessageHeader
Returns the name and version of the protocol the message uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getProtocol() - Method in interface org.xlightweb.IHttpResponse
returns the protocol
getProtocol() - Method in interface org.xlightweb.IHttpResponseHeader
returns the protocol
getProtocolVersion() - Method in class org.xlightweb.HttpRequest
Returns the version of the protocol the message uses in the form majorVersion.minorVersion, for example, 1.1.
getProtocolVersion() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the version of the protocol the message uses in the form majorVersion.minorVersion, for example, 1.1.
getProtocolVersion() - Method in class org.xlightweb.HttpResponse
Returns the version of the protocol the message uses in the form majorVersion.minorVersion, for example, 1.1.
getProtocolVersion() - Method in interface org.xlightweb.IHttpMessage
Returns the version of the protocol the message uses in the form majorVersion.minorVersion, for example, 1.1.
getProtocolVersion() - Method in interface org.xlightweb.IHttpMessageHeader
Returns the version of the protocol the message uses in the form majorVersion.minorVersion, for example, 1.1.
getQueryString() - Method in class org.xlightweb.HttpRequest
Returns the query string that is contained in the request URL after the path.
getQueryString() - Method in class org.xlightweb.HttpRequestHeader
Returns the query string that is contained in the request URL after the path.
getQueryString() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the query string that is contained in the request URL after the path.
getQueryString() - Method in interface org.xlightweb.IHttpRequest
Returns the query string that is contained in the request URL after the path.
getQueryString() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the query string that is contained in the request URL after the path.
getReadBufferVersion() - Method in class org.xlightweb.NonBlockingBodyDataSource
get the version of read buffer.
getReason() - Method in class org.xlightweb.HttpResponse
returns the reason
getReason() - Method in class org.xlightweb.HttpResponseHeader
returns the reason
getReason(int) - Static method in class org.xlightweb.HttpUtils
returns the reason text
getReason() - Method in interface org.xlightweb.IHttpResponse
returns the reason
getReason() - Method in interface org.xlightweb.IHttpResponseHeader
returns the reason
getReceivedHeader(ProtocolException) - Static method in class org.xlightweb.client.HttpClientConnection
 
getReceiveTimeoutSec() - Method in class org.xlightweb.BodyDataSource
gets receive time out by reading data
getRemoteAddr() - Method in class org.xlightweb.HttpRequest
Returns the Internet Protocol (IP) address of the client or last proxy that sent the message.
getRemoteAddr() - Method in class org.xlightweb.HttpRequestHeader
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRemoteAddr() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRemoteAddr() - Method in interface org.xlightweb.IHttpRequest
Returns the Internet Protocol (IP) address of the client or last proxy that sent the message.
getRemoteAddr() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRemoteHost() - Method in class org.xlightweb.HttpRequest
Returns the fully qualified name of the client or the last proxy that sent the request.
getRemoteHost() - Method in class org.xlightweb.HttpRequestHeader
Returns the fully qualified name of the client or the last proxy that sent the request.
getRemoteHost() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the fully qualified name of the client or the last proxy that sent the request.
getRemoteHost() - Method in interface org.xlightweb.IHttpRequest
Returns the fully qualified name of the client or the last proxy that sent the request.
getRemoteHost() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the fully qualified name of the client or the last proxy that sent the request.
getRemotePort() - Method in class org.xlightweb.HttpRequest
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the message.
getRemotePort() - Method in class org.xlightweb.HttpRequestHeader
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
getRemotePort() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
getRemotePort() - Method in interface org.xlightweb.IHttpRequest
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the message.
getRemotePort() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
GetRequest - Class in org.xlightweb
a GET request
GetRequest(String) - Constructor for class org.xlightweb.GetRequest
constrcutor
GetRequest(String, NameValuePair...) - Constructor for class org.xlightweb.GetRequest
constrcutor
getRequest() - Method in interface org.xlightweb.IHttpExchange
get the request of this exchange
getRequestBodyDefaultEncoding() - Method in class org.xlightweb.server.HttpProtocolAdapter
get the request body default encoding.
getRequestBodyDefaultEncoding() - Method in class org.xlightweb.server.HttpServer
get the request body default encoding.
getRequestBodyDefaultEncoding() - Method in interface org.xlightweb.server.IHttpServer
get the request body default encoding.
getRequestHandler() - Method in class org.xlightweb.server.HttpProtocolAdapter
returns the request handler
getRequestHandler() - Method in class org.xlightweb.server.HttpServer
returns the request handler
getRequestHandler() - Method in interface org.xlightweb.server.IHttpServer
returns the request handler
getRequestHandlerPath() - Method in class org.xlightweb.HttpRequest
returns the request handler path.
getRequestHandlerPath() - Method in class org.xlightweb.HttpRequestWrapper
returns the request handler path.
getRequestHandlerPath() - Method in interface org.xlightweb.IHttpRequest
returns the request handler path.
getRequestHeader() - Method in class org.xlightweb.HttpRequest
returns the request header
getRequestHeader() - Method in class org.xlightweb.HttpRequestWrapper
returns the request header
getRequestHeader() - Method in interface org.xlightweb.IHttpRequest
returns the request header
getRequestTimeoutMillis() - Method in class org.xlightweb.server.HttpProtocolAdapter
gets the message receive timeout
getRequestTimeoutMillis() - Method in class org.xlightweb.server.HttpServer
gets the message receive timeout
getRequestTimeoutMillis() - Method in interface org.xlightweb.server.IHttpServer
gets the message receive timeout
getRequestURI() - Method in class org.xlightweb.HttpRequest
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestURI() - Method in class org.xlightweb.HttpRequestHeader
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestURI() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestURI() - Method in interface org.xlightweb.IHttpRequest
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestURI() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestUrl() - Method in class org.xlightweb.HttpRequest
Reconstructs the URL the client used to make the request.
getRequestUrl() - Method in class org.xlightweb.HttpRequestHeader
Reconstructs the URL the client used to make the request.
getRequestUrl() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Reconstructs the URL the client used to make the request.
getRequestUrl() - Method in interface org.xlightweb.IHttpRequest
Reconstructs the URL the client used to make the request.
getRequestUrl() - Method in interface org.xlightweb.IHttpRequestHeader
Reconstructs the URL the client used to make the request.
getRequiredBooleanParameter(String) - Method in class org.xlightweb.HttpRequest
Get an boolean parameter or throws an exception if parameter is not present
getRequiredBooleanParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an boolean parameter or throws an exception if parameter is not present
getRequiredBooleanParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an boolean parameter or throws an exception if parameter is not present
getRequiredBooleanParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an boolean parameter or throws an exception if parameter is not present
getRequiredBooleanParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an boolean parameter or throws an exception if parameter is not present
getRequiredDoubleParameter(String) - Method in class org.xlightweb.HttpRequest
Get an double parameter or throws an exception if parameter is not present
getRequiredDoubleParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an double parameter or throws an exception if parameter is not present
getRequiredDoubleParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an double parameter or throws an exception if parameter is not present
getRequiredDoubleParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an double parameter or throws an exception if parameter is not present
getRequiredDoubleParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an double parameter or throws an exception if parameter is not present
getRequiredFloatParameter(String) - Method in class org.xlightweb.HttpRequest
Get an float parameter or throws an exception if parameter is not present
getRequiredFloatParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an float parameter or throws an exception if parameter is not present
getRequiredFloatParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an float parameter or throws an exception if parameter is not present
getRequiredFloatParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an float parameter or throws an exception if parameter is not present
getRequiredFloatParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an float parameter or throws an exception if parameter is not present
getRequiredIntParameter(String) - Method in class org.xlightweb.HttpRequest
Get an int parameter or throws an exception if parameter is not present
getRequiredIntParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an int parameter or throws an exception if parameter is not present
getRequiredIntParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an int parameter or throws an exception if parameter is not present
getRequiredIntParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an int parameter or throws an exception if parameter is not present
getRequiredIntParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an int parameter or throws an exception if parameter is not present
getRequiredLongParameter(String) - Method in class org.xlightweb.HttpRequest
Get an long parameter or throws an exception if parameter is not present
getRequiredLongParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an long parameter or throws an exception if parameter is not present
getRequiredLongParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an long parameter or throws an exception if parameter is not present
getRequiredLongParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an long parameter or throws an exception if parameter is not present
getRequiredLongParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an long parameter or throws an exception if parameter is not present
getRequiredStringParameter(String) - Method in class org.xlightweb.HttpRequest
Get an string parameter or throws an exception if parameter is not present
getRequiredStringParameter(String) - Method in class org.xlightweb.HttpRequestHeader
Get an string parameter or throws an exception if parameter is not present
getRequiredStringParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Get an string parameter or throws an exception if parameter is not present
getRequiredStringParameter(String) - Method in interface org.xlightweb.IHttpRequest
Get an string parameter or throws an exception if parameter is not present
getRequiredStringParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
Get an string parameter or throws an exception if parameter is not present
getResponse() - Method in class org.xlightweb.FutureResponseHandler
blocking call to retrieve the response.
getResponse(long, TimeUnit) - Method in class org.xlightweb.FutureResponseHandler
blocking call to retrieve the response.
getResponse() - Method in interface org.xlightweb.IFutureResponse
blocking call to retrieve the response.
getResponse(long, TimeUnit) - Method in interface org.xlightweb.IFutureResponse
blocking call to retrieve the response.
getResponseHeader() - Method in class org.xlightweb.HttpResponse
returns the response header
getResponseHeader() - Method in interface org.xlightweb.IHttpResponse
returns the response header
getResponseTimeoutMillis() - Method in class org.xlightweb.client.HttpClient
returns the response timeout
getResponseTimeoutMillis() - Method in class org.xlightweb.client.HttpClientConnection
returns the response timeout
getResponseTimeoutMillis() - Method in interface org.xlightweb.client.IHttpClientEndpoint
returns the response timeout
getScheme() - Method in class org.xlightweb.HttpRequest
Returns the name of the scheme used to make this request, for example, http or https.
getScheme() - Method in class org.xlightweb.HttpRequestHeader
Returns the name of the scheme used to make this request, for example, http or https.
getScheme() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the name of the scheme used to make this request, for example, http or https.
getScheme() - Method in interface org.xlightweb.IHttpRequest
Returns the name of the scheme used to make this request, for example, http or https.
getScheme() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the name of the scheme used to make this request, for example, http or https.
getServer() - Method in class org.xlightweb.HttpResponse
gets the Server header parameter
getServer() - Method in class org.xlightweb.HttpResponseHeader
gets the Server header parameter
getServer() - Method in interface org.xlightweb.IHttpResponse
gets the Server header parameter
getServer() - Method in interface org.xlightweb.IHttpResponseHeader
gets the Server header parameter
getServerName() - Method in class org.xlightweb.HttpRequest
Returns the host name of the server to which the request was sent.
getServerName() - Method in class org.xlightweb.HttpRequestHeader
Returns the host name of the server to which the request was sent.
getServerName() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the host name of the server to which the request was sent.
getServerName() - Method in interface org.xlightweb.IHttpRequest
Returns the host name of the server to which the request was sent.
getServerName() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the host name of the server to which the request was sent.
getServerPort() - Method in class org.xlightweb.HttpRequest
Returns the port number to which the request was sent.
getServerPort() - Method in class org.xlightweb.HttpRequestHeader
Returns the port number to which the request was sent.
getServerPort() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns the port number to which the request was sent.
getServerPort() - Method in interface org.xlightweb.IHttpRequest
Returns the port number to which the request was sent.
getServerPort() - Method in interface org.xlightweb.IHttpRequestHeader
Returns the port number to which the request was sent.
getSession(boolean) - Method in interface org.xlightweb.IHttpExchange
Returns the current HttpSession associated with this exchange or, if there is no current session and create is true, returns a new session.
getSession(String) - Method in interface org.xlightweb.server.ISessionManager
returns the session for a session id
getSession(String) - Method in class org.xlightweb.server.SessionManager
returns the session for a session id
getSessionManager() - Method in class org.xlightweb.server.HttpProtocolAdapter
returns the session manager
getSessionManager() - Method in class org.xlightweb.server.HttpServer
returns the session manager
getSessionManager() - Method in interface org.xlightweb.server.IHttpServer
returns the session manager
getSessionMap() - Method in interface org.xlightweb.server.ISessionManager
return the session map
getSessionMap() - Method in class org.xlightweb.server.SessionManager
return the session map
getSessionMaxInactiveIntervalSec() - Method in class org.xlightweb.server.HttpProtocolAdapter
gets the session max inactive interval in sconds
getSessionMaxInactiveIntervalSec() - Method in class org.xlightweb.server.HttpServer
gets the session max inactive interval in seconds
getSessionMaxInactiveIntervalSec() - Method in interface org.xlightweb.server.IHttpServer
gets the session max inactive interval in seconds
getSessionsInfo() - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
getSizeDataReceived(NonBlockingBodyDataSource) - Static method in class org.xlightweb.server.HttpServerConnection
 
getSizeWritten(BodyDataSink) - Static method in class org.xlightweb.server.HttpServerConnection
 
getStatus() - Method in exception org.xlightweb.BadMessageException
get the status code
getStatus() - Method in class org.xlightweb.HttpResponse
returns the status
getStatus() - Method in class org.xlightweb.HttpResponseHeader
returns the status
getStatus() - Method in interface org.xlightweb.IHttpResponse
returns the status
getStatus() - Method in interface org.xlightweb.IHttpResponseHeader
returns the status
getSubType() - Method in class org.xlightweb.ContentType
Return the subType
getTotalSessionStoreSize() - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
getTransferEncoding() - Method in class org.xlightweb.Header
returns the Transfer-Encoding header parameter or null if the header is not set
getTransferEncoding() - Method in class org.xlightweb.HttpRequestHeaderWrapper
returns the Transfer-Encoding header parameter or null if the header is not set
getTransferEncoding() - Method in interface org.xlightweb.IHeader
returns the Transfer-Encoding header parameter or null if the header is not set
getTransferEncoding() - Method in interface org.xlightweb.IHttpMessage
returns the Transfer-Encoding header parameter or null if the header is not set
getTransferEncoding() - Method in class org.xlightweb.Part
returns the Transfer-Encoding header parameter or null if the header is not set
getUnderlyingTcpConnection() - Method in interface org.xlightweb.IHttpConnection
returns the underlying tcp connection
getUserAgent() - Method in class org.xlightweb.HttpRequest
returns the User-Agent header parameter or null if the header is not set
getUserAgent() - Method in class org.xlightweb.HttpRequestHeader
returns the User-Agent header parameter or null if the header is not set
getUserAgent() - Method in class org.xlightweb.HttpRequestHeaderWrapper
returns the User-Agent header parameter or null if the header is not set
getUserAgent() - Method in class org.xlightweb.HttpRequestWrapper
returns the User-Agent header parameter or null if the header is not set
getUserAgent() - Method in interface org.xlightweb.IHttpRequest
returns the User-Agent header parameter or null if the header is not set
getUserAgent() - Method in interface org.xlightweb.IHttpRequestHeader
returns the User-Agent header parameter or null if the header is not set
getValue() - Method in class org.xlightweb.NameValuePair
return the value
getWorkerpool() - Method in interface org.xlightweb.IHttpConnection
return the worker pool which is used to process the call back methods
getWrappedRequestHeader() - Method in class org.xlightweb.HttpRequestHeaderWrapper
 

H

hasBody() - Method in class org.xlightweb.HttpRequestWrapper
returns true if the part has a body
hasBody() - Method in interface org.xlightweb.IPart
returns true if the part has a body
hasBody() - Method in class org.xlightweb.Part
returns true if the part has a body
hashCode() - Method in class org.xlightweb.ContentType
 
HEAD_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
Header - Class in org.xlightweb
Implementation base for a header
Header() - Constructor for class org.xlightweb.Header
constructor
Header(String) - Constructor for class org.xlightweb.Header
constructor
HEADER_RECEIVED - Static variable in annotation type org.xlightweb.InvokeOn
 
HeadRequest - Class in org.xlightweb
a HEAD request
HeadRequest(String) - Constructor for class org.xlightweb.HeadRequest
constructor
HeadRequest(String, NameValuePair...) - Constructor for class org.xlightweb.HeadRequest
constrcutor
HttpClient - Class in org.xlightweb.client
Higher level client-side abstraction of the client side endpoint.
HttpClient() - Constructor for class org.xlightweb.client.HttpClient
constructor
HttpClient(IHttpRequestHandler...) - Constructor for class org.xlightweb.client.HttpClient
constructor
HttpClient(SSLContext) - Constructor for class org.xlightweb.client.HttpClient
constructor
HttpClient(SSLContext, IHttpRequestHandler...) - Constructor for class org.xlightweb.client.HttpClient
constructor
HttpClientConnection - Class in org.xlightweb.client
Represents the client side endpoint implementation of a http connection.
HttpClientConnection(String, int) - Constructor for class org.xlightweb.client.HttpClientConnection
constructor
HttpClientConnection(InetSocketAddress) - Constructor for class org.xlightweb.client.HttpClientConnection
constructor
HttpClientConnection(INonBlockingConnection) - Constructor for class org.xlightweb.client.HttpClientConnection
constructor
HttpClientConnection(String, int, IHttpConnectionHandler) - Constructor for class org.xlightweb.client.HttpClientConnection
constructor
HttpProtocolAdapter - Class in org.xlightweb.server
The http protocol adapter.
HttpProtocolAdapter(IHttpRequestHandler) - Constructor for class org.xlightweb.server.HttpProtocolAdapter
constructor
HttpProtocolAdapter.SessionManagerInfoMBean - Interface in org.xlightweb.server
 
HttpRequest - Class in org.xlightweb
http request
HttpRequest(IHttpRequestHeader) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, NonBlockingBodyDataSource) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, ByteBuffer[], boolean) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, InputStream) - Constructor for class org.xlightweb.HttpRequest
constructor.
HttpRequest(String, String, String, ByteBuffer[], boolean) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String, String, byte[], boolean) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String, String, String, String, boolean) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String, String, String, boolean) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, String, boolean) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, String) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, ByteBuffer[]) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, byte[]) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, List<ByteBuffer>) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(IHttpRequestHeader, List<ByteBuffer>, boolean) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String, String, String) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String, String, String, String) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String, String, byte[]) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String, String, ByteBuffer[]) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequest(String, String) - Constructor for class org.xlightweb.HttpRequest
constructor
HttpRequestHandler - Class in org.xlightweb
Provides an abstract class to be subclassed to implement a IHttpRequestHandler.
HttpRequestHandler() - Constructor for class org.xlightweb.HttpRequestHandler
 
HttpRequestHeader - Class in org.xlightweb
http request header
HttpRequestHeader(String, String) - Constructor for class org.xlightweb.HttpRequestHeader
constructor
HttpRequestHeader(String, String, String) - Constructor for class org.xlightweb.HttpRequestHeader
constructor
HttpRequestHeaderWrapper - Class in org.xlightweb
Provides a convenient implementation of the HttpRequestHeader interface that can be subclassed by developers wishing to adapt the request header.
HttpRequestHeaderWrapper(IHttpRequestHeader) - Constructor for class org.xlightweb.HttpRequestHeaderWrapper
constructor
HttpRequestWrapper - Class in org.xlightweb
Provides a convenient implementation of the HttpRequest interface that can be subclassed by developers wishing to adapt the request.
HttpRequestWrapper(IHttpRequest) - Constructor for class org.xlightweb.HttpRequestWrapper
constructor
HttpResponse - Class in org.xlightweb
http response
HttpResponse(IHttpResponseHeader) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, ByteBuffer[], boolean) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, NonBlockingBodyDataSource) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, int, BodyDataSource) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, int, NonBlockingBodyDataSource) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(String, NonBlockingBodyDataSource) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(String, BodyDataSource) - Constructor for class org.xlightweb.HttpResponse
constructor.
HttpResponse(String, String) - Constructor for class org.xlightweb.HttpResponse
constructor.
HttpResponse(String) - Constructor for class org.xlightweb.HttpResponse
constructor.
HttpResponse(File) - Constructor for class org.xlightweb.HttpResponse
constructor.
HttpResponse(int, File) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, File) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, File, String) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, NameValuePair...) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, File) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, File, String) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, String) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, String, boolean) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(String, byte[]) - Constructor for class org.xlightweb.HttpResponse
constructor.
HttpResponse(int, String, NonBlockingBodyDataSource) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, BodyDataSource) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, byte[]) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(int, String, byte[], boolean) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(String, ByteBuffer[]) - Constructor for class org.xlightweb.HttpResponse
constructor.
HttpResponse(int, String, ByteBuffer[]) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, String) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, String, boolean) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, byte[]) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, byte[], boolean) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, List<ByteBuffer>) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, List<ByteBuffer>, boolean) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponse(IHttpResponseHeader, ByteBuffer[]) - Constructor for class org.xlightweb.HttpResponse
constructor
HttpResponseHeader - Class in org.xlightweb
http response header
HttpResponseHeader(int) - Constructor for class org.xlightweb.HttpResponseHeader
constructor
HttpResponseHeader(String) - Constructor for class org.xlightweb.HttpResponseHeader
constructor.
HttpResponseHeader(int, String) - Constructor for class org.xlightweb.HttpResponseHeader
constructor
HttpResponseHeader(int, String, String) - Constructor for class org.xlightweb.HttpResponseHeader
constructor
HttpServer - Class in org.xlightweb.server
A HttpServer.
HttpServer(IHttpRequestHandler) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(IHttpRequestHandler, Map<String, Object>) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(int, IHttpRequestHandler) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(int, IHttpRequestHandler, int, int) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(int, IHttpRequestHandler, Map<String, Object>) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(InetAddress, int, IHttpRequestHandler) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(String, int, IHttpRequestHandler) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(String, int, IHttpRequestHandler, Map<String, Object>) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(int, IHttpRequestHandler, SSLContext, boolean) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(int, IHttpRequestHandler, SSLContext, boolean, int, int) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(int, IHttpRequestHandler, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(String, int, IHttpRequestHandler, SSLContext, boolean) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(String, int, IHttpRequestHandler, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(InetAddress, int, IHttpRequestHandler, SSLContext, boolean) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServer(InetAddress, int, IHttpRequestHandler, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xlightweb.server.HttpServer
constructor

HttpServerConnection - Class in org.xlightweb.server
Represents the server side endpoint implementation of a http connection.
HttpSession - Class in org.xlightweb.server
HttpSession.
HttpUtils - Class in org.xlightweb
A HTTP utility class

I

IBodyCompleteListener - Interface in org.xlightweb
Listener, which will be call if the body is complete received.
IBodyDataHandler - Interface in org.xlightweb
The body handler.
IBodyDestroyListener - Interface in org.xlightweb
Listener, which will be call if the body has been destroyed
IFutureResponse - Interface in org.xlightweb
The IFutureResponse represents the result of an asynchronous call.
IHeader - Interface in org.xlightweb
Header definition
IHttpClientEndpoint - Interface in org.xlightweb.client
Represents the client side endpoint of a http connection
IHttpConnectHandler - Interface in org.xlightweb
The connect handler will be called if a new http connection has been established.
IHttpConnection - Interface in org.xlightweb
A http connection (session) between two http client and http server.
IHttpConnectionHandler - Interface in org.xlightweb
marker interface
IHttpDisconnectHandler - Interface in org.xlightweb
The connect handler will be called if a http connection has been disconnected.
IHttpExchange - Interface in org.xlightweb
This class encapsulates a HTTP request received and a response to be generated in one exchange.
IHttpMessage - Interface in org.xlightweb
Http Message
IHttpMessageHeader - Interface in org.xlightweb
Http Header
IHttpRequest - Interface in org.xlightweb
Http Request
IHttpRequestHandler - Interface in org.xlightweb
call back interface which will be notified if a new requests is received.
IHttpRequestHeader - Interface in org.xlightweb
Http Request Header
IHttpRequestTimeoutHandler - Interface in org.xlightweb
Handles the http request timeout.
IHttpResponse - Interface in org.xlightweb
Http response
IHttpResponseHandler - Interface in org.xlightweb
call back interface to be notified if the response has been received

Example: ResponseHandler implements IResponseHandler { public void onResponse(IHttpResponse response) throws IOException { status = response.getStatus(); ... } public void void onException(IOException ioe) { ... } }
IHttpResponseHeader - Interface in org.xlightweb
Http Response Header
IHttpServer - Interface in org.xlightweb.server
A HttpServer definition.
IHttpSession - Interface in org.xlightweb
The HttpSession.
IHttpSocketTimeoutHandler - Interface in org.xlightweb
SocketTimeouthandler

Example: class ResponseHandler implements IHttpResponseHandler, IHttpSocketTimeoutHandler { public void onResponse(IHttpResponse response) throws IOException { // ... } // will only be called if an exception occurs public void onException(IOException ioe) { // ... } // overrides the onException method by handling socket timeout exceptions public void onException(SocketTimeoutException stoe) { // ... } }
indexOf(String) - Method in class org.xlightweb.NonBlockingBodyDataSource
Returns the index of the first occurrence of the given string.
indexOf(String, String) - Method in class org.xlightweb.NonBlockingBodyDataSource
Returns the index of the first occurrence of the given string.
invalidate() - Method in interface org.xlightweb.IHttpSession
Invalidates this session then unbinds any objects bound to it.
invalidate() - Method in class org.xlightweb.server.HttpSession
Invalidates this session then unbinds any objects bound to it.
InvokeOn - Annotation Type in org.xlightweb
Annotation which defines when a call back method will be call.
IPart - Interface in org.xlightweb
Part defintion
IPartHandler - Interface in org.xlightweb
Part handler
isAcceptEncdoingGzip(IHttpRequestHeader) - Static method in class org.xlightweb.HttpUtils
 
isAfter(String, long) - Static method in class org.xlightweb.HttpUtils
 
isAutoflush() - Method in class org.xlightweb.BodyDataSink
get autoflush
isAutohandleCookies() - Method in class org.xlightweb.client.HttpClient
returns if cookies should be auto handled
isAutoUncompress() - Method in class org.xlightweb.client.HttpClient
return true, if the response will be uncompressed (if compressed)
isAutoUncompress() - Method in class org.xlightweb.server.HttpProtocolAdapter
return true, if the request will be uncompressed (if compressed)
isAutoUncompress() - Method in class org.xlightweb.server.HttpServer
return true, if the request will be uncompressed (if compressed)
isAutoUncompress() - Method in interface org.xlightweb.server.IHttpServer
return true, if the request will be uncompressed (if compressed)
isCacheShared() - Method in class org.xlightweb.client.HttpClient
returns true, if the cache is shared between users
isCancelled() - Method in class org.xlightweb.FutureResponseHandler
Returns true if this task was cancelled before it completed normally.
isCancelled() - Method in interface org.xlightweb.IFutureResponse
Returns true if this task was cancelled before it completed normally.
isCloseOnSendingError() - Method in class org.xlightweb.server.HttpProtocolAdapter
returns if the server-side connection will closed, if an error message will be sent
isCloseOnSendingError() - Method in class org.xlightweb.server.HttpServer
returns if the server-side connection will closed, if an error message (4xx or 5xx) will be sent
isCloseOnSendingError() - Method in interface org.xlightweb.server.IHttpServer
returns if the server-side connection will closed, if an error message (4xx or 5xx) will be sent
isComplete(NonBlockingBodyDataSource) - Static method in class org.xlightweb.client.HttpClientConnection
 
isCompressableMimeType(String) - Static method in class org.xlightweb.HttpUtils
 
isConnectHandlerWarningIsSuppressed() - Static method in class org.xlightweb.HttpUtils
returns if the connect handler warning is suppressed

This is a xSocket internal method and subject to change
isContainExpect100ContinueHeader(IHttpMessageHeader) - Static method in class org.xlightweb.HttpUtils
returns true if the header contains a Expect: 100-continue header
isContainsExpect100ContinueHeader(IHttpRequest) - Static method in class org.xlightweb.HttpUtils
 
isDone() - Method in class org.xlightweb.FutureResponseHandler
Returns true if this task completed.
isDone() - Method in interface org.xlightweb.IFutureResponse
Returns true if this task completed.
isEmtpy() - Method in interface org.xlightweb.server.ISessionManager
returns true, if no session exists
isEmtpy() - Method in class org.xlightweb.server.SessionManager
returns true, if no session exists
ISessionManager - Interface in org.xlightweb.server
Session Manager.
isMethodMultithreaded(Class, String, boolean, Class...) - Static method in class org.xlightweb.HttpUtils
returns if the handler method is multi threaded

This is a xSocket internal method and subject to change
isMultipart() - Method in class org.xlightweb.BodyDataSink
 
isMultipart() - Method in class org.xlightweb.BodyDataSource
return true if the body is a mulipart
isMultipart() - Method in class org.xlightweb.NonBlockingBodyDataSource
return true if the body is a mulipart
isNetworkendpoint(NonBlockingBodyDataSource) - Static method in class org.xlightweb.client.HttpClientConnection
 
isNetworkendpoint() - Method in class org.xlightweb.NonBlockingBodyDataSource
 
isOpen() - Method in class org.xlightweb.BodyDataSink
returns true if the data sink is open
isOpen() - Method in class org.xlightweb.BodyDataSource
returns, if the connection is open.
isOpen() - Method in class org.xlightweb.client.HttpClient
isOpen() - Method in class org.xlightweb.NonBlockingBodyDataSource
returns true, if the body data source is open
isPersistent() - Method in interface org.xlightweb.IHttpConnection
returns if the connection is persistent
isReceivingSuspended() - Method in interface org.xlightweb.IHttpConnection
returns true if receiving is suspended
isSecure() - Method in class org.xlightweb.HttpRequest
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isSecure() - Method in class org.xlightweb.HttpRequestHeader
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isSecure() - Method in class org.xlightweb.HttpRequestHeaderWrapper
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isSecure() - Method in interface org.xlightweb.IHttpConnection
returns if the connection is in secured mode
isSecure() - Method in interface org.xlightweb.IHttpRequest
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isSecure() - Method in interface org.xlightweb.IHttpRequestHeader
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isServerSide() - Method in class org.xlightweb.client.HttpClientConnection
isServerSide() - Method in class org.xlightweb.server.HttpServerConnection
isSharedCache() - Method in class org.xlightweb.CacheHandler
returns true, if cache is shared
isShowDetailedError() - Static method in class org.xlightweb.HttpUtils
returns true, if detailed error messages should been shown.
isShowDetailedInfo() - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
isSupports100Contine(IHttpResponseHandler) - Static method in class org.xlightweb.client.HttpClientConnection
 
isTreat302RedirectAs303() - Method in class org.xlightweb.client.HttpClient
gets if a 302 response should be treat as a 303 response
isUsingCookies() - Method in class org.xlightweb.server.HttpProtocolAdapter
returns true, if cookies is used for session state management
isUsingCookies() - Method in class org.xlightweb.server.HttpServer
returns true, if cookies is used for session state management
isUsingCookies() - Method in interface org.xlightweb.server.IHttpServer
returns true, if cookies is used for session state management
isValid() - Method in interface org.xlightweb.IHttpSession
returns if the session is valid
isValid() - Method in class org.xlightweb.server.HttpSession
returns if the session is valid

L

LOG - Static variable in class org.xlightweb.server.SessionManager
 

M

Mapping - Annotation Type in org.xlightweb
Annotation which defines the URL-pattern mapping.
markReadPosition() - Method in class org.xlightweb.BodyDataSource
Marks the read position in the connection.
markReadPosition() - Method in class org.xlightweb.NonBlockingBodyDataSource
Marks the read position in the connection.
markWritePosition() - Method in class org.xlightweb.BodyDataSink
Marks the write position in the connection.
MESSAGE_RECEIVED - Static variable in annotation type org.xlightweb.InvokeOn
 
MultipartFormDataRequest - Class in org.xlightweb
A multipart/form-data request, which supports file uploads.
MultipartFormDataRequest(String) - Constructor for class org.xlightweb.MultipartFormDataRequest
constructor
MultipartRequest - Class in org.xlightweb
A multipart request.
MultipartRequest(String, String) - Constructor for class org.xlightweb.MultipartRequest
constructor
MultipartRequest(String, String, String) - Constructor for class org.xlightweb.MultipartRequest
constructor

N

NameValuePair - Class in org.xlightweb
Name-Value-Pair
NameValuePair(String) - Constructor for class org.xlightweb.NameValuePair
constructor
NameValuePair(String, String) - Constructor for class org.xlightweb.NameValuePair
constructor
newInMemoryBodyDataSink(String, IHttpMessageHeader) - Static method in class org.xlightweb.client.HttpClientConnection
 
newSession(String) - Method in interface org.xlightweb.server.ISessionManager
creates a new session
newSession(String) - Method in class org.xlightweb.server.SessionManager
creates a new session
NoMultipartTypeException - Exception in org.xlightweb
Checked exception thrown by accessing a non multipart body
NoMultipartTypeException(String) - Constructor for exception org.xlightweb.NoMultipartTypeException
constructor
NonBlockingBodyDataSource - Class in org.xlightweb
data source base implementation

O

onComplete() - Method in class org.xlightweb.BodyForwarder
call back which will be executed, if the body data source's end of data is reached
onComplete() - Method in interface org.xlightweb.IBodyCompleteListener
call back if the artifact is complete received
onConnect(IHttpConnection) - Method in interface org.xlightweb.IHttpConnectHandler
see IConnectHandler
onConnect(INonBlockingConnection) - Method in class org.xlightweb.server.HttpProtocolAdapter
onConnectionTimeout() - Method in class org.xlightweb.client.HttpClientConnection
onData(NonBlockingBodyDataSource) - Method in class org.xlightweb.BodyForwarder
call back.
onData(NonBlockingBodyDataSource, BodyDataSink) - Method in class org.xlightweb.BodyForwarder
call back method which will be called if the body data source contains a least one byte
onData(NonBlockingBodyDataSource) - Method in interface org.xlightweb.IBodyDataHandler
call back.
onDestroy() - Method in class org.xlightweb.CacheHandler
onDestroy() - Method in class org.xlightweb.Context
onDestroy() - Method in class org.xlightweb.RequestHandlerChain
onDestroy() - Method in class org.xlightweb.server.HttpProtocolAdapter
onDestroyed() - Method in interface org.xlightweb.IBodyDestroyListener
call back if the body is closed
onDisconnect() - Method in class org.xlightweb.client.HttpClientConnection
 
onDisconnect(IHttpConnection) - Method in interface org.xlightweb.IHttpDisconnectHandler
see IDisconnectHandler
onDisconnect() - Method in class org.xlightweb.server.HttpServerConnection
 
onException(Exception) - Method in class org.xlightweb.BodyForwarder
call back which will be executed, if an exception is occurred
onException(IOException) - Method in class org.xlightweb.FutureResponseHandler
call back method which will be called if an io exception occurs
onException(SocketTimeoutException) - Method in class org.xlightweb.FutureResponseHandler
call back method which will be called if an socket timeout exception occurs
onException(IOException) - Method in interface org.xlightweb.IHttpResponseHandler
call back method which will be called if an io exception occurs
onException(SocketTimeoutException) - Method in interface org.xlightweb.IHttpSocketTimeoutHandler
call back method which will be called if an socket timeout exception occurs
onHeaderAdded(String, String) - Method in class org.xlightweb.HttpRequestHeader
onHeaderAdded(String, String) - Method in class org.xlightweb.HttpResponseHeader
onHeaderRemoved(String) - Method in class org.xlightweb.HttpRequestHeader
onHeaderRemoved(String) - Method in class org.xlightweb.HttpResponseHeader
onIdleTimeout() - Method in class org.xlightweb.client.HttpClientConnection
onInit() - Method in class org.xlightweb.CacheHandler
onInit() - Method in class org.xlightweb.Context
onInit() - Method in class org.xlightweb.RequestHandlerChain
onInit() - Method in class org.xlightweb.server.HttpProtocolAdapter
onMessageCompleteReceived(IHttpMessageHeader) - Method in class org.xlightweb.client.HttpClientConnection
onMessageWritten() - Method in class org.xlightweb.server.HttpServerConnection
 
onPart(NonBlockingBodyDataSource) - Method in interface org.xlightweb.IPartHandler
 
onProtocolException(Exception) - Method in class org.xlightweb.server.HttpServerConnection
onRead() - Method in class org.xlightweb.NonBlockingBodyDataSource
 
onRequest(IHttpExchange) - Method in class org.xlightweb.CacheHandler
call back method, which will be called if a request message (header) is received
onRequest(IHttpExchange) - Method in class org.xlightweb.Context
call back method, which will be called if a request message (header) is received
onRequest(IHttpExchange) - Method in class org.xlightweb.FileServiceRequestHandler
 
onRequest(IHttpExchange) - Method in class org.xlightweb.HttpRequestHandler
call back method, which will be called if a request message (header) is received
onRequest(IHttpExchange) - Method in interface org.xlightweb.IHttpRequestHandler
call back method, which will be called if a request message (header) is received
onRequest(IHttpExchange) - Method in class org.xlightweb.RequestHandlerChain
call back method, which will be called if a request message (header) is received
onRequestTimeout(IHttpConnection) - Method in class org.xlightweb.Context
see IConnectionTimeoutHandler
onRequestTimeout(IHttpConnection) - Method in interface org.xlightweb.IHttpRequestTimeoutHandler
see IConnectionTimeoutHandler
onRequestTimeout(IHttpConnection) - Method in class org.xlightweb.RequestHandlerChain
 
onResponse(IHttpResponse) - Method in class org.xlightweb.FutureResponseHandler
call back method which will be called if the response is received
onResponse(IHttpResponse) - Method in interface org.xlightweb.IHttpResponseHandler
call back method which will be called if the response is received
OPTIONS_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
OptionsRequest - Class in org.xlightweb
OPTIONS request
OptionsRequest(String) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, String) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, String, boolean) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, String, String) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, String, String, boolean) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, byte[]) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, byte[], boolean) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, ByteBuffer[]) - Constructor for class org.xlightweb.OptionsRequest
constructor
OptionsRequest(String, String, ByteBuffer[], boolean) - Constructor for class org.xlightweb.OptionsRequest
constructor
org.xlightweb - package org.xlightweb
 
org.xlightweb.client - package org.xlightweb.client
 
org.xlightweb.server - package org.xlightweb.server
 

P

parseDateTimeString(String) - Static method in class org.xlightweb.HttpUtils
 
parseEncoding(String) - Static method in class org.xlightweb.HttpUtils
parse extracts the encoding parameter of the content type
parseEncodingWithDefault(String, String) - Static method in class org.xlightweb.HttpUtils
parse extracts the encoding parameter of the content type
parseHttpDateString(String) - Static method in class org.xlightweb.HttpUtils
 
parseLong(String, long) - Static method in class org.xlightweb.HttpUtils


This is a xSocket internal method and subject to change
Part - Class in org.xlightweb
Part
Part(String, String) - Constructor for class org.xlightweb.Part
constructor
Part(IHeader, String) - Constructor for class org.xlightweb.Part
constructor
Part(String, ByteBuffer[]) - Constructor for class org.xlightweb.Part
constructor
Part(File) - Constructor for class org.xlightweb.Part
constructor
Part(IHeader, File) - Constructor for class org.xlightweb.Part
constructor
Part(IHeader, ByteBuffer[]) - Constructor for class org.xlightweb.Part
constructor
Part(IHeader, NonBlockingBodyDataSource) - Constructor for class org.xlightweb.Part
constructor
POST_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
postDeregister() - Method in class org.xlightweb.server.HttpProtocolAdapter
postRegister(Boolean) - Method in class org.xlightweb.server.HttpProtocolAdapter
PostRequest - Class in org.xlightweb
POST request
PostRequest(String) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, String) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, String, boolean) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, File) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, File, boolean) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, String, String) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, String, String, boolean) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, byte[]) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, byte[], boolean) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, ByteBuffer[]) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, String, ByteBuffer[], boolean) - Constructor for class org.xlightweb.PostRequest
constructor
PostRequest(String, NameValuePair...) - Constructor for class org.xlightweb.PostRequest
constructor PostRequest req = new PostRequest(urlBase + "/login", new NameValuePair("name", "ItsMe")); ...
PostRequest(String, String[]) - Constructor for class org.xlightweb.PostRequest
constructor

Example: PostRequest req = new PostRequest(urlBase + "/login", new String[] { "name=ItsMe", "pwd=VerySecret" })); ...
preDeregister() - Method in class org.xlightweb.server.HttpProtocolAdapter
preRegister(MBeanServer, ObjectName) - Method in class org.xlightweb.server.HttpProtocolAdapter
ProtocolException - Exception in org.xlightweb
Checked exception thrown when a protocol error has been occured
ProtocolException(String, IHeader) - Constructor for exception org.xlightweb.ProtocolException
constructor
PUT_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
PutRequest - Class in org.xlightweb
PUT request
PutRequest(String) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, File) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, File, boolean) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, String) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, String, boolean) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, String, String) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, String, String, boolean) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, byte[]) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, byte[], boolean) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, ByteBuffer[]) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String, ByteBuffer[], boolean) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, NameValuePair...) - Constructor for class org.xlightweb.PutRequest
constructor
PutRequest(String, String[]) - Constructor for class org.xlightweb.PutRequest
constructor


R

read(ByteBuffer) - Method in class org.xlightweb.BodyDataSource
.
read(ByteBuffer) - Method in class org.xlightweb.NonBlockingBodyDataSource
see ReadableByteChannel.read(ByteBuffer)
readByte() - Method in class org.xlightweb.BodyDataSource
readByte() - Method in class org.xlightweb.NonBlockingBodyDataSource
read a byte
readByteBuffer() - Method in class org.xlightweb.BodyDataSource
read the body
readByteBufferByDelimiter(String) - Method in class org.xlightweb.BodyDataSource
readByteBufferByDelimiter(String, int) - Method in class org.xlightweb.BodyDataSource
readByteBufferByDelimiter(String, int) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a ByteBuffer by using a delimiter.
readByteBufferByLength(int) - Method in class org.xlightweb.BodyDataSource
readByteBufferByLength(int) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a ByteBuffer
readByteBufferByLengthSilence(NonBlockingBodyDataSource, int) - Static method in class org.xlightweb.client.HttpClientConnection
 
readBytes() - Method in class org.xlightweb.BodyDataSource
read the body
readBytesByDelimiter(String) - Method in class org.xlightweb.BodyDataSource
readBytesByDelimiter(String, int) - Method in class org.xlightweb.BodyDataSource
readBytesByDelimiter(String) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, int) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByLength(int) - Method in class org.xlightweb.BodyDataSource
readBytesByLength(int) - Method in class org.xlightweb.NonBlockingBodyDataSource
read bytes by using a length definition
readDouble() - Method in class org.xlightweb.BodyDataSource
readDouble() - Method in class org.xlightweb.NonBlockingBodyDataSource
read a double
readInt() - Method in class org.xlightweb.BodyDataSource
readInt() - Method in class org.xlightweb.NonBlockingBodyDataSource
read an int
readLong() - Method in class org.xlightweb.BodyDataSource
readLong() - Method in class org.xlightweb.NonBlockingBodyDataSource
read a long
readPart() - Method in class org.xlightweb.BodyDataSource
read the next part of the mulipart body.
readPart() - Method in class org.xlightweb.NonBlockingBodyDataSource
read the part of the multipart body.
readParts() - Method in class org.xlightweb.BodyDataSource
return all parts of the multipart body.
readShort() - Method in class org.xlightweb.BodyDataSource
readShort() - Method in class org.xlightweb.NonBlockingBodyDataSource
read a short value
readString() - Method in class org.xlightweb.BodyDataSource
read the body
readString(String) - Method in class org.xlightweb.BodyDataSource
read the body
readStringByDelimiter(String) - Method in class org.xlightweb.BodyDataSource
readStringByDelimiter(String, String) - Method in class org.xlightweb.BodyDataSource
read a string by using a delimiter
readStringByDelimiter(String, int) - Method in class org.xlightweb.BodyDataSource
readStringByDelimiter(String, int, String) - Method in class org.xlightweb.BodyDataSource
read a string by using a delimiter
readStringByDelimiter(String) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a string by using a delimiter
readStringByDelimiter(String, String) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a string by using a delimiter
readStringByDelimiter(String, int) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a string by using a delimiter
readStringByDelimiter(String, String, int) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a string by using a delimiter
readStringByLength(int) - Method in class org.xlightweb.BodyDataSource
readStringByLength(int, String) - Method in class org.xlightweb.BodyDataSource
read a string by using a length definition
readStringByLength(int) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a string by using a length definition
readStringByLength(int, String) - Method in class org.xlightweb.NonBlockingBodyDataSource
read a string by using a length definition
ReceiveTimeoutException - Exception in org.xlightweb
Checked exception thrown when a timeout has been reached
ReceiveTimeoutException() - Constructor for exception org.xlightweb.ReceiveTimeoutException
constructor
ReceiveTimeoutException(long) - Constructor for exception org.xlightweb.ReceiveTimeoutException
constructor
registerSession(HttpSession) - Method in interface org.xlightweb.server.ISessionManager
registers a session
registerSession(HttpSession) - Method in class org.xlightweb.server.SessionManager
registers a session
remove(IHttpRequestHandler) - Method in class org.xlightweb.RequestHandlerChain
removes the handler
removeAttribute(String) - Method in interface org.xlightweb.IHttpSession
Removes the object bound with the specified name from this session.
removeAttribute(String) - Method in class org.xlightweb.server.HttpSession
Removes the object bound with the specified name from this session.
removeConnectionHandler(IHttpConnectionHandler) - Method in interface org.xlightweb.IHttpConnection
removes a connectrion handler
removeHeader(String) - Method in class org.xlightweb.Header
removes a header with the given name
removeHeader(String) - Method in interface org.xlightweb.IHeader
removes a header with the given name
removeHeader(String) - Method in class org.xlightweb.Part
removes a header with the given name
removeHopByHopHeaders() - Method in class org.xlightweb.HttpRequestHeaderWrapper
removes all hop-by-hop headers without Transfer-Encoding if set to chunked
removeHopByHopHeaders() - Method in interface org.xlightweb.IHttpMessage
removes all hop-by-hop headers without Transfer-Encoding if set to chunked
removeHopByHopHeaders() - Method in interface org.xlightweb.IHttpMessageHeader
removes all hop-by-hop headers without Transfer-Encoding if set to chunked
removeListener(ILifeCycle) - Method in class org.xlightweb.client.HttpClient
removeMatrixParameter(String) - Method in class org.xlightweb.HttpRequest
removes a matrix parameter
removeMatrixParameter(String) - Method in class org.xlightweb.HttpRequestHeader
removes a matrix parameter
removeMatrixParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
removes a matrix parameter
removeMatrixParameter(String) - Method in interface org.xlightweb.IHttpRequest
removes a matrix parameter
removeMatrixParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
removes a matrix parameter
removeMediaTypeParameters(String) - Static method in class org.xlightweb.HttpUtils
returns the given media type string without parameters
removeMessageHandler(AbstractHttpConnection.IMessageHeaderHandler) - Method in class org.xlightweb.client.HttpClientConnection
removeParameter(String) - Method in class org.xlightweb.HttpRequest
remove a parameter
removeParameter(String) - Method in class org.xlightweb.HttpRequestHeader
remove a parameter
removeParameter(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
remove a parameter
removeParameter(String) - Method in class org.xlightweb.HttpRequestWrapper
remove a parameter
removeParameter(String) - Method in interface org.xlightweb.IHttpRequest
remove a parameter
removeParameter(String) - Method in interface org.xlightweb.IHttpRequestHeader
remove a parameter
removeReadMark() - Method in class org.xlightweb.BodyDataSource
remove the read mark
removeReadMark() - Method in class org.xlightweb.NonBlockingBodyDataSource
remove the read mark
removeSession(String) - Method in interface org.xlightweb.server.ISessionManager
removes a session
removeSession(String) - Method in class org.xlightweb.server.SessionManager
removes a session
removeSurroundingSlashes(String) - Static method in class org.xlightweb.HttpUtils
 
removeWriteMark() - Method in class org.xlightweb.BodyDataSink
remove the write mark
RequestHandlerChain - Class in org.xlightweb
Implements a handler chain.
RequestHandlerChain() - Constructor for class org.xlightweb.RequestHandlerChain
constructor
RequestHandlerChain(List<IHttpRequestHandler>) - Constructor for class org.xlightweb.RequestHandlerChain
constructor
resetToReadMark() - Method in class org.xlightweb.BodyDataSource
Resets to the marked read position.
resetToReadMark() - Method in class org.xlightweb.NonBlockingBodyDataSource
Resets to the marked read position.
resetToWriteMark() - Method in class org.xlightweb.BodyDataSink
Resets to the marked write position.
resolveContentTypeByFileExtension(File) - Static method in class org.xlightweb.HttpUtils
returns the content type based on the file extension
resumeReceiving() - Method in interface org.xlightweb.IHttpConnection
resume receiving data from the underlying subsystem

S

saveSession(String) - Method in interface org.xlightweb.server.ISessionManager
save the session
saveSession(String) - Method in class org.xlightweb.server.SessionManager
save the session
schedule(TimerTask, long, long) - Static method in class org.xlightweb.client.HttpClientConnection
schedules a timer task
schedule(TimerTask, long, long) - Static method in class org.xlightweb.server.HttpServerConnection
schedules the task
send(IHttpRequest) - Method in class org.xlightweb.client.HttpClient
send the request.
send(IHttpRequest, IHttpResponseHandler) - Method in class org.xlightweb.client.HttpClient
send the request.
send(IHttpRequestHeader, int, IHttpResponseHandler) - Method in class org.xlightweb.client.HttpClient
send the request in a plain body mode

Connection-LifeCycle support: If the request header contains a 'Connection: close' entry, the connection will be closed after the HTTP transaction
send(IHttpRequestHeader, IHttpResponseHandler) - Method in class org.xlightweb.client.HttpClient
send the request.
send(IHttpRequestHeader, IHttpResponseHandler) - Method in class org.xlightweb.client.HttpClientConnection
send the request.
send(IHttpRequestHeader, int, IHttpResponseHandler) - Method in class org.xlightweb.client.HttpClientConnection
send the request in a plain body mode

Connection-LifeCycle support: If the request header contains a 'Connection: close' entry, the connection will be closed after the HTTP transaction
send(IHttpRequest) - Method in class org.xlightweb.client.HttpClientConnection
send the request.
send(IHttpRequest, IHttpResponseHandler) - Method in class org.xlightweb.client.HttpClientConnection
send the request.
send(IHttpRequestHeader, IHttpResponseHandler) - Method in interface org.xlightweb.client.IHttpClientEndpoint
send the request.
send(IHttpRequestHeader, int, IHttpResponseHandler) - Method in interface org.xlightweb.client.IHttpClientEndpoint
send the request in a plain body mode

Connection-LifeCycle support: If the request header contains a 'Connection: close' entry, the connection will be closed after the HTTP transaction
send(IHttpRequest, IHttpResponseHandler) - Method in interface org.xlightweb.client.IHttpClientEndpoint
send the request.
send(IHttpRequest) - Method in interface org.xlightweb.client.IHttpClientEndpoint
send the request.
send(IHttpResponseHeader) - Method in interface org.xlightweb.IHttpExchange
send the response.
send(IHttpResponseHeader, int) - Method in interface org.xlightweb.IHttpExchange
send the response in a plain body non-blocking mode.
send(IHttpResponse) - Method in interface org.xlightweb.IHttpExchange
send the response.
sendContinueIfRequested() - Method in interface org.xlightweb.IHttpExchange
send a 100 Continue response if the request contains a Expect: 100-Continue header.
sendError(int, String) - Method in interface org.xlightweb.IHttpExchange
send an error response
sendError(int) - Method in interface org.xlightweb.IHttpExchange
send an error response
sendError(Exception) - Method in interface org.xlightweb.IHttpExchange
send an error response
sendRedirect(String) - Method in interface org.xlightweb.IHttpExchange
Sends a temporary redirect response using the specified redirect location URL.
SESSION - Static variable in annotation type org.xlightweb.SynchronizedOn
 
SessionManager - Class in org.xlightweb.server
In-memory SessionManager implementation.
SessionManager() - Constructor for class org.xlightweb.server.SessionManager
constructor
setAttachment(Object) - Method in class org.xlightweb.BodyDataSink
Attaches the given object to this connection
setAttribute(String, Object) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Stores an attribute in this header.
setAttribute(String, Object) - Method in interface org.xlightweb.IHttpMessage
Stores an attribute in this header.
setAttribute(String, Object) - Method in interface org.xlightweb.IHttpMessageHeader
Stores an attribute in this header.
setAttribute(String, Object) - Method in interface org.xlightweb.IHttpSession
Binds an object to this session, using the name specified.
setAttribute(String, Object) - Method in class org.xlightweb.server.HttpSession
Binds an object to this session, using the name specified.
setAutoCompressThresholdBytes(int) - Method in class org.xlightweb.server.HttpProtocolAdapter
sets the autocompress threshold of responses
setAutoCompressThresholdBytes(int) - Method in class org.xlightweb.server.HttpServer
sets the autocompress threshold of responses.
setAutoCompressThresholdBytes(int) - Method in interface org.xlightweb.server.IHttpServer
sets the autocompress threshold of responses.
setAutoflush(boolean) - Method in class org.xlightweb.BodyDataSink
set autoflush.
setAutoHandleCookies(boolean) - Method in class org.xlightweb.client.HttpClient
sets if cookies should be auto handled
setAutoUncompress(boolean) - Method in class org.xlightweb.client.HttpClient
set if the response will be uncompressed (if compressed)
setAutoUncompress(boolean) - Method in class org.xlightweb.server.HttpProtocolAdapter
set if the request will be uncompressed (if compressed)
setAutoUncompress(boolean) - Method in class org.xlightweb.server.HttpServer
set if the request will be uncompressed (if compressed)
setAutoUncompress(boolean) - Method in interface org.xlightweb.server.IHttpServer
set if the request will be uncompressed (if compressed)
setBodyDataReceiveTimeoutMillis(long) - Method in class org.xlightweb.client.HttpClient
setBodyDataReceiveTimeoutMillis(long) - Method in interface org.xlightweb.IHttpConnection
set the body data receive timeout
setBodyDataReceiveTimeoutMillis(long) - Method in class org.xlightweb.NonBlockingBodyDataSource
set the body data receive timeout
setBodyDataReceiveTimeoutMillis(long) - Method in class org.xlightweb.server.HttpProtocolAdapter
set the body data receive timeout
setBodyDataReceiveTimeoutMillis(long) - Method in class org.xlightweb.server.HttpServer
set the body data receive timeout
setBodyDataReceiveTimeoutMillis(long) - Method in interface org.xlightweb.server.IHttpServer
set the body data receive timeout
setBodyPartHandler(IPartHandler) - Method in class org.xlightweb.NonBlockingBodyDataSource
set the part handler.
setCacheMaxSizeKB(int) - Method in class org.xlightweb.client.HttpClient
sets the cache size (in kilo bytes)
setCacheShared(boolean) - Method in class org.xlightweb.client.HttpClient
sets if the cache is shared between users
setCallReturnOnMessage(boolean) - Method in class org.xlightweb.client.HttpClient
set that the call will return if the complete message is received.
setCloseOnSendingError(boolean) - Method in class org.xlightweb.server.HttpProtocolAdapter
set is if the server-side connection will closed, if an error message is sent
setCloseOnSendingError(boolean) - Method in class org.xlightweb.server.HttpServer
set is if the server-side connection will closed, if an error message (4xx or 5xx) is sent
setCloseOnSendingError(boolean) - Method in interface org.xlightweb.server.IHttpServer
set is if the server-side connection will closed, if an error message (4xx or 5xx) is sent
setConnectTimeoutMillis(int) - Method in class org.xlightweb.client.HttpClient
sets the connect timeout
setContentLength(int) - Method in class org.xlightweb.HttpRequestHeaderWrapper
sets the content length in bytes
setContentLength(int) - Method in interface org.xlightweb.IHttpMessage
sets the content length in bytes
setContentLength(int) - Method in interface org.xlightweb.IHttpMessageHeader
sets the content length in bytes
setContentType(String) - Method in class org.xlightweb.Header
sets the MIME type of the body of the part
setContentType(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
sets the MIME type of the body of the part
setContentType(String) - Method in interface org.xlightweb.IHeader
sets the MIME type of the body of the part
setContentType(String) - Method in interface org.xlightweb.IHttpMessage
sets the MIME type of the body of the message
setContentType(String) - Method in class org.xlightweb.Part
sets the MIME type of the body of the part
setContextPath(String) - Method in class org.xlightweb.HttpRequest
sets the context path.
setContextPath(String) - Method in class org.xlightweb.HttpRequestWrapper
sets the context path.
setContextPath(String) - Method in interface org.xlightweb.IHttpRequest
sets the context path.
setDataHandler(IBodyDataHandler) - Method in class org.xlightweb.NonBlockingBodyDataSource
set the body handler
setDataHandlerSilence(NonBlockingBodyDataSource, IBodyDataHandler) - Static method in class org.xlightweb.client.HttpClientConnection
 
setDate(String) - Method in class org.xlightweb.HttpResponse
sets the Date header parameter
setDate(long) - Method in class org.xlightweb.HttpResponse
set the date header of the response
setDate(long) - Method in class org.xlightweb.HttpResponseHeader
set the date header of the response
setDate(String) - Method in class org.xlightweb.HttpResponseHeader
sets the Date header parameter
setDate(String) - Method in interface org.xlightweb.IHttpResponse
sets the Date header parameter
setDate(String) - Method in interface org.xlightweb.IHttpResponseHeader
sets the Date header parameter
setEncoding(String) - Method in class org.xlightweb.BodyDataSink
sets the default encoding
setExpireHeaders(int) - Method in class org.xlightweb.HttpResponse
set the caching expires headers of a response
setExpireHeaders(int) - Method in class org.xlightweb.HttpResponseHeader
set the caching expires headers of a response
setExpireHeaders(IHttpResponseHeader, int) - Static method in class org.xlightweb.HttpUtils
set the caching expires headers of a response
setFlushmode(IConnection.FlushMode) - Method in class org.xlightweb.BodyDataSink
see IConnection#setFlushmode(FlushMode)
setFollowsRedirect(boolean) - Method in class org.xlightweb.client.HttpClient
sets if redirects should be followed.
setHeader(String, String) - Method in class org.xlightweb.Header
Sets a header with the given name and value.
setHeader(String, String) - Method in interface org.xlightweb.IHeader
Sets a header with the given name and value.
setHeader(String, String) - Method in class org.xlightweb.Part
Sets a header with the given name and value.
setHost(String) - Method in class org.xlightweb.HttpRequest
sets the Host header
setHost(String) - Method in class org.xlightweb.HttpRequestHeader
sets the Host header (e.g. www.gmx.com or www.gmx.com:9900).
setHost(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
sets the Host header (e.g. www.gmx.com or www.gmx.com:9900).
setHost(String) - Method in class org.xlightweb.HttpRequestWrapper
sets the Host header (e.g. www.gmx.com or www.gmx.com:9900).
setHost(String) - Method in interface org.xlightweb.IHttpRequest
sets the Host header
setHost(String) - Method in interface org.xlightweb.IHttpRequestHeader
sets the Host header (e.g. www.gmx.com or www.gmx.com:9900).
setLastModifiedHeader(long) - Method in class org.xlightweb.HttpResponse
set a last modified header of the response
setLastModifiedHeader(long) - Method in class org.xlightweb.HttpResponseHeader
set a last modified header of the response
setLastModifiedHeader(IHttpResponseHeader, long) - Static method in class org.xlightweb.HttpUtils
set a last modified header of the response
setMatrixParameter(String, String) - Method in class org.xlightweb.HttpRequest
sets a matrix parameter
setMatrixParameter(String, String) - Method in class org.xlightweb.HttpRequestHeader
sets a matrix parameter
setMatrixParameter(String, String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
sets a matrix parameter
setMatrixParameter(String, String) - Method in interface org.xlightweb.IHttpRequest
sets a matrix parameter
setMatrixParameter(String, String) - Method in interface org.xlightweb.IHttpRequestHeader
sets a matrix parameter
setMaxActive(int) - Method in class org.xlightweb.client.HttpClient
setMaxActivePerServer(int) - Method in class org.xlightweb.client.HttpClient
setMaxCacheSizeKB(int) - Method in class org.xlightweb.CacheHandler
set the max cache size
setMaxIdle(int) - Method in class org.xlightweb.client.HttpClient
setMaxInactiveInterval(int) - Method in interface org.xlightweb.IHttpSession
Specifies the time, in seconds, between client requests before the container will invalidate this session.
setMaxInactiveInterval(int) - Method in class org.xlightweb.server.HttpSession
Specifies the time, in seconds, between client requests before the container will invalidate this session.
setMaxRedirects(int) - Method in class org.xlightweb.client.HttpClient
set the max redirects
setMaxRetries(int) - Method in class org.xlightweb.client.HttpClient
sets the max retries (of GET, DELETE and PUT calls)
setMaxTransactions(int) - Method in class org.xlightweb.server.HttpProtocolAdapter
set the max transactions per connection.
setMaxTransactions(int) - Method in class org.xlightweb.server.HttpServer
set the max transactions per connection.
setMaxTransactions(int) - Method in class org.xlightweb.server.HttpServerConnection
set the max transactions per connection.
setMaxTransactions(int) - Method in interface org.xlightweb.server.IHttpServer
set the max transactions per connection.
setMethod(String) - Method in class org.xlightweb.HttpRequest
Sets the name of the HTTP method
setMethod(String) - Method in class org.xlightweb.HttpRequestHeader
Sets the name of the HTTP method
setMethod(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
Sets the name of the HTTP method
setMethod(String) - Method in interface org.xlightweb.IHttpRequest
Sets the name of the HTTP method
setMethod(String) - Method in interface org.xlightweb.IHttpRequestHeader
Sets the name of the HTTP method
setParameter(String, String) - Method in class org.xlightweb.ContentType
Set a specified parameter
setParameter(String, String) - Method in class org.xlightweb.HttpRequest
sets a parameter
setParameter(String, String) - Method in class org.xlightweb.HttpRequestHeader
sets a parameter
setParameter(String, String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
sets a parameter
setParameter(String, String) - Method in class org.xlightweb.HttpRequestWrapper
sets a parameter
setParameter(String, String) - Method in interface org.xlightweb.IHttpRequest
sets a parameter
setParameter(String, String) - Method in interface org.xlightweb.IHttpRequestHeader
sets a parameter
setPooledMaxIdleTimeMillis(int) - Method in class org.xlightweb.client.HttpClient
setPooledMaxLifeTimeMillis(int) - Method in class org.xlightweb.client.HttpClient
setPrimaryType(String) - Method in class org.xlightweb.ContentType
Set the primary type
setProtocol(String) - Method in class org.xlightweb.HttpResponse
sets the protocol
setProtocol(String) - Method in class org.xlightweb.HttpResponseHeader
sets the protocol
setProtocol(String) - Method in interface org.xlightweb.IHttpResponse
sets the protocol
setProtocol(String) - Method in interface org.xlightweb.IHttpResponseHeader
sets the protocol
setProxyHost(String) - Method in class org.xlightweb.client.HttpClient
sets the proxy host to use.
setProxyPassword(String) - Method in class org.xlightweb.client.HttpClient
sets the user password for proxy authentification
setProxyPort(int) - Method in class org.xlightweb.client.HttpClient
sets the proxy port.
setProxyUser(String) - Method in class org.xlightweb.client.HttpClient
sets the user name for proxy authentification
setReason(String) - Method in class org.xlightweb.HttpResponse
sets the reason
setReason(String) - Method in class org.xlightweb.HttpResponseHeader
sets the reason
setReason(String) - Method in interface org.xlightweb.IHttpResponse
sets the reason
setReason(String) - Method in interface org.xlightweb.IHttpResponseHeader
sets the reason
setReceiveTimeoutSec(int) - Method in class org.xlightweb.BodyDataSource
sets the receive time out by reading data
setRequestBodyDefaultEncoding(String) - Method in class org.xlightweb.server.HttpProtocolAdapter
set the request body default encoding.
setRequestBodyDefaultEncoding(String) - Method in class org.xlightweb.server.HttpServer
set the request body default encoding.
setRequestBodyDefaultEncoding(String) - Method in class org.xlightweb.server.HttpServerConnection
set the request body default encoding.
setRequestBodyDefaultEncoding(String) - Method in interface org.xlightweb.server.IHttpServer
set the request body default encoding.
setRequestHandlerPath(String) - Method in class org.xlightweb.HttpRequest
sets the request handler path
setRequestHandlerPath(String) - Method in class org.xlightweb.HttpRequestWrapper
sets the request handler path
setRequestHandlerPath(String) - Method in interface org.xlightweb.IHttpRequest
sets the request handler path
setRequestTimeoutMillis(long) - Method in class org.xlightweb.server.HttpProtocolAdapter
sets the message receive timeout
setRequestTimeoutMillis(long) - Method in class org.xlightweb.server.HttpServer
sets the message receive timeout
setRequestTimeoutMillis(long) - Method in class org.xlightweb.server.HttpServerConnection
set the max receive timeout which is accepted for the connection.
setRequestTimeoutMillis(long) - Method in interface org.xlightweb.server.IHttpServer
sets the message receive timeout
setRequestURI(String) - Method in class org.xlightweb.HttpRequest
 
setRequestURI(String) - Method in class org.xlightweb.HttpRequestHeader
set the request uri part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
setRequestURI(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
set the request uri part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
setRequestURI(String) - Method in interface org.xlightweb.IHttpRequest
set the request uri part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
setRequestURI(String) - Method in interface org.xlightweb.IHttpRequestHeader
set the request uri part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
setRequestUrl(URL) - Method in class org.xlightweb.HttpRequest
set the request url
setRequestUrl(URL) - Method in class org.xlightweb.HttpRequestHeader
set the request url
setRequestUrl(URL) - Method in class org.xlightweb.HttpRequestHeaderWrapper
set the request url
setRequestUrl(URL) - Method in interface org.xlightweb.IHttpRequest
set the request url
setRequestUrl(URL) - Method in interface org.xlightweb.IHttpRequestHeader
set the request url
setResponseBodyDefaultEncoding(String) - Method in class org.xlightweb.client.HttpClient
set the response body default encoding.
setResponseBodyDefaultEncoding(String) - Method in class org.xlightweb.client.HttpClientConnection
set the response body default encoding.
setResponseTimeoutMillis(long) - Method in class org.xlightweb.client.HttpClient
set the response time out by performing the call or send method.
setResponseTimeoutMillis(long) - Method in class org.xlightweb.client.HttpClientConnection
set the response time out by performing the call or send method.
setResponseTimeoutMillis(long) - Method in interface org.xlightweb.client.IHttpClientEndpoint
set the response time out by performing the call or send method.
setSendTimeoutMillis(long) - Method in class org.xlightweb.BodyDataSink
set the sendtimout
setServer(String) - Method in class org.xlightweb.HttpResponse
sets the Server header parameter
setServer(String) - Method in class org.xlightweb.HttpResponseHeader
sets the Server header parameter
setServer(String) - Method in interface org.xlightweb.IHttpResponse
sets the Server header parameter
setServer(String) - Method in interface org.xlightweb.IHttpResponseHeader
sets the Server header parameter
setSessionManager(ISessionManager) - Method in class org.xlightweb.server.HttpProtocolAdapter
sets the session manager
setSessionManager(ISessionManager) - Method in class org.xlightweb.server.HttpServer
sets the session manager
setSessionManager(ISessionManager) - Method in interface org.xlightweb.server.IHttpServer
sets the session manager
setSessionMaxInactiveIntervalSec(int) - Method in class org.xlightweb.server.HttpProtocolAdapter
sets the session max inactive interval in seconds
setSessionMaxInactiveIntervalSec(int) - Method in class org.xlightweb.server.HttpServer
sets the session max inactive interval in seconds
setSessionMaxInactiveIntervalSec(int) - Method in interface org.xlightweb.server.IHttpServer
sets the session max inactive interval in seconds
setSharedCache(boolean) - Method in class org.xlightweb.CacheHandler
set true, if cache is shared
setShowDetailedInfo(boolean) - Method in interface org.xlightweb.server.HttpProtocolAdapter.SessionManagerInfoMBean
 
setStatus(int) - Method in class org.xlightweb.HttpResponse
sets the status
setStatus(int) - Method in class org.xlightweb.HttpResponseHeader
sets the status
setStatus(int) - Method in interface org.xlightweb.IHttpResponse
sets the status
setStatus(int) - Method in interface org.xlightweb.IHttpResponseHeader
sets the status
setSubType(String) - Method in class org.xlightweb.ContentType
Set the subType
setTransferEncoding(String) - Method in class org.xlightweb.Header
sets the Transfer-Encoding parameter
setTransferEncoding(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
sets the Transfer-Encoding parameter
setTransferEncoding(String) - Method in interface org.xlightweb.IHeader
sets the Transfer-Encoding parameter
setTransferEncoding(String) - Method in interface org.xlightweb.IHttpMessage
sets the Transfer-Encoding parameter
setTransferEncoding(String) - Method in class org.xlightweb.Part
sets the Transfer-Encoding parameter
setTreat302RedirectAs303(boolean) - Method in class org.xlightweb.client.HttpClient
sets if a 302 response should be treat as a 303 response
setUserAgent(String) - Method in class org.xlightweb.HttpRequest
sets the User-Agent header
setUserAgent(String) - Method in class org.xlightweb.HttpRequestHeader
sets the User-Agent header
setUserAgent(String) - Method in class org.xlightweb.HttpRequestHeaderWrapper
sets the User-Agent header
setUserAgent(String) - Method in class org.xlightweb.HttpRequestWrapper
sets the User-Agent header
setUserAgent(String) - Method in interface org.xlightweb.IHttpRequest
sets the User-Agent header
setUserAgent(String) - Method in interface org.xlightweb.IHttpRequestHeader
sets the User-Agent header
setUsingCookies(boolean) - Method in class org.xlightweb.server.HttpProtocolAdapter
sets if cookies is used for session state management
setUsingCookies(boolean) - Method in class org.xlightweb.server.HttpServer
sets if cookies is used for session state management
setUsingCookies(boolean) - Method in interface org.xlightweb.server.IHttpServer
sets if cookies is used for session state management
setWorkerpool(Executor) - Method in class org.xlightweb.client.HttpClient
set the worker pool which will be assigned to the connections for call back handling
setWriteTransferRate(int) - Method in interface org.xlightweb.IHttpConnection
set the send delay time.
SHOW_DETAILED_ERROR_DEFAULT - Static variable in interface org.xlightweb.IHttpExchange
 
SHOW_DETAILED_ERROR_KEY - Static variable in interface org.xlightweb.IHttpExchange
System property key to define if detailed error should been shown in error page
SHOW_DIRECTORY_TREE_DEFAULT - Static variable in class org.xlightweb.FileServiceRequestHandler
 
size() - Method in class org.xlightweb.BodyDataSource
get the body size
size() - Method in class org.xlightweb.Context
returns the current size
Supports100Continue - Annotation Type in org.xlightweb
Annotation which defines the handler handles the Expect: 100-Continue header.
suspendReceiving() - Method in interface org.xlightweb.IHttpConnection
suspend receiving data from the underlying subsystem
SynchronizedOn - Annotation Type in org.xlightweb
Annotation which defines the synchronization context by performing call back methods.

T

toDateTimeString(Date) - Static method in class org.xlightweb.HttpUtils
 
toInputStream() - Method in class org.xlightweb.BodyDataSource
returns this ReadableByteChannel as InputStream
toIOException(Throwable) - Static method in class org.xlightweb.HttpUtils
wraps a exception with an io exception
toReader() - Method in class org.xlightweb.BodyDataSource
returns this ReadableByteChannel as Reader
toRFC1123DateString(Date) - Static method in class org.xlightweb.HttpUtils
 
toString() - Method in class org.xlightweb.BodyDataSource
toString() - Method in class org.xlightweb.client.HttpClient
toString() - Method in class org.xlightweb.client.HttpClientConnection
toString() - Method in class org.xlightweb.ContentType
toString() - Method in class org.xlightweb.Context
toString() - Method in class org.xlightweb.FormURLEncodedBody
toString() - Method in class org.xlightweb.Header
 
toString() - Method in class org.xlightweb.HttpRequestHeader
toString() - Method in class org.xlightweb.HttpRequestHeaderWrapper
 
toString() - Method in class org.xlightweb.HttpRequestWrapper
toString() - Method in class org.xlightweb.HttpResponse
 
toString() - Method in class org.xlightweb.HttpResponseHeader
toString() - Method in class org.xlightweb.NonBlockingBodyDataSource
toString() - Method in class org.xlightweb.Part
toString() - Method in class org.xlightweb.RequestHandlerChain
 
toString() - Method in class org.xlightweb.server.HttpSession
toString() - Method in class org.xlightweb.server.SessionManager
TRACE_METHOD - Static variable in interface org.xlightweb.IHttpMessage
 
transferFrom(ReadableByteChannel, int) - Method in class org.xlightweb.BodyDataSink
transferFrom(FileChannel) - Method in class org.xlightweb.BodyDataSink
transferFrom(NonBlockingBodyDataSource) - Method in class org.xlightweb.BodyDataSink
transfer the available data from the data source
transferFrom(NonBlockingBodyDataSource, int) - Method in class org.xlightweb.BodyDataSink
transfer the available data from the data source
transferFrom(BodyDataSource) - Method in class org.xlightweb.BodyDataSink
transfer all data from the data source
transferFrom(BodyDataSource, int) - Method in class org.xlightweb.BodyDataSink
transfer data from the data source
transferFrom(InputStream) - Method in class org.xlightweb.BodyDataSink
transfer all data from the data source
transferFrom(ReadableByteChannel) - Method in class org.xlightweb.BodyDataSink
transferTo(WritableByteChannel, int) - Method in class org.xlightweb.BodyDataSource
transferTo(WritableByteChannel) - Method in class org.xlightweb.BodyDataSource
transfers the content to the given channel
transferTo(BodyDataSink) - Method in class org.xlightweb.BodyDataSource
transfer the available data of the this source channel to the given data sink
transferTo(OutputStream) - Method in class org.xlightweb.BodyDataSource
transfer the available data of the this source channel to the given data sink
transferTo(BodyDataSink, int) - Method in class org.xlightweb.BodyDataSource
transfer the data of the this source channel to the given data sink
transferTo(BodyDataSink) - Method in class org.xlightweb.NonBlockingBodyDataSource
transfer the available data of the this source channel to the given data sink
transferTo(BodyDataSink, int) - Method in class org.xlightweb.NonBlockingBodyDataSource
transfer the data of the this source channel to the given data sink
transferTo(WritableByteChannel, int) - Method in class org.xlightweb.NonBlockingBodyDataSource
transfer the data of the this source channel to the given data sink
transferTo(File, NonBlockingBodyDataSource.ITransferResultHandler) - Method in class org.xlightweb.NonBlockingBodyDataSource
transfer the data of the this source channel to the given file

V

validateSufficientDatasizeByIntLengthField(NonBlockingBodyDataSource) - Static method in class org.xlightweb.HttpUtils
validate, based on a leading int length field.
validateSufficientDatasizeByIntLengthField(NonBlockingBodyDataSource, boolean) - Static method in class org.xlightweb.HttpUtils
validate, based on a leading int length field, that enough data (getNumberOfAvailableBytes() >= length) is available.

W

write(ByteBuffer[], IWriteCompletionHandler) - Method in class org.xlightweb.BodyDataSink
writes a buffer array
write(ByteBuffer) - Method in class org.xlightweb.BodyDataSink
write(ByteBuffer[]) - Method in class org.xlightweb.BodyDataSink
write(byte) - Method in class org.xlightweb.BodyDataSink
write(byte...) - Method in class org.xlightweb.BodyDataSink
write(byte[], int, int) - Method in class org.xlightweb.BodyDataSink
write(ByteBuffer[], int, int) - Method in class org.xlightweb.BodyDataSink
write(List<ByteBuffer>) - Method in class org.xlightweb.BodyDataSink
write(int) - Method in class org.xlightweb.BodyDataSink
write(short) - Method in class org.xlightweb.BodyDataSink
write(long) - Method in class org.xlightweb.BodyDataSink
write(double) - Method in class org.xlightweb.BodyDataSink
write(String) - Method in class org.xlightweb.BodyDataSink
writePart(IHeader) - Method in class org.xlightweb.BodyDataSink
 
writePart(IPart) - Method in class org.xlightweb.BodyDataSink
 

A B C D E F G H I L M N O P R S T V W