- generate(StringBuilder) - Method in class ej.hoka.http.support.AcceptEncoding
-
Not implemented.
- generate(StringBuilder) - Method in class ej.hoka.http.support.CharacterSeparatedList
-
Generates a String representation.
- generate(StringBuilder) - Method in class ej.hoka.http.support.ContentType
-
Appends the current character set to the StringBuffer
sb
in the following form:
;charset=<character-set-string>
.
- generate(StringBuilder) - Method in class ej.hoka.http.support.ParameterizedArgument
-
Appends the current argument to the StringBuffer
sb
.
- generateExpiration() - Method in class ej.hoka.auth.SessionAuthenticator
-
Generates the expiration date using the current real time.
- generateSessionID() - Method in class ej.hoka.auth.SessionAuthenticator
-
Generates a new session ID encoded in base64.
- get(HTTPRequest, Map<String, String>) - Method in class ej.hoka.auth.session.LoginEndpoint
-
- get(HTTPRequest, Map<String, String>) - Method in class ej.hoka.auth.session.LogoutEndpoint
-
- GET - Static variable in class ej.hoka.http.HTTPRequest
-
- get(HTTPRequest, Map<String, String>) - Method in class ej.hoka.rest.endpoint.AliasEndpoint
-
- get(HTTPRequest, Map<String, String>) - Method in class ej.hoka.rest.endpoint.ResourceRestEndpoint
-
- get(HTTPRequest, Map<String, String>) - Method in class ej.hoka.rest.RestEndpoint
-
Handles GET
request on this endpoint.
- getAcceptEncodingHandler(String) - Method in class ej.hoka.http.encoding.HTTPEncodingRegistry
-
Returns the most suitable
IHTTPEncodingHandler
to match the encodings described in
Accept-Encoding
header.
- getArgument() - Method in class ej.hoka.http.support.ParameterizedArgument
-
Returns current argument.
- getCharset() - Method in class ej.hoka.http.support.ContentType
-
Returns the optional charset.
- getChunkedTransferCodingHandler() - Method in class ej.hoka.http.encoding.HTTPEncodingRegistry
-
- getCookie(String) - Method in class ej.hoka.http.HTTPRequest
-
Return the cookie of the request with given name.
- getCookies() - Method in class ej.hoka.http.HTTPRequest
-
Returns the cookies of the request.
- getEncodingHandler(String) - Method in class ej.hoka.http.encoding.HTTPEncodingRegistry
-
- getEncodings() - Method in class ej.hoka.http.support.AcceptEncoding
-
- getEndpoint() - Method in class ej.hoka.rest.endpoint.AliasEndpoint
-
Gets the endpoint.
- getHeader() - Method in class ej.hoka.http.HTTPRequest
-
Returns all HTTP header fields of the request.
- getHeader() - Method in class ej.hoka.http.HTTPResponse
-
Returns the response header.
- getHeaderField(String) - Method in class ej.hoka.http.HTTPRequest
-
Returns the header field value associated to the given header field name
.
- getHeaderField(String) - Method in class ej.hoka.http.HTTPResponse
-
Returns the header field value associated to the given header field key
.
- getHeaders() - Method in class ej.hoka.http.body.HTTPPart
-
Gets the headers.
- getId() - Method in class ej.hoka.http.encoding.ChunkedTransferCodingHandler
-
- getId() - Method in class ej.hoka.http.encoding.IdentityEncodingHandler
-
- getId() - Method in class ej.hoka.http.encoding.IdentityTransferCodingHandler
-
Returns an internal ID of this encoding handler.
- getId() - Method in interface ej.hoka.http.encoding.IHTTPEncodingHandler
-
Returns the name of the supported encoding.
- getId() - Method in interface ej.hoka.http.encoding.IHTTPTransferCodingHandler
-
Returns the supported encoding id.
- getIdentityTransferCodingHandler() - Method in class ej.hoka.http.encoding.HTTPEncodingRegistry
-
- getInstance() - Static method in class ej.hoka.http.encoding.ChunkedTransferCodingHandler
-
Factory method to create an instance of ChunkedTransferCodingHandler.
- getInstance() - Static method in class ej.hoka.http.encoding.IdentityEncodingHandler
-
- getInstance() - Static method in class ej.hoka.http.encoding.IdentityTransferCodingHandler
-
- getLength() - Method in class ej.hoka.http.HTTPResponse
-
Returns the length (in bytes) of the response data or -1
if the length is unknown.
- getMessage() - Method in exception ej.hoka.http.encoding.UnsupportedHTTPEncodingException
-
- getMethod() - Method in class ej.hoka.http.HTTPRequest
-
- getMimeType() - Method in class ej.hoka.http.HTTPResponse
-
Returns the MIME-TYPE of the response.
- getMIMEType() - Method in class ej.hoka.http.support.ContentType
-
Returns the canonized MIME type (converted to lower case).
- getMIMEType(String) - Static method in class ej.hoka.http.support.MIMEUtils
-
Returns the MIME type from the name of the URI (file extension).
- getMimetype() - Method in class ej.hoka.rest.endpoint.ResourceRestEndpoint
-
Gets the mimetype.
- getName() - Method in class ej.hoka.tcp.TCPServer
-
Returns the name of this TCPServer.
- getNextStreamConnection() - Method in class ej.hoka.tcp.TCPServer
-
Get the next Socket
to process.
- getParameters() - Method in class ej.hoka.http.HTTPRequest
-
Returns the query parameters as Map
.
- getQuality() - Method in class ej.hoka.http.support.QualityArgument
-
Returns the quality value of this argument.
- getResourceAsStream() - Method in class ej.hoka.rest.endpoint.ResourceRestEndpoint
-
Gets the resource to serve as an input stream.
- getResourceResponse() - Method in class ej.hoka.rest.endpoint.GzipResourceEndpoint
-
- getResourceResponse() - Method in class ej.hoka.rest.endpoint.ResourceRestEndpoint
-
Gets the resource to serve as an HTTP response.
- getRoot() - Method in class ej.hoka.auth.session.AuthenticatedRequestHandler
-
Gets the root of this handler.
- getSendStackTraceOnException() - Method in class ej.hoka.http.HTTPServer
-
Returns whether or not the server sends the stack trace of thrown exceptions.
- getSessionByID(String) - Method in class ej.hoka.auth.InMemorySessionDataAccess
-
- getSessionByID(String) - Method in interface ej.hoka.auth.SessionDataAccess
-
Retrieves the active session with given session ID.
- getSessionByUser(String) - Method in class ej.hoka.auth.InMemorySessionDataAccess
-
- getSessionByUser(String) - Method in interface ej.hoka.auth.SessionDataAccess
-
Retrieves the active session of the given user.
- getSessionID(HTTPRequest, Map<String, String>) - Method in class ej.hoka.auth.session.AuthenticatedRequestHandler
-
Retrieves the session ID from the cookies of the request.
- getSessionID(HTTPRequest, Map<String, String>) - Method in class ej.hoka.auth.session.LogoutEndpoint
-
Retrieves the session ID from the cookies of the request.
- getStatus() - Method in class ej.hoka.http.HTTPResponse
-
Returns the response status.
- getTransferCodingHandler(String) - Method in class ej.hoka.http.encoding.HTTPEncodingRegistry
-
- getURI() - Method in class ej.hoka.http.HTTPRequest
-
Returns the request URI.
- getURI() - Method in class ej.hoka.rest.RestEndpoint
-
Gets this endpoint URI.
- getVersion() - Method in class ej.hoka.http.HTTPRequest
-
Returns the HTTP version request.
- GZIP_FILE_EXTENSION - Static variable in class ej.hoka.rest.endpoint.GzipResourceEndpoint
-
Gzip file extension.
- GzipResourceEndpoint - Class in ej.hoka.rest.endpoint
-
A static resource end-point to serve gzip files.
- GzipResourceEndpoint(String, String) - Constructor for class ej.hoka.rest.endpoint.GzipResourceEndpoint
-
Creates a static gzip resource end-point that responds to given URI and serves given resource.
- GzipResourceEndpoint(String, String, String) - Constructor for class ej.hoka.rest.endpoint.GzipResourceEndpoint
-
Creates a static gzip resource end-point that responds to given URI and serves given resource.