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

A

action() - Method in interface express.ExpressListener
 
add(T) - Method in class express.filter.FilterLayer
 
add(int, T) - Method in class express.filter.FilterLayer
 
add(int, HttpRequestHandler) - Method in class express.filter.FilterLayerHandler
Add an new handler for an specific handler layers.
addAll(List<T>) - Method in class express.filter.FilterLayer
 
addMiddlewareContent(Filter, Object) - Method in class express.http.request.Request
Add a the content from a middleware
all(HttpRequestHandler) - Method in class express.Express
 
all(String, HttpRequestHandler) - Method in class express.Express
 
all(String, String, HttpRequestHandler) - Method in class express.Express
 
all(HttpRequestHandler) - Method in class express.ExpressRouter
 
all(String, HttpRequestHandler) - Method in class express.ExpressRouter
 
all(String, String, HttpRequestHandler) - Method in class express.ExpressRouter
 
all(HttpRequestHandler) - Method in interface express.Router
Add an listener for all request methods and contexts.
all(String, HttpRequestHandler) - Method in interface express.Router
Adds an handler for a specific context.
all(String, String, HttpRequestHandler) - Method in interface express.Router
Adds an handler for a specific context and method.
Authorization - Class in express.http.request
 
Authorization(String) - Constructor for class express.http.request.Authorization
 

B

bind(Object...) - Method in class express.Express
Binds a or multiple objects with request-handler methods on this express instance.

C

combine(FilterLayerHandler) - Method in class express.filter.FilterLayerHandler
Merge two FilterLayerHandler
Cookie - Class in express.http
 
Cookie(String, String) - Constructor for class express.http.Cookie
Creates an new http-cookie
Cookie() - Constructor for class express.http.Cookie
 
CookieFactory - Class in express.http
 
cookieSession(String, long) - Static method in class express.middleware.Middleware
Create an new cookie-session middleware.

D

delete(String, HttpRequestHandler) - Method in class express.Express
 
delete(String, HttpRequestHandler) - Method in class express.ExpressRouter
 
delete(String, HttpRequestHandler) - Method in interface express.Router
Add an listener for DELETE request's.
DotFiles - Enum in express.middleware
 
DynExpress - Annotation Type in express
 

E

equals(Object) - Method in class express.http.Cookie
 
express - package express
 
Express - Class in express
 
Express(String) - Constructor for class express.Express
Create an express instance and bind the server to an hostname.
Express(HttpsConfigurator) - Constructor for class express.Express
Default, will bind the server to "localhost"
Express(String, HttpsConfigurator) - Constructor for class express.Express
Create an express instance and bind the server to an hostname.
Express() - Constructor for class express.Express
Default, will bind the server to "localhost"
express.filter - package express.filter
 
express.http - package express.http
 
express.http.request - package express.http.request
 
express.http.response - package express.http.response
 
express.middleware - package express.middleware
 
express.utils - package express.utils
 
ExpressException - Exception in express
 
ExpressException() - Constructor for exception express.ExpressException
Constructs a new exception with an empty detail message.
ExpressException(String) - Constructor for exception express.ExpressException
Constructs a new exception with the specified detail message.
ExpressListener - Interface in express
 
ExpressRouter - Class in express
 
ExpressRouter() - Constructor for class express.ExpressRouter
 

F

FileProvider - Class in express.middleware
 
FileProviderOptions - Class in express.middleware
 
FileProviderOptions() - Constructor for class express.middleware.FileProviderOptions
 
Filter - Interface in express.filter
 
FilterImpl - Class in express.filter
 
FilterImpl(String, String, HttpRequestHandler) - Constructor for class express.filter.FilterImpl
 
FilterLayer<T extends HttpRequestHandler> - Class in express.filter
 
FilterLayer() - Constructor for class express.filter.FilterLayer
 
FilterLayerHandler - Class in express.filter
 
FilterLayerHandler(int) - Constructor for class express.filter.FilterLayerHandler
 
FilterTask - Interface in express.filter
 
FilterWorker - Class in express.filter
 
FilterWorker(FilterTask) - Constructor for class express.filter.FilterWorker
 
forEach(Consumer<FilterLayer>) - Method in class express.filter.FilterLayerHandler
Iterate over the different FilterLayer
fromString(String) - Static method in class express.http.CookieFactory
Parse an cookie string.
fromStrings(String[]) - Static method in class express.http.CookieFactory
Parse an list of strings which represents an cookie.

G

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
 

H

handle(Request, Response) - Method in class express.filter.FilterImpl
 
handle(HttpExchange, Express) - Method in class express.filter.FilterLayerHandler
 
handle(Request, Response) - Method in interface express.http.HttpRequestHandler
Handle an http-request
handle(Request, Response) - Method in class express.middleware.FileProvider
 
hasAuthorization() - Method in class express.http.request.Request
 
HEADER_NAME - Static variable in class express.http.request.Authorization
 
HttpRequestHandler - Interface in express.http
 

I

isActive() - Method in class express.filter.FilterWorker
 
isClosed() - Method in class express.http.response.Response
 
isFallBackSearching() - Method in class express.middleware.FileProviderOptions
 
isFresh() - Method in class express.http.request.Request
Checks if the connection is 'fresh' It is true if the cache-control request header doesn't have a no-cache directive, the if-modified-since request header is specified and last-modified request header is equal to or earlier than the modified response header or if-none-match request header is *.
isHttpOnly() - Method in class express.http.Cookie
 
isLastModified() - Method in class express.middleware.FileProviderOptions
 
isSecure() - Method in class express.Express
 
isSecure() - Method in class express.http.Cookie
 
isSecure() - Method in class express.http.request.Request
Returns whenever the connection is over HTTPS.
isStale() - Method in class express.http.request.Request
Indicates whether the request is "stale" and is the opposite of req.fresh
isXHR() - Method in class express.http.request.Request
Returns true if the 'X-Requested-With' header field is 'XMLHttpRequest'.

L

listen() - Method in class express.Express
Start the HTTP-Server on port 80.
listen(int) - Method in class express.Express
Start the HTTP-Server on a specific port This method is asynchronous so be sure to add an listener or keep it in mind!
listen(ExpressListener) - Method in class express.Express
Start the HTTP-Server on port 80.
listen(ExpressListener, int) - Method in class express.Express
Start the HTTP-Server on a specific port.

M

MediaType - Enum in express.utils
 
Middleware - Class in express.middleware
 

O

onParam(String, HttpRequestHandler) - Method in class express.Express
Add a listener which will be called when an url with this parameter is called.
onStart() - Method in interface express.filter.FilterTask
Will be fired on express-start
onStop() - Method in interface express.filter.FilterTask
Will be fired on express-stop
onUpdate() - Method in interface express.filter.FilterTask
Will be fired between the delays

P

patch(String, HttpRequestHandler) - Method in class express.Express
 
patch(String, HttpRequestHandler) - Method in class express.ExpressRouter
 
patch(String, HttpRequestHandler) - Method in interface express.Router
Add an listener for PATCH request's.
pipe(OutputStream, int) - Method in class express.http.request.Request
Pipe the body from this request to an OutputStream.
pipe(Path, int) - Method in class express.http.request.Request
Pipe the body from this request to an file.
post(String, HttpRequestHandler) - Method in class express.Express
 
post(String, HttpRequestHandler) - Method in class express.ExpressRouter
 
post(String, HttpRequestHandler) - Method in interface express.Router
Add an listener for POST request's.
put(String, HttpRequestHandler) - Method in class express.Express
 
put(String, HttpRequestHandler) - Method in class express.ExpressRouter
 
put(String, HttpRequestHandler) - Method in interface express.Router
Add an listener for PUT request's.

R

randomToken(int, int) - Static method in class express.utils.Utils
Generates an random token with SecureRandom
redirect(String) - Method in class express.http.response.Response
Sets the response Location HTTP header to the specified path parameter.
Request - Class in express.http.request
 
Request(HttpExchange, Express) - Constructor for class express.http.request.Request
 
RequestMethod - Enum in express.http
 
Response - Class in express.http.response
 
Response(HttpExchange) - Constructor for class express.http.response.Response
 
Router - Interface in express
 
run() - Method in class express.filter.FilterWorker
 

S

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

T

toString() - Method in class express.http.Cookie
Build the string to an cookie-string.

U

use(ExpressRouter) - Method in class express.Express
Add an routing object.
use(String, ExpressRouter) - Method in class express.Express
Add an routing object with an specific root root.
use(HttpRequestHandler) - Method in class express.Express
 
use(String, HttpRequestHandler) - Method in class express.Express
 
use(String, String, HttpRequestHandler) - Method in class express.Express
 
use(HttpRequestHandler) - Method in class express.ExpressRouter
 
use(String, HttpRequestHandler) - Method in class express.ExpressRouter
 
use(String, String, HttpRequestHandler) - Method in class express.ExpressRouter
 
use(HttpRequestHandler) - Method in interface express.Router
Add an middleware which will be called before each request-type listener will be fired.
use(String, HttpRequestHandler) - Method in interface express.Router
Add an middleware which will be called before each request-type listener will be fired.
use(String, String, HttpRequestHandler) - Method in interface express.Router
Add an middleware which will be called before each request-type listener will be fired.
Utils - Class in express.utils
 

V

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.
A B C D E F G H I L M O P R S T U V 
Skip navigation links

Copyright © 2019. All rights reserved.