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

S

sameSite(Cookie.SameSite) - Method in class ej.hoka.http.Cookie.Builder
SameSite=<samesite-value> Optional Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks (CSRF).
secure() - Method in class ej.hoka.http.Cookie.Builder
Secure Optional Cookie is only sent to the server when a request is made with the https: scheme (except on localhost), and therefore is more resistent to man-in-the-middle attacks.
secure(ServerSocketFactory) - Method in class ej.hoka.http.HttpServer.HttpServerBuilder
Set Server Socket Factory.
separator - Variable in class ej.hoka.http.support.CharacterSeparatedList
Characters separator.
serve(String, Map<String, String>) - Method in class ej.hoka.http.requesthandler.ClasspathFilesHandler
The generic behavior of this request handler implementation is to find a resource matching the given path in the classpath.
serve(String, Map<String, String>) - Method in interface ej.hoka.http.requesthandler.StaticFilesHandler
Serve the request file if found, return code null is file not found.
Session - Class in ej.hoka.session
Server side Session.
Session(String, long) - Constructor for class ej.hoka.session.Session
Constructs a Session.
SessionHandler - Class in ej.hoka.session
Handle sessions and stores active sessions in a database.
SessionHandler(Random) - Constructor for class ej.hoka.session.SessionHandler
Constructs a SessionHandler with 1-hour-long sessions.
SessionHandler(Random, long) - Constructor for class ej.hoka.session.SessionHandler
Constructs a SessionHandler provided sessionLifetime sessions and using an in-memory database.
setAttribute(String, Object) - Method in class ej.hoka.http.HttpRequest
Set a request server-side attribute.
setAttribute(String, String) - Method in class ej.hoka.session.Session
Set a session attribute.
setData(String) - Method in class ej.hoka.http.HttpResponse
Set the data contained by this response.
setData(String, String) - Method in class ej.hoka.http.HttpResponse
Set HttpResponse body using the String data as response data and the encoding.
setData(byte[]) - Method in class ej.hoka.http.HttpResponse
Set the data contained by this response.
setData(InputStream) - Method in class ej.hoka.http.HttpResponse
Sets the InputStream from which the response data can be read.
setData(InputStream, long) - Method in class ej.hoka.http.HttpResponse
Sets the InputStream from which the response data can be read.
setExpiration(long) - Method in class ej.hoka.session.Session
Sets the expiration.
setMimeType(String) - Method in class ej.hoka.http.HttpResponse
Set the response MIME-TYPE.
setStatus(String) - Method in class ej.hoka.http.HttpResponse
Set the response status.
simultaneousConnections(int) - Method in class ej.hoka.http.HttpServer.HttpServerBuilder
Set the max simultaneous connections.
SP - Static variable in class ej.hoka.http.support.CharacterSeparatedList
Space character.
start() - Method in class ej.hoka.http.HttpServer
Start the HttpServer (in a dedicated thread): start listening for connections and start workers to process opened connections.
start() - Method in class ej.hoka.tcp.TcpServer
Starts the TcpServer.
staticFilesHandler(StaticFilesHandler) - Method in class ej.hoka.http.HttpServer.HttpServerBuilder
Set the static files handler to serve static files.
StaticFilesHandler - Interface in ej.hoka.http.requesthandler
Request handler to serve static files.
stop() - Method in class ej.hoka.http.HttpServer
Stops the HttpServer.
stop() - Method in class ej.hoka.tcp.TcpServer
Stops the TcpServer and closes the connection.
StringBodyParser - Class in ej.hoka.http.body
A body parser reading the full body and storing it in a string.
StringBodyParser() - Constructor for class ej.hoka.http.body.StringBodyParser
 
A B C D E F G H I K L M N O P Q R S T U V W _ 
Skip navigation links