- get(String) - Method in class express.Express
-
Returns the value which was allocated by this key.
- get(String, HttpRequestHandler) - Method in class express.Express
-
- get(String, HttpRequestHandler) - Method in class express.ExpressRouter
-
- get(Request) - Static method in class express.http.request.Authorization
-
- get(String, HttpRequestHandler) - Method in interface express.Router
-
Add an listener for GET request's.
- getAddress() - Method in class express.http.request.Request
-
Returns the InetAddress from the client.
- getApp() - Method in class express.http.request.Request
-
- getAuthorization() - Method in class express.http.request.Request
-
- getBody() - Method in class express.http.request.Request
-
- getByExtension(String) - Static method in enum express.utils.MediaType
-
- getCode() - Method in enum express.utils.Status
-
- getContentLength() - Method in class express.http.request.Request
-
Returns the to long parsed content-length.
- getContentType() - Method in class express.http.request.Request
-
- getContentType() - Method in class express.http.response.Response
-
- getContentType(Path) - Static method in class express.utils.Utils
-
Returns the MIME-Type of an file.
- getContext() - Method in class express.http.request.Request
-
Returns the corresponding context.
- getCookie(String) - Method in class express.http.request.Request
-
Get a request cookie by name.
- getCookies() - Method in class express.http.request.Request
-
Return all cookies from this request.
- getCreated() - Method in class express.http.SessionCookie
-
- getData() - Method in class express.http.request.Authorization
-
- getData() - Method in class express.http.SessionCookie
-
- getDataBase64Decoded() - Method in class express.http.request.Authorization
-
- getDelay() - Method in interface express.filter.FilterTask
-
Returns the delay between the updates
- getDescription() - Method in enum express.utils.Status
-
- getDomain() - Method in class express.http.Cookie
-
- getDotFiles() - Method in class express.middleware.FileProviderOptions
-
- getExpire() - Method in class express.http.Cookie
-
- getExtension() - Method in enum express.utils.MediaType
-
- getExtension(Path) - Static method in class express.utils.Utils
-
Extract the extension from the file.
- getExtensions() - Method in class express.middleware.FileProviderOptions
-
- getFilter() - Method in class express.filter.FilterLayer
-
- getFormQuery(String) - Method in class express.http.request.Request
-
Returns a query from a form which uses the 'application/x-www-form-urlencoded' request header.
- getFormQuerys() - Method in class express.http.request.Request
-
Returns all query's from an x-www-form-urlencoded body.
- getGMTDate(Date) - Static method in class express.utils.Utils
-
- getHeader(String) - Method in class express.http.request.Request
-
Returns an header value.
- getHeader(String) - Method in class express.http.response.Response
-
- getHost() - Method in class express.http.request.Request
-
- getIp() - Method in class express.http.request.Request
-
Returns the IP-Address from the client.
- getLogger() - Method in class express.http.response.Response
-
Returns the logger which is concered for this Response object.
- getLogger() - Method in class express.middleware.FileProvider
-
Returns the logger which is concered for this FileProvilder object.
- getMaxAge() - Method in class express.http.Cookie
-
- getMaxAge() - Method in class express.http.SessionCookie
-
- getMaxAge() - Method in class express.middleware.FileProviderOptions
-
- getMethod() - Method in class express.http.request.Request
-
- getMethod() - Method in enum express.http.RequestMethod
-
- getMiddlewareContent(String) - Method in class express.http.request.Request
-
Get the data from a specific middleware by name (Also the reason
why the interface ExpressFilter implements a getName())
- getMIME() - Method in enum express.utils.MediaType
-
- getName() - Method in interface express.filter.Filter
-
Identifier for the middleware
- getName() - Method in class express.http.Cookie
-
- getParam(String) - Method in class express.http.request.Request
-
Returns an param from a dynamic url.
- getParameterListener() - Method in class express.Express
-
- getParams() - Method in class express.http.request.Request
-
Returns all params from the url.
- getPath() - Method in class express.http.Cookie
-
- getPath() - Method in class express.http.request.Request
-
- getProtocol() - Method in class express.http.request.Request
-
The connection protocol HTTP/1.0, HTTP/1.1 etc.
- getQuery(String) - Method in class express.http.request.Request
-
Returns the value from the url-query.
- getQuerys() - Method in class express.http.request.Request
-
Return all url-query's.
- getSameSite() - Method in class express.http.Cookie
-
- getStatus() - Method in class express.http.response.Response
-
- getType() - Method in class express.http.request.Authorization
-
- getURI() - Method in class express.http.request.Request
-
- getUserAgent() - Method in class express.http.request.Request
-
- getValue() - Method in class express.http.Cookie
-
- getYourIp() - Static method in class express.utils.Utils
-
- SameSite - Enum in express.http
-
- send() - Method in class express.http.response.Response
-
Send an empty response (Content-Length = 0)
- send(String) - Method in class express.http.response.Response
-
Send an string as response.
- send(Path) - Method in class express.http.response.Response
-
Send an entire file as response
The mime type will be automatically detected.
- sendAttachment(Path) - Method in class express.http.response.Response
-
Sets the 'Content-Disposition' header to 'attachment' and his
Content-Disposition "filename=" parameter to the file name.
- sendBytes(byte[]) - Method in class express.http.response.Response
-
Send a byte array as response.
- sendStatus(Status) - Method in class express.http.response.Response
-
Set the response-status and send the response.
- SessionCookie - Class in express.http
-
- SessionCookie(long) - Constructor for class express.http.SessionCookie
-
- set(String, String) - Method in class express.Express
-
Add an key-val pair to the express app, can be used
to store data.
- setContentType(MediaType) - Method in class express.http.response.Response
-
Set the contentType for this response.
- setContentType(String) - Method in class express.http.response.Response
-
Set the contentType for this response.
- setContext(String) - Method in class express.http.request.Request
-
Set the corresponding context.
- setCookie(Cookie) - Method in class express.http.response.Response
-
Set an cookie.
- setData(Object) - Method in class express.http.SessionCookie
-
Set the session data
- setDomain(String) - Method in class express.http.Cookie
-
Set the cookie domauin
Default is not defined
- setDotFiles(DotFiles) - Method in class express.middleware.FileProviderOptions
-
Set how ".foo" file will be handled.
- setExecutor(Executor) - Method in class express.Express
-
Set an executor service.
- setExpire(Instant) - Method in class express.http.Cookie
-
Set the cookie expire (GMT wherefore Instant)
Default is infinite
- setExtensions(String...) - Method in class express.middleware.FileProviderOptions
-
Set the extension from the file which can be accessed outside.
- setFallBackSearching(boolean) - Method in class express.middleware.FileProviderOptions
-
Activate the fallback-search.
- setHandler(HttpRequestHandler) - Method in class express.middleware.FileProviderOptions
-
Add an alternate request-handler which will be fired before the file will be send.
- setHeader(String, String) - Method in class express.http.response.Response
-
Add an specific value to the reponse header.
- setHttpOnly(boolean) - Method in class express.http.Cookie
-
Set the if the cookie shouldn't accessible via JavaScript through the Document.cookie property
Default is false
- setLastModified(boolean) - Method in class express.middleware.FileProviderOptions
-
Set the Last-Modified header to the last modified date of the file on the OS.
- setMaxAge(long) - Method in class express.http.Cookie
-
Set the maximum age for this cookie in ms
Default is infinite
- setMaxAge(long) - Method in class express.middleware.FileProviderOptions
-
Set the max-age property of the Cache-Control header in milliseconds or a string in ms format.
- setName(String) - Method in class express.http.Cookie
-
Set the cookie name
- setParams(HashMap<String, String>) - Method in class express.http.request.Request
-
Set the params.
- setPath(String) - Method in class express.http.Cookie
-
Set the cookie path, also where the cookie should be send to the server
Default is root (/)
- setRoot(String) - Method in class express.filter.FilterImpl
-
- setSameSite(SameSite) - Method in class express.http.Cookie
-
- setSecure(boolean) - Method in class express.http.Cookie
-
Set the if the cookie should be only send via SSL
Default is false
- setStatus(Status) - Method in class express.http.response.Response
-
Set the response-status.
- setValue(String) - Method in class express.http.Cookie
-
Set the cookie value
- start() - Method in class express.filter.FilterWorker
-
- statics(String) - Static method in class express.middleware.Middleware
-
This class serves an entire folder which can contains static file for your
web application, You can use StaticOptions to add som configurations.
- statics(String, FileProviderOptions) - Static method in class express.middleware.Middleware
-
This class serves an entire folder which can contains static file for your
web application, You can use StaticOptions to add som configurations.
- Status - Enum in express.utils
-
- stop() - Method in class express.Express
-
Stop express
- stop() - Method in class express.filter.FilterWorker
-
- streamFrom(long, InputStream, MediaType) - Method in class express.http.response.Response
-
Streams a inputstream to the client.
- streamToString(InputStream) - Static method in class express.utils.Utils
-
Write all data from an InputStream in an String
- validate(Request, Predicate<Authorization>...) - Static method in class express.http.request.Authorization
-
Validates the given request authentication using each of the given predicates.
- validator(String, String) - Static method in class express.http.request.Authorization
-
- valueOf(String) - Static method in enum express.http.RequestMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum express.http.SameSite
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum express.middleware.DotFiles
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum express.utils.MediaType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum express.utils.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum express.utils.Status
-
- values() - Static method in enum express.http.RequestMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum express.http.SameSite
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum express.middleware.DotFiles
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum express.utils.MediaType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum express.utils.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.