Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractStaticAssetsController - Class in dev.voidframework.web.http.controller
-
Abstraction to facilitate the use of static and webjar assets.
- AbstractStaticAssetsController(Config) - Constructor for class dev.voidframework.web.http.controller.AbstractStaticAssetsController
-
Build a new instance;
- acceptContentType(String) - Method in interface dev.voidframework.web.http.HttpRequest
-
Checks if the current request accept a specific content type.
- acceptContentType(String) - Method in class dev.voidframework.web.server.UndertowRequest
- addRoute(HttpMethod, String, Class<?>, Method) - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- addRoute(HttpMethod, String, Class<?>, Method) - Method in interface dev.voidframework.web.routing.Router
-
Adds a new route.
- addRoute(HttpMethod, String, Class<?>, Method, String) - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- addRoute(HttpMethod, String, Class<?>, Method, String) - Method in interface dev.voidframework.web.routing.Router
-
Adds a new route.
- APPLICATION_JSON - Static variable in interface dev.voidframework.web.http.HttpContentType
- APPLICATION_OCTET_STREAM - Static variable in interface dev.voidframework.web.http.HttpContentType
- APPLICATION_X_FORM_URLENCODED - Static variable in interface dev.voidframework.web.http.HttpContentType
- APPLICATION_XML - Static variable in interface dev.voidframework.web.http.HttpContentType
- APPLICATION_ZIP - Static variable in interface dev.voidframework.web.http.HttpContentType
- apply(Context, FilterChain) - Method in class dev.voidframework.web.csrf.CSRFFilter
- apply(Context, FilterChain) - Method in interface dev.voidframework.web.filter.Filter
-
Applies the filter.
- applyNext(Context) - Method in class dev.voidframework.web.filter.DefaultFilterChain
-
Applies the next filter.
- applyNext(Context) - Method in interface dev.voidframework.web.filter.FilterChain
-
Applies the next filter.
- AppRouteDefinitionLoadFailure(String) - Constructor for exception dev.voidframework.web.exception.RoutingException.AppRouteDefinitionLoadFailure
-
Build a new instance.
- AppRoutesDefinition - Interface in dev.voidframework.web.routing
-
This interface allows application to manually define http routes.
- as(Class<OUTPUT_CLASS_TYPE>) - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the body content as a specific object.
- asFormData() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the value of the
asFormDatarecord component. - asFormData(Class<OUTPUT_CLASS_TYPE>) - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the form data content body as a specific object.
- asJson() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the JSON content body.
- asRaw() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the value of the
asRawrecord component. - asXml() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the XML content body.
- asYaml() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the YAML content body.
B
- BAD_REQUEST - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- badRequest(byte[], String) - Static method in class dev.voidframework.web.http.Result
-
Bad request (400).
- badRequest(JsonNode) - Static method in class dev.voidframework.web.http.Result
-
Bad request (400).
- badRequest(TemplateResult) - Static method in class dev.voidframework.web.http.Result
-
Bad request (400).
- badRequest(String) - Static method in class dev.voidframework.web.http.Result
-
Bad request (400).
- BadRequest() - Constructor for exception dev.voidframework.web.exception.HttpException.BadRequest
-
Build a new instance.
- BadRequest(String) - Constructor for exception dev.voidframework.web.exception.HttpException.BadRequest
-
Build a new instance.
- BadRequest(String, Throwable) - Constructor for exception dev.voidframework.web.exception.HttpException.BadRequest
-
Build a new instance.
- BadRoutingArgument(String, Object) - Constructor for exception dev.voidframework.web.exception.RoutingException.BadRoutingArgument
-
Build a new instance.
- BYPASS_CSRF_VERIFICATION - Static variable in class dev.voidframework.web.csrf.CSRFFilter
C
- CantInstantiate(String) - Constructor for exception dev.voidframework.web.exception.ErrorHandlerException.CantInstantiate
-
Build a new instance.
- CantInstantiate(String, Exception) - Constructor for exception dev.voidframework.web.exception.ErrorHandlerException.CantInstantiate
-
Build a new instance.
- charset() - Method in record class dev.voidframework.web.http.FormItem
-
Returns the value of the
charsetrecord component. - ClassNotFound(String) - Constructor for exception dev.voidframework.web.exception.ErrorHandlerException.ClassNotFound
-
Build a new instance.
- clear() - Method in class dev.voidframework.web.http.FlashMessages
-
Clears all flash messages.
- clear() - Method in class dev.voidframework.web.http.Session
-
Clears all data from the session.
- configure() - Method in class dev.voidframework.web.module.WebModule
- content() - Method in record class dev.voidframework.web.http.impl.DefaultErrorHandler.FileLine
-
Returns the value of the
contentrecord component. - contentType() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns the value of the
contentTyperecord component. - Context - Class in dev.voidframework.web.http
-
An http request context.
- Context(HttpRequest, Session, FlashMessages, Locale) - Constructor for class dev.voidframework.web.http.Context
-
Build a new instance.
- ControllerAnnotationListener - Class in dev.voidframework.web.module
-
Listen to the different bind classes to detect which ones are web controllers.
- ControllerAnnotationListener(Router) - Constructor for class dev.voidframework.web.module.ControllerAnnotationListener
-
Build a new instance.
- controllerClassType() - Method in record class dev.voidframework.web.routing.ResolvedRoute
-
Returns the value of the
controllerClassTyperecord component. - controllerClassType() - Method in record class dev.voidframework.web.routing.Route
-
Returns the value of the
controllerClassTyperecord component. - convert(String) - Method in class dev.voidframework.web.http.converter.StringToBooleanConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToByteConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToCharacterConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToDoubleConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToFloatConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToIntegerConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToLongConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToShortConverter
- convert(String) - Method in class dev.voidframework.web.http.converter.StringToUUIDConverter
- Cookie - Record Class in dev.voidframework.web.http
-
A Cookie.
- Cookie(String, String, String, String, boolean, boolean, String, Duration) - Constructor for record class dev.voidframework.web.http.Cookie
-
Creates an instance of a
Cookierecord class. - created(byte[], String) - Static method in class dev.voidframework.web.http.Result
-
Created (201).
- created(JsonNode) - Static method in class dev.voidframework.web.http.Result
-
Created (201).
- created(TemplateResult) - Static method in class dev.voidframework.web.http.Result
-
Created (201).
- created(String) - Static method in class dev.voidframework.web.http.Result
-
Created (201).
- CREATED - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- CSRF_TOKEN_KEY - Static variable in class dev.voidframework.web.csrf.CSRFFilter
- CSRFFilter - Class in dev.voidframework.web.csrf
-
This filter takes care of generating and checking a CSRF token if the request matches the chosen criteria.
- CSRFFilter(Config) - Constructor for class dev.voidframework.web.csrf.CSRFFilter
-
Build a new instance.
D
- dataModel - Variable in class dev.voidframework.web.http.TemplateResult
-
The data model to use.
- DefaultErrorHandler - Class in dev.voidframework.web.http.impl
-
Default implementation of
ErrorHandler. - DefaultErrorHandler(Config, Router) - Constructor for class dev.voidframework.web.http.impl.DefaultErrorHandler
-
Build a new instance.
- DefaultErrorHandler.FileLine - Record Class in dev.voidframework.web.http.impl
-
Represents a single content line.
- DefaultFilterChain - Class in dev.voidframework.web.filter
-
Default implementation of
FilterChain. - DefaultFilterChain(List<Filter>) - Constructor for class dev.voidframework.web.filter.DefaultFilterChain
-
Build a new instance.
- DefaultRouter - Class in dev.voidframework.web.routing.impl
-
Default implementation of
Router. - DefaultRouter() - Constructor for class dev.voidframework.web.routing.impl.DefaultRouter
-
Build a new instance.
- defineAppRoutes(Router) - Method in interface dev.voidframework.web.routing.AppRoutesDefinition
-
Defines applications routes.
- DELETE - Enum constant in enum class dev.voidframework.web.routing.HttpMethod
- dev.voidframework.web.bindable - package dev.voidframework.web.bindable
- dev.voidframework.web.csrf - package dev.voidframework.web.csrf
- dev.voidframework.web.exception - package dev.voidframework.web.exception
- dev.voidframework.web.filter - package dev.voidframework.web.filter
- dev.voidframework.web.http - package dev.voidframework.web.http
- dev.voidframework.web.http.controller - package dev.voidframework.web.http.controller
- dev.voidframework.web.http.converter - package dev.voidframework.web.http.converter
- dev.voidframework.web.http.errorpage - package dev.voidframework.web.http.errorpage
- dev.voidframework.web.http.impl - package dev.voidframework.web.http.impl
- dev.voidframework.web.http.param - package dev.voidframework.web.http.param
- dev.voidframework.web.http.resultprocessor - package dev.voidframework.web.http.resultprocessor
- dev.voidframework.web.module - package dev.voidframework.web.module
- dev.voidframework.web.routing - package dev.voidframework.web.routing
- dev.voidframework.web.routing.impl - package dev.voidframework.web.routing.impl
- dev.voidframework.web.server - package dev.voidframework.web.server
- DevMode400BadRequest - Class in dev.voidframework.web.http.errorpage
-
Generates a "400 Bad Request" page when development mode is enabled.
- DevMode400BadRequest() - Constructor for class dev.voidframework.web.http.errorpage.DevMode400BadRequest
- DevMode404NotFound - Class in dev.voidframework.web.http.errorpage
-
Generates a "404 Not Found" page when development mode is enabled.
- DevMode404NotFound() - Constructor for class dev.voidframework.web.http.errorpage.DevMode404NotFound
- DevMode500InternalServerError - Class in dev.voidframework.web.http.errorpage
-
Generates a "500 Internal Server Error" page when development mode is enabled.
- DevMode500InternalServerError() - Constructor for class dev.voidframework.web.http.errorpage.DevMode500InternalServerError
- domain() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
domainrecord component.
E
- equals(Object) - Method in record class dev.voidframework.web.http.Cookie
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.voidframework.web.http.FormItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.voidframework.web.http.impl.DefaultErrorHandler.FileLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.voidframework.web.routing.ResolvedRoute
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.voidframework.web.routing.Route
-
Indicates whether some other object is "equal to" this one.
- ErrorHandler - Interface in dev.voidframework.web.http
-
This interface allows you to define the behaviour to have when an error occurs.
- ErrorHandlerException - Exception in dev.voidframework.web.exception
-
All exceptions related to the error handler are subclasses of
ErrorHandlerException. - ErrorHandlerException(String) - Constructor for exception dev.voidframework.web.exception.ErrorHandlerException
-
Build a new instance.
- ErrorHandlerException(String, Throwable) - Constructor for exception dev.voidframework.web.exception.ErrorHandlerException
-
Build a new instance.
- ErrorHandlerException.CantInstantiate - Exception in dev.voidframework.web.exception
-
Exception indicates that provided error handler can't be instantiated.
- ErrorHandlerException.ClassNotFound - Exception in dev.voidframework.web.exception
-
Exception indicates that request class was not found.
- ErrorHandlerException.InvalidClass - Exception in dev.voidframework.web.exception
-
Exception indicates that provided error handler is invalid.
- extractedParameterValues() - Method in record class dev.voidframework.web.routing.ResolvedRoute
-
Returns the value of the
extractedParameterValuesrecord component.
F
- FileLine(int, String) - Constructor for record class dev.voidframework.web.http.impl.DefaultErrorHandler.FileLine
-
Creates an instance of a
FileLinerecord class. - Filter - Interface in dev.voidframework.web.filter
-
Represents a filter.
- FilterChain - Interface in dev.voidframework.web.filter
-
Represents a chain of filters to apply.
- filterClassTypes() - Method in record class dev.voidframework.web.routing.ResolvedRoute
-
Returns the value of the
filterClassTypesrecord component. - filterClassTypes() - Method in record class dev.voidframework.web.routing.Route
-
Returns the value of the
filterClassTypesrecord component. - FilterException - Exception in dev.voidframework.web.exception
-
All exceptions related to the Filter feature are subclasses of
FilterException. - FilterException(String) - Constructor for exception dev.voidframework.web.exception.FilterException
-
Build a new instance.
- FilterException(String, Throwable) - Constructor for exception dev.voidframework.web.exception.FilterException
-
Build a new instance.
- FilterException.LoadFailure - Exception in dev.voidframework.web.exception
-
Exception indicates that Filter class can't be loaded.
- FilterException.Overflow - Exception in dev.voidframework.web.exception
-
Exception indicates that an overflow occur during the filter chain processing.
- FlashMessages - Class in dev.voidframework.web.http
-
HTTP Flash messages.
- FlashMessages() - Constructor for class dev.voidframework.web.http.FlashMessages
-
Build a new instance.
- FlashMessages(Map<String, String>) - Constructor for class dev.voidframework.web.http.FlashMessages
-
Build a new instance.
- forbidden(byte[], String) - Static method in class dev.voidframework.web.http.Result
-
Forbidden (403).
- forbidden(JsonNode) - Static method in class dev.voidframework.web.http.Result
-
Forbidden (403).
- forbidden(TemplateResult) - Static method in class dev.voidframework.web.http.Result
-
Forbidden (403).
- forbidden(String) - Static method in class dev.voidframework.web.http.Result
-
Forbidden (403).
- FORBIDDEN - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- FormItem - Record Class in dev.voidframework.web.http
-
A Http form item.
- FormItem(String, String, boolean, InputStream) - Constructor for record class dev.voidframework.web.http.FormItem
-
Creates an instance of a
FormItemrecord class. - FOUND - Static variable in interface dev.voidframework.web.http.HttpReturnCode
G
- GET - Enum constant in enum class dev.voidframework.web.routing.HttpMethod
- getAttributes() - Method in class dev.voidframework.web.http.Context
-
Retrieves context attributes.
- getBodyContent() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns the body content;
- getBodyContent() - Method in class dev.voidframework.web.server.UndertowRequest
- getCharset() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns the request charset.
- getCharset() - Method in class dev.voidframework.web.server.UndertowRequest
- getContentType() - Method in class dev.voidframework.web.http.Result
-
Gets the content type.
- getCookie(String) - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns a cookie.
- getCookie(String) - Method in class dev.voidframework.web.server.UndertowRequest
- getCookies() - Method in class dev.voidframework.web.http.Result
-
Gets all cookies.
- getFlashMessages() - Method in class dev.voidframework.web.http.Context
-
Retrieves the flash messages.
- getHeader(String) - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns a single header.
- getHeader(String) - Method in class dev.voidframework.web.server.UndertowRequest
- getHeaders() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns all headers.
- getHeaders() - Method in class dev.voidframework.web.http.Result
-
Gets all headers.
- getHeaders() - Method in class dev.voidframework.web.server.UndertowRequest
- getHttpCode() - Method in class dev.voidframework.web.http.Result
-
Gets the HTTP return code.
- getHttpMethod() - Method in interface dev.voidframework.web.http.HttpRequest
-
Get the HTTP request method.
- getHttpMethod() - Method in class dev.voidframework.web.server.UndertowRequest
- getInputSteam() - Method in interface dev.voidframework.web.http.HttpRequest
-
Get the input stream to read the request.
- getInputSteam() - Method in class dev.voidframework.web.server.UndertowRequest
- getInputStream() - Method in class dev.voidframework.web.http.resultprocessor.NoContentResultProcessor
- getInputStream() - Method in class dev.voidframework.web.http.resultprocessor.ObjectResultProcessor
- getInputStream() - Method in interface dev.voidframework.web.http.resultprocessor.ResultProcessor
-
Get the result input stream.
- getInputStream() - Method in class dev.voidframework.web.http.resultprocessor.TemplateResultProcessor
- getLocale() - Method in class dev.voidframework.web.http.Context
-
Retrieves the locale.
- getQueryString() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns the query string, without the leading "?".
- getQueryString() - Method in class dev.voidframework.web.server.UndertowRequest
- getQueryStringParameter(String) - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns the query string parameter value.
- getQueryStringParameter(String) - Method in class dev.voidframework.web.server.UndertowRequest
- getQueryStringParameters() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns all query string parameters.
- getQueryStringParameters() - Method in class dev.voidframework.web.server.UndertowRequest
- getRemoteHostName() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns the remote host that this request was sent to.
- getRemoteHostName() - Method in class dev.voidframework.web.server.UndertowRequest
- getRequest() - Method in class dev.voidframework.web.http.Context
-
Retrieves the request.
- getRequestURI() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns the original request URI.
- getRequestURI() - Method in class dev.voidframework.web.server.UndertowRequest
- getRequestURL() - Method in interface dev.voidframework.web.http.HttpRequest
-
Returns the complete URL as seen by the user.
- getRequestURL() - Method in class dev.voidframework.web.server.UndertowRequest
- getResultProcessor() - Method in class dev.voidframework.web.http.Result
-
Get tje result processor.
- getRoutesAsList() - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- getRoutesAsList() - Method in interface dev.voidframework.web.routing.Router
-
Retrieves all registered routes.
- getRoutesAsMap() - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- getRoutesAsMap() - Method in interface dev.voidframework.web.routing.Router
-
Retrieves all registered routes.
- getSession() - Method in class dev.voidframework.web.http.Context
-
Retrieves the session.
- GlobalFilterDefinition - Interface in dev.voidframework.web.filter
-
This interface allows application to define global filters.
H
- handleRequest(HttpServerExchange) - Method in class dev.voidframework.web.server.UndertowHttpHandler
- hashCode() - Method in record class dev.voidframework.web.http.Cookie
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.voidframework.web.http.FormItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.voidframework.web.http.impl.DefaultErrorHandler.FileLine
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.voidframework.web.routing.ResolvedRoute
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.voidframework.web.routing.Route
-
Returns a hash code value for this object.
- HEAD - Enum constant in enum class dev.voidframework.web.routing.HttpMethod
- hear(TypeLiteral<I>, TypeEncounter<I>) - Method in class dev.voidframework.web.module.ControllerAnnotationListener
- HttpContentType - Interface in dev.voidframework.web.http
-
Defines some HTTP content types.
- HttpException - Exception in dev.voidframework.web.exception
-
All exceptions related to http possible errors are subclasses of
HttpException. - HttpException(String) - Constructor for exception dev.voidframework.web.exception.HttpException
-
Build a new instance.
- HttpException(String, Throwable) - Constructor for exception dev.voidframework.web.exception.HttpException
-
Build a new instance.
- HttpException.BadRequest - Exception in dev.voidframework.web.exception
-
Exception indicates that provided request is invalid.
- HttpException.InternalServerError - Exception in dev.voidframework.web.exception
-
Exception indicates that a server-side error occur.
- HttpException.NotFound - Exception in dev.voidframework.web.exception
-
Exception indicates that a resource was not found.
- httpMethod() - Method in record class dev.voidframework.web.routing.Route
-
Returns the value of the
httpMethodrecord component. - HttpMethod - Enum Class in dev.voidframework.web.routing
-
Defines handled HTTP method.
- HttpRequest - Interface in dev.voidframework.web.http
-
An HTTP request.
- HttpRequestBodyContent - Record Class in dev.voidframework.web.http
-
An Http request body content
- HttpRequestBodyContent(String, byte[], Map<String, List<FormItem>>) - Constructor for record class dev.voidframework.web.http.HttpRequestBodyContent
-
Creates an instance of a
HttpRequestBodyContentrecord class. - HttpRequestHandler - Class in dev.voidframework.web.http
-
Http request handler.
- HttpRequestHandler(Injector, ErrorHandler, List<Class<? extends Filter>>) - Constructor for class dev.voidframework.web.http.HttpRequestHandler
-
Build a new instance.
- HttpReturnCode - Interface in dev.voidframework.web.http
-
Defines some HTTP return codes.
I
- I_AM_A_TEAPOT - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- IMAGE_ICON - Static variable in interface dev.voidframework.web.http.HttpContentType
- IMAGE_JPEG - Static variable in interface dev.voidframework.web.http.HttpContentType
- IMAGE_PNG - Static variable in interface dev.voidframework.web.http.HttpContentType
- inputStream() - Method in record class dev.voidframework.web.http.FormItem
-
Returns the value of the
inputStreamrecord component. - INTERNAL_SERVER_ERROR - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- internalServerError(byte[], String) - Static method in class dev.voidframework.web.http.Result
-
Internal Server Error (500).
- internalServerError(JsonNode) - Static method in class dev.voidframework.web.http.Result
-
Internal Server Error (500).
- internalServerError(TemplateResult) - Static method in class dev.voidframework.web.http.Result
-
Internal Server Error (500).
- internalServerError(String) - Static method in class dev.voidframework.web.http.Result
-
Internal Server Error (500).
- InternalServerError() - Constructor for exception dev.voidframework.web.exception.HttpException.InternalServerError
-
Build a new instance.
- InternalServerError(String) - Constructor for exception dev.voidframework.web.exception.HttpException.InternalServerError
-
Build a new instance.
- InternalServerError(String, Throwable) - Constructor for exception dev.voidframework.web.exception.HttpException.InternalServerError
-
Build a new instance.
- InternalServerError(Throwable) - Constructor for exception dev.voidframework.web.exception.HttpException.InternalServerError
-
Build a new instance.
- InvalidClass(String) - Constructor for exception dev.voidframework.web.exception.ErrorHandlerException.InvalidClass
-
Build a new instance.
- isFile() - Method in record class dev.voidframework.web.http.FormItem
-
Returns the value of the
isFilerecord component. - isHttpOnly() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
isHttpOnlyrecord component. - isModified() - Method in class dev.voidframework.web.http.FlashMessages
-
Checks if any flash message has been modified.
- isModified() - Method in class dev.voidframework.web.http.Session
-
Checks if the session has been modified.
- isSecure() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
isSecurerecord component.
L
- LoadFailure(String) - Constructor for exception dev.voidframework.web.exception.FilterException.LoadFailure
-
Build a new instance.
M
- method() - Element in annotation interface dev.voidframework.web.http.param.RequestRoute
-
Returns the HTTP method (ie: GET).
- method() - Method in record class dev.voidframework.web.routing.ResolvedRoute
-
Returns the value of the
methodrecord component. - method() - Method in record class dev.voidframework.web.routing.Route
-
Returns the value of the
methodrecord component. - METHOD_NOT_ALLOWED - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- MOVED_PERMANENTLY - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- MULTIPART_FORM_DATA - Static variable in interface dev.voidframework.web.http.HttpContentType
N
- name() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
namerecord component. - name() - Element in annotation interface dev.voidframework.web.http.param.RequestRoute
-
Returns the route name.
- NO_CONTENT - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- noContent() - Static method in class dev.voidframework.web.http.Result
-
No Content (204).
- NoContentResultProcessor - Class in dev.voidframework.web.http.resultprocessor
-
No content ("do nothing") processor.
- NoContentResultProcessor() - Constructor for class dev.voidframework.web.http.resultprocessor.NoContentResultProcessor
- NoCSRF - Annotation Interface in dev.voidframework.web.http
-
Indicates that CSRF token verification don't have to be performed.
- NOT_FOUND - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- NOT_IMPLEMENTED - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- notFound(byte[], String) - Static method in class dev.voidframework.web.http.Result
-
Not Found (404).
- notFound(JsonNode) - Static method in class dev.voidframework.web.http.Result
-
Not Found (404).
- notFound(TemplateResult) - Static method in class dev.voidframework.web.http.Result
-
Not Found (404).
- notFound(String) - Static method in class dev.voidframework.web.http.Result
-
Not Found (404).
- NotFound() - Constructor for exception dev.voidframework.web.exception.HttpException.NotFound
-
Build a new instance.
- NotFound(String) - Constructor for exception dev.voidframework.web.exception.HttpException.NotFound
-
Build a new instance.
- notImplemented(byte[], String) - Static method in class dev.voidframework.web.http.Result
-
Not Implemented (501).
- notImplemented(JsonNode) - Static method in class dev.voidframework.web.http.Result
-
Not Implemented (501).
- notImplemented(TemplateResult) - Static method in class dev.voidframework.web.http.Result
-
Not Implemented (501).
- notImplemented(String) - Static method in class dev.voidframework.web.http.Result
-
Not Implemented (501).
- number() - Method in record class dev.voidframework.web.http.impl.DefaultErrorHandler.FileLine
-
Returns the value of the
numberrecord component.
O
- ObjectResultProcessor - Class in dev.voidframework.web.http.resultprocessor
-
Process a simple object.
- ObjectResultProcessor() - Constructor for class dev.voidframework.web.http.resultprocessor.ObjectResultProcessor
-
Build an empty new instance.
- ObjectResultProcessor(Object) - Constructor for class dev.voidframework.web.http.resultprocessor.ObjectResultProcessor
-
Build a new instance.
- of(String) - Static method in class dev.voidframework.web.http.TemplateResult
-
Build a new instance.
- of(String, Object) - Static method in class dev.voidframework.web.http.TemplateResult
-
Build a new instance.
- of(String, String) - Static method in record class dev.voidframework.web.http.Cookie
-
Build a new Cookie.
- of(String, String, boolean, boolean, String, Duration) - Static method in record class dev.voidframework.web.http.Cookie
-
Build a new Cookie.
- of(String, String, boolean, boolean, Duration) - Static method in record class dev.voidframework.web.http.Cookie
-
Build a new Cookie.
- of(String, String, Duration) - Static method in record class dev.voidframework.web.http.Cookie
-
Build a new Cookie.
- of(String, Map<String, Object>) - Static method in class dev.voidframework.web.http.TemplateResult
-
Build a new instance.
- ok(byte[], String) - Static method in class dev.voidframework.web.http.Result
-
Ok (200).
- ok(JsonNode) - Static method in class dev.voidframework.web.http.Result
-
Ok (200).
- ok(TemplateResult) - Static method in class dev.voidframework.web.http.Result
-
Ok (200).
- ok(InputStream, String) - Static method in class dev.voidframework.web.http.Result
-
Ok (200).
- ok(String) - Static method in class dev.voidframework.web.http.Result
-
Ok (200).
- OK - Static variable in interface dev.voidframework.web.http.HttpReturnCode
- onBadRequest(Context, HttpException.BadRequest) - Method in interface dev.voidframework.web.http.ErrorHandler
-
This method is called when the provided request is invalid.
- onBadRequest(Context, HttpException.BadRequest) - Method in class dev.voidframework.web.http.HttpRequestHandler
-
This method is called each time a bad request occur.
- onBadRequest(Context, HttpException.BadRequest) - Method in class dev.voidframework.web.http.impl.DefaultErrorHandler
- onNotFound(Context, HttpException.NotFound) - Method in interface dev.voidframework.web.http.ErrorHandler
-
This method is called when no route has been found to satisfy the request.
- onNotFound(Context, HttpException.NotFound) - Method in class dev.voidframework.web.http.impl.DefaultErrorHandler
- onPostInitialization() - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- onPostInitialization() - Method in interface dev.voidframework.web.routing.RouterPostInitialization
-
This method will be called after all routes has been discovered and registered.
- onRouteRequest(Context) - Method in class dev.voidframework.web.http.HttpRequestHandler
-
This method is called each time the framework need to route a request.
- onServerError(Context, Throwable) - Method in interface dev.voidframework.web.http.ErrorHandler
-
This method is called when an unexpected error occurs during the processing of the request.
- onServerError(Context, Throwable) - Method in class dev.voidframework.web.http.impl.DefaultErrorHandler
- OPTIONS - Enum constant in enum class dev.voidframework.web.routing.HttpMethod
- Overflow(int, int) - Constructor for exception dev.voidframework.web.exception.FilterException.Overflow
-
Build a new instance.
P
- path() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
pathrecord component. - POST - Enum constant in enum class dev.voidframework.web.routing.HttpMethod
- prefixRoute() - Element in annotation interface dev.voidframework.web.bindable.WebController
-
Defines a prefix that will be applied to all routes defined in the annotated class.
- process(Context, Config, TemplateRenderer) - Method in class dev.voidframework.web.http.resultprocessor.NoContentResultProcessor
- process(Context, Config, TemplateRenderer) - Method in class dev.voidframework.web.http.resultprocessor.ObjectResultProcessor
- process(Context, Config, TemplateRenderer) - Method in interface dev.voidframework.web.http.resultprocessor.ResultProcessor
-
Process the result.
- process(Context, Config, TemplateRenderer) - Method in class dev.voidframework.web.http.resultprocessor.TemplateResultProcessor
- put(String, String) - Method in class dev.voidframework.web.http.FlashMessages
-
Adds the single flash message.
- put(String, String) - Method in class dev.voidframework.web.http.Session
-
Adds the single value to the session.
- PUT - Enum constant in enum class dev.voidframework.web.routing.HttpMethod
- putAll(Map<? extends String, ? extends String>) - Method in class dev.voidframework.web.http.FlashMessages
-
Adds multiple flash messages.
- putAll(Map<? extends String, ? extends String>) - Method in class dev.voidframework.web.http.Session
-
Adds the multiple values to the session.
R
- redirectPermanentlyTo(String) - Static method in class dev.voidframework.web.http.Result
-
Redirect Permanently (301).
- redirectTemporaryTo(String) - Static method in class dev.voidframework.web.http.Result
-
Redirect Temporary (302).
- remove(Object) - Method in class dev.voidframework.web.http.FlashMessages
-
Removes a flash message.
- remove(Object) - Method in class dev.voidframework.web.http.Session
-
Removes a value from the session.
- render(HttpMethod, String, List<Route>) - Static method in class dev.voidframework.web.http.errorpage.DevMode404NotFound
-
Render template.
- render(String) - Static method in class dev.voidframework.web.http.errorpage.DevMode400BadRequest
-
Render template.
- render(String, String, int, List<DefaultErrorHandler.FileLine>) - Static method in class dev.voidframework.web.http.errorpage.DevMode500InternalServerError
-
Render template.
- RequestBody - Annotation Interface in dev.voidframework.web.http.param
-
Annotation which indicates that a method parameter should be bound to the request body content.
- RequestPath - Annotation Interface in dev.voidframework.web.http.param
-
Annotation which indicates that a method parameter should be bound to a path segment variable.
- RequestRoute - Annotation Interface in dev.voidframework.web.http.param
-
Annotation which indicates that the method should be called if the incoming request matches.
- RequestVariable - Annotation Interface in dev.voidframework.web.http.param
-
Annotation which indicates that a method parameter should be bound to a query string variable.
- ResolvedRoute - Record Class in dev.voidframework.web.routing
-
Represents a resolved route.
- ResolvedRoute(List<Class<? extends Filter>>, Class<?>, Method, Map<String, String>) - Constructor for record class dev.voidframework.web.routing.ResolvedRoute
-
Creates an instance of a
ResolvedRouterecord class. - resolveRoute(HttpMethod, String) - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- resolveRoute(HttpMethod, String) - Method in interface dev.voidframework.web.routing.Router
-
Resolves a route.
- Result - Class in dev.voidframework.web.http
-
An HTTP result.
- Result() - Constructor for class dev.voidframework.web.http.Result
-
Build an empty new instance.
- ResultProcessor - Interface in dev.voidframework.web.http.resultprocessor
-
Result processor.
- reverseRoute(String) - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- reverseRoute(String) - Method in interface dev.voidframework.web.routing.Router
-
Reverses a route to obtains a URL.
- reverseRoute(String, List<Object>) - Method in class dev.voidframework.web.routing.impl.DefaultRouter
- reverseRoute(String, List<Object>) - Method in interface dev.voidframework.web.routing.Router
-
Reverses a route to obtains a URL.
- route() - Element in annotation interface dev.voidframework.web.http.param.RequestRoute
-
Returns the route URL (ie: /test/helloworld).
- Route - Record Class in dev.voidframework.web.routing
-
A single route.
- Route(HttpMethod, Pattern, List<Class<? extends Filter>>, Class<?>, Method) - Constructor for record class dev.voidframework.web.routing.Route
-
Creates an instance of a
Routerecord class. - routePattern() - Method in record class dev.voidframework.web.routing.Route
-
Returns the value of the
routePatternrecord component. - Router - Interface in dev.voidframework.web.routing
-
Router.
- RouterPostInitialization - Interface in dev.voidframework.web.routing
-
Adds a post initialization callback to the router.
- RoutingException - Exception in dev.voidframework.web.exception
-
All exceptions related to the routing feature are subclasses of
RoutingException. - RoutingException(String) - Constructor for exception dev.voidframework.web.exception.RoutingException
-
Build a new instance.
- RoutingException(String, Throwable) - Constructor for exception dev.voidframework.web.exception.RoutingException
-
Build a new instance.
- RoutingException.AppRouteDefinitionLoadFailure - Exception in dev.voidframework.web.exception
-
Exception indicates that app defined route definition class can't be loaded.
- RoutingException.BadRoutingArgument - Exception in dev.voidframework.web.exception
-
Exception indicates that an argument during the route registration is invalid.
S
- sameSiteMode() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
sameSiteModerecord component. - Session - Class in dev.voidframework.web.http
-
An HTTP session.
- Session() - Constructor for class dev.voidframework.web.http.Session
-
Build a new instance.
- Session(Map<String, String>) - Constructor for class dev.voidframework.web.http.Session
-
Build a new instance.
- SessionSigner - Class in dev.voidframework.web.server
-
Signs and verifies the session.
- SessionSigner(Config) - Constructor for class dev.voidframework.web.server.SessionSigner
-
Build a new instance.
- setLocal(Locale) - Method in class dev.voidframework.web.http.Context
-
Sets the locale.
- sign(Session) - Method in class dev.voidframework.web.server.SessionSigner
-
Signs the session.
- startWebServer() - Method in class dev.voidframework.web.server.WebServer
-
Start the web server.
- staticAsset(Context) - Method in class dev.voidframework.web.http.controller.AbstractStaticAssetsController
-
Retrieves a static asset.
- staticAsset(String) - Method in class dev.voidframework.web.http.controller.AbstractStaticAssetsController
-
Retrieves a static asset.
- stopWebServer() - Method in class dev.voidframework.web.server.WebServer
-
Stop the web server.
- StringToBooleanConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anBoolean. - StringToBooleanConverter() - Constructor for class dev.voidframework.web.http.converter.StringToBooleanConverter
- StringToByteConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anByte. - StringToByteConverter() - Constructor for class dev.voidframework.web.http.converter.StringToByteConverter
- StringToCharacterConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anByte. - StringToCharacterConverter() - Constructor for class dev.voidframework.web.http.converter.StringToCharacterConverter
- StringToDoubleConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anDouble. - StringToDoubleConverter() - Constructor for class dev.voidframework.web.http.converter.StringToDoubleConverter
- StringToFloatConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anFloat. - StringToFloatConverter() - Constructor for class dev.voidframework.web.http.converter.StringToFloatConverter
- StringToIntegerConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anInteger. - StringToIntegerConverter() - Constructor for class dev.voidframework.web.http.converter.StringToIntegerConverter
- StringToLongConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anLong. - StringToLongConverter() - Constructor for class dev.voidframework.web.http.converter.StringToLongConverter
- StringToShortConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anShort. - StringToShortConverter() - Constructor for class dev.voidframework.web.http.converter.StringToShortConverter
- StringToUUIDConverter - Class in dev.voidframework.web.http.converter
-
Convert a
Stringinto anUUID. - StringToUUIDConverter() - Constructor for class dev.voidframework.web.http.converter.StringToUUIDConverter
T
- templateName - Variable in class dev.voidframework.web.http.TemplateResult
-
The name of the template to render.
- TemplateResult - Class in dev.voidframework.web.http
-
Indicates that the elements necessary for the result to be processed by the template engine.
- TemplateResultProcessor - Class in dev.voidframework.web.http.resultprocessor
-
Process a template.
- TemplateResultProcessor() - Constructor for class dev.voidframework.web.http.resultprocessor.TemplateResultProcessor
-
Build an empty new instance.
- TemplateResultProcessor(String, Map<String, Object>) - Constructor for class dev.voidframework.web.http.resultprocessor.TemplateResultProcessor
-
Build a new instance.
- TEXT_HTML - Static variable in interface dev.voidframework.web.http.HttpContentType
- TEXT_YAML - Static variable in interface dev.voidframework.web.http.HttpContentType
- timeToLive() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
timeToLiverecord component. - toString() - Method in record class dev.voidframework.web.http.Cookie
-
Returns a string representation of this record class.
- toString() - Method in record class dev.voidframework.web.http.FormItem
-
Returns a string representation of this record class.
- toString() - Method in record class dev.voidframework.web.http.HttpRequestBodyContent
-
Returns a string representation of this record class.
- toString() - Method in record class dev.voidframework.web.http.impl.DefaultErrorHandler.FileLine
-
Returns a string representation of this record class.
- toString() - Method in record class dev.voidframework.web.routing.ResolvedRoute
-
Returns a string representation of this record class.
- toString() - Method in record class dev.voidframework.web.routing.Route
-
Returns a string representation of this record class.
U
- UndertowHttpHandler - Class in dev.voidframework.web.server
-
Undertow HTTP handler.
- UndertowHttpHandler(Config, HttpRequestHandler, SessionSigner) - Constructor for class dev.voidframework.web.server.UndertowHttpHandler
-
Build a new instance.
- UndertowRequest - Class in dev.voidframework.web.server
-
Undertow
HttpRequestimplementation. - UndertowRequest(HttpServerExchange, HttpRequestBodyContent) - Constructor for class dev.voidframework.web.server.UndertowRequest
-
Build a new instance.
V
- value() - Element in annotation interface dev.voidframework.web.filter.WithFilter
-
Defines filters to apply.
- value() - Method in record class dev.voidframework.web.http.Cookie
-
Returns the value of the
valuerecord component. - value() - Method in record class dev.voidframework.web.http.FormItem
-
Returns the value of the
valuerecord component. - value() - Element in annotation interface dev.voidframework.web.http.param.RequestPath
-
The name of the segment to bind to the method parameter.
- value() - Element in annotation interface dev.voidframework.web.http.param.RequestVariable
-
The name of the query string variable to bind to the method parameter.
- valueOf(String) - Static method in enum class dev.voidframework.web.routing.HttpMethod
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.voidframework.web.routing.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(String) - Method in class dev.voidframework.web.server.SessionSigner
-
Verifies the signed session.
W
- WebController - Annotation Interface in dev.voidframework.web.bindable
-
Indicates that an annotated class is a web controller.
- webjarAsset(String) - Method in class dev.voidframework.web.http.controller.AbstractStaticAssetsController
-
Retrieves a webjar asset.
- WebModule - Class in dev.voidframework.web.module
-
The web module.
- WebModule() - Constructor for class dev.voidframework.web.module.WebModule
- WebServer - Class in dev.voidframework.web.server
-
Web server.
- WebServer(Config, Injector) - Constructor for class dev.voidframework.web.server.WebServer
-
Build a new instance.
- withCookie(Cookie) - Method in class dev.voidframework.web.http.Result
-
Assigns a new cookie.
- WithFilter - Annotation Interface in dev.voidframework.web.filter
-
Defines filters to apply.
- withHeader(String, String) - Method in class dev.voidframework.web.http.Result
-
Assigns a new header.
- withoutCookie(Cookie) - Method in class dev.voidframework.web.http.Result
-
Removes a cookie.
- withoutCookie(String) - Method in class dev.voidframework.web.http.Result
-
Removes a cookie.
- withoutHeader(String) - Method in class dev.voidframework.web.http.Result
-
Removes a header.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form