- 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.session.SessionHandler
-
Generates the expiration date using the current real time.
- generateSessionID() - Method in class ej.hoka.session.SessionHandler
-
Generates a new session ID encoded in base64.
- GET - Static variable in class ej.hoka.http.HttpRequest
-
- get(String, RequestHandler) - Method in class ej.hoka.http.HttpServer
-
Map the handler to HTTP GET requests on the path.
- get(String, String, RequestHandler) - Method in class ej.hoka.http.HttpServer
-
Map the handler to HTTP GET requests on the path.
- getAcceptEncodingHandler(String) - Method in class ej.hoka.http.encoding.EncodingRegistry
-
Returns the most suitable
ContentEncoding
to match the encodings described in
Accept-Encoding
header.
- getAcceptType() - Method in class ej.hoka.http.Route
-
Gets the acceptType.
- getArgument() - Method in class ej.hoka.http.support.ParameterizedArgument
-
Returns current argument.
- getAttribute(String) - Method in class ej.hoka.http.HttpRequest
-
Get request server-side attribute by key.
- getAttribute(String) - Method in class ej.hoka.session.Session
-
Get a session attribute.
- getAttributesNames() - Method in class ej.hoka.session.Session
-
Gets the set of the session attributes names.
- getBufferSize() - Method in class ej.hoka.http.Config
-
Gets the buffer size.
- getCharset() - Method in class ej.hoka.http.support.ContentType
-
Returns the optional charset.
- getChunkedTransferEncoding() - Method in class ej.hoka.http.encoding.EncodingRegistry
-
- getContentEncoding(String) - Method in class ej.hoka.http.encoding.EncodingRegistry
-
- 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.
- getDomain() - Method in class ej.hoka.http.Cookie
-
Gets the domain.
- getEncodings() - Method in class ej.hoka.http.support.AcceptEncoding
-
- getExpiration() - Method in class ej.hoka.session.Session
-
Gets the expiration.
- getExpires() - Method in class ej.hoka.http.Cookie
-
Gets the expiration date.
- getHandler() - Method in class ej.hoka.http.Route
-
Gets the request handler associated with this route.
- getHeader(String) - Method in class ej.hoka.http.HttpRequest
-
Returns the header field value associated to the given header field name
.
- getHeader(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.
- getHeaders() - Method in class ej.hoka.http.HttpRequest
-
Returns all HTTP header fields of the request.
- getHttpMethod() - Method in class ej.hoka.http.Route
-
Gets the integer value associated with the HTTP method of the route.
- getHttpMethodAsString() - Method in class ej.hoka.http.Route
-
Returns the HTTP method of this route as a String.
- getId() - Method in class ej.hoka.http.encoding.ChunkedTransferCodingHandler
-
- getId() - Method in interface ej.hoka.http.encoding.ContentEncoding
-
Returns the name of the supported encoding.
- getId() - Method in class ej.hoka.http.encoding.IdentityContentEncoding
-
- getId() - Method in class ej.hoka.http.encoding.IdentityTransferEncoding
-
Returns an internal ID of this encoding handler.
- getId() - Method in interface ej.hoka.http.encoding.TransferEncoding
-
Returns the supported encoding id.
- getId() - Method in class ej.hoka.session.Session
-
Gets the id.
- getIdentityTransferCodingHandler() - Method in class ej.hoka.http.encoding.EncodingRegistry
-
- getInetAddress() - Method in class ej.hoka.http.HttpServer
-
Gets the address to which this server is bound, if any.
- getInetAddress() - Method in class ej.hoka.tcp.TcpServer
-
Gets the address to which this server is bound, if any.
- getInstance() - Static method in class ej.hoka.http.Config
-
Gets the configuration instance.
- 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.IdentityContentEncoding
-
- getInstance() - Static method in class ej.hoka.http.encoding.IdentityTransferEncoding
-
- getLength() - Method in class ej.hoka.http.HttpResponse
-
Returns the length (in bytes) of the response data or -1
if the length is unknown.
- getLogger() - Static method in class ej.hoka.log.LoggerFactory
-
You can set a logger implementation using the system property hoka.logger.class
If the system property if not set or the class from hoka.logger.class
is not found or can't be accessed
or instantiated.
- getLoggerClassName() - Method in class ej.hoka.http.Config
-
Gets the logger class name.
- getLoggerLevel() - Method in class ej.hoka.http.Config
-
Gets the log level.
- getMaxAge() - Method in class ej.hoka.http.Cookie
-
Gets the max age of the cookie.
- getMessage() - Method in exception ej.hoka.http.encoding.HttpUnsupportedEncodingException
-
- 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.Mime
-
Returns the MIME type from the name of the URI (file extension).
- getName() - Method in class ej.hoka.http.Cookie
-
Gets the name.
- 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.
- getPath() - Method in class ej.hoka.http.Cookie
-
Gets the path.
- getPath() - Method in class ej.hoka.http.Route
-
Gets the path (URI) mapped in this route.
- getPathParam(String) - Method in class ej.hoka.http.HttpRequest
-
Returns the path parameter value mapped to the given name.
- getPort() - Method in class ej.hoka.http.HttpServer
-
Gets the port number to which this server is listening to, if any.
- getPort() - Method in class ej.hoka.tcp.TcpServer
-
Gets the port number to which this server is listening to, if any.
- getQuality() - Method in class ej.hoka.http.support.QualityArgument
-
Returns the quality value of this argument.
- getQueryParam(String) - Method in class ej.hoka.http.HttpRequest
-
Returns the query parameter mapped to the given name.
- getQueryParams() - Method in class ej.hoka.http.HttpRequest
-
Returns the Query parameters as Map
.
- getRequestBody() - Method in class ej.hoka.http.HttpRequest
-
- getRoutes() - Method in class ej.hoka.http.HttpServer
-
Gets the list of registered routes.
- getSameSite() - Method in class ej.hoka.http.Cookie
-
Gets the same site policy.
- getSession(String) - Method in class ej.hoka.session.SessionHandler
-
Gets the session associated to the given ID, if any.
- getSplatParams() - Method in class ej.hoka.http.HttpRequest
-
Returns the list of splat parameters.
- getStatus() - Method in class ej.hoka.http.HttpResponse
-
Returns the response status.
- getTransferEncoding(String) - Method in class ej.hoka.http.encoding.EncodingRegistry
-
- getURI() - Method in class ej.hoka.http.HttpRequest
-
Returns the request URI.
- getValue() - Method in class ej.hoka.http.Cookie
-
Gets the value.
- getVersion() - Method in class ej.hoka.http.HttpRequest
-
Returns the HTTP version request.
- guessMimeType() - Method in class ej.hoka.http.requesthandler.ClasspathFilesHandler.ClasspathFilesHandlerBuilder
-
activate content type guessing.