Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes|All Packages

A

ACCEPT - Static variable in class io.avaje.jex.spi.HeaderKeys
 
accessManager - Variable in class io.avaje.jex.Jex.Config
 
accessManager(AccessManager) - Method in class io.avaje.jex.Jex
Set the AccessManager.
AccessManager - Interface in io.avaje.jex
Provide access check for routes that have permitted roles assigned to them.
activeRequests() - Method in interface io.avaje.jex.spi.SpiRoutes
Return the active request count.
activeRequests() - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Return the active request count for the route.
add(ErrorHandling) - Method in interface io.avaje.jex.ErrorHandling.Service
Add to the error handling.
add(Routing) - Method in interface io.avaje.jex.Routing.Service
Add to the routing.
add(Routing.Service) - Method in interface io.avaje.jex.Routing
Add the routes provided by the Routing Service.
addAll(Collection<Routing.Service>) - Method in interface io.avaje.jex.Routing
Add all the routes provided by the Routing Services.
addClasspath(String) - Method in interface io.avaje.jex.StaticFileConfig
 
addClasspath(String, String) - Method in interface io.avaje.jex.StaticFileConfig
 
addExternal(String) - Method in interface io.avaje.jex.StaticFileConfig
 
addExternal(String, String) - Method in interface io.avaje.jex.StaticFileConfig
 
addGroup() - Method in interface io.avaje.jex.Routing.Group
Add the group of entries with a common prefix.
after(Handler) - Method in interface io.avaje.jex.Routing
Add an after filter for all requests.
after(String, Handler) - Method in interface io.avaje.jex.Routing
Add a after filter for the given path.
after(String, SpiContext) - Method in interface io.avaje.jex.spi.SpiRoutes
Execute all appropriate after filters for the given request URI.
AFTER - io.avaje.jex.Routing.Type
After filter.
all() - Method in interface io.avaje.jex.Routing
Return all the registered handlers.
APPLICATION_JSON - Static variable in interface io.avaje.jex.spi.SpiContext
 
APPLICATION_X_JSON_STREAM - Static variable in interface io.avaje.jex.spi.SpiContext
 
AppLifecycle - Interface in io.avaje.jex
Application lifecycle support.
AppLifecycle.Status - Enum in io.avaje.jex
 
apply(Jex) - Method in class io.avaje.jex.core.HealthPlugin
 
apply(Jex) - Method in interface io.avaje.jex.Plugin
Register the plugin features with jex.
attribute(Class<T>) - Method in class io.avaje.jex.Jex
Return a custom attribute.
attribute(Class<T>, T) - Method in class io.avaje.jex.Jex
Set a custom attribute that can be used by an implementation.
attribute(String) - Method in interface io.avaje.jex.Context
Get the specified attribute from the request.
attribute(String, Object) - Method in interface io.avaje.jex.Context
Sets an attribute on the request.

B

BadGatewayResponse - Exception in io.avaje.jex.http
 
BadGatewayResponse() - Constructor for exception io.avaje.jex.http.BadGatewayResponse
 
BadGatewayResponse(String) - Constructor for exception io.avaje.jex.http.BadGatewayResponse
 
BadRequestResponse - Exception in io.avaje.jex.http
 
BadRequestResponse() - Constructor for exception io.avaje.jex.http.BadRequestResponse
 
BadRequestResponse(String) - Constructor for exception io.avaje.jex.http.BadRequestResponse
 
before(Handler) - Method in interface io.avaje.jex.Routing
Add a before filter for all requests.
before(String, Handler) - Method in interface io.avaje.jex.Routing
Add a before filter for the given path.
before(String, SpiContext) - Method in interface io.avaje.jex.spi.SpiRoutes
Execute all appropriate before filters for the given request URI.
BEFORE - io.avaje.jex.Routing.Type
Before filter.
body() - Method in interface io.avaje.jex.Context
Return the request body as String.
bodyAsBytes() - Method in interface io.avaje.jex.Context
Return the request body as bytes.
bodyAsClass(Class<T>) - Method in interface io.avaje.jex.Context
Return the request body as bean.
BootstapServiceManager - Class in io.avaje.jex.core
 
BootstapServiceManager() - Constructor for class io.avaje.jex.core.BootstapServiceManager
 

C

CLASSPATH - io.avaje.jex.StaticFileSource.Location
 
config - Variable in class io.avaje.jex.Jex
 
Config() - Constructor for class io.avaje.jex.Jex.Config
 
configure(Consumer<Jex>) - Method in class io.avaje.jex.Jex
Configure via a lambda taking the jex instance.
configureWith(BeanScope) - Method in class io.avaje.jex.Jex
Configure given the dependency injection scope from avaje-inject.
ConflictResponse - Exception in io.avaje.jex.http
 
ConflictResponse() - Constructor for exception io.avaje.jex.http.ConflictResponse
 
ConflictResponse(String) - Constructor for exception io.avaje.jex.http.ConflictResponse
 
content() - Method in interface io.avaje.jex.UploadedFile
Return the file content as InputStream.
CONTENT_DISPOSITION - Static variable in class io.avaje.jex.spi.HeaderKeys
 
CONTENT_ENCODING - Static variable in class io.avaje.jex.spi.HeaderKeys
 
CONTENT_LANGUAGE - Static variable in class io.avaje.jex.spi.HeaderKeys
 
CONTENT_LENGTH - Static variable in class io.avaje.jex.spi.HeaderKeys
 
CONTENT_LOCATION - Static variable in class io.avaje.jex.spi.HeaderKeys
 
CONTENT_RANGE - Static variable in class io.avaje.jex.spi.HeaderKeys
 
CONTENT_TYPE - Static variable in class io.avaje.jex.spi.HeaderKeys
 
contentLength() - Method in interface io.avaje.jex.Context
Return the request content length.
contentType() - Method in interface io.avaje.jex.Context
Return the request content type.
contentType() - Method in interface io.avaje.jex.UploadedFile
Return the content type for this part.
contentType(String) - Method in interface io.avaje.jex.Context
Set the response content type.
context(String) - Method in class io.avaje.jex.Jex
Set the context path.
Context - Interface in io.avaje.jex
Provides access to functions for handling the request and response.
Context.Cookie - Class in io.avaje.jex
 
contextPath - Variable in class io.avaje.jex.Jex.Config
 
contextPath() - Method in interface io.avaje.jex.Context
Return the request context path.
cookie(Context.Cookie) - Method in interface io.avaje.jex.Context
Sets a Cookie.
cookie(String) - Method in interface io.avaje.jex.Context
Return a request cookie by name, or null.
cookie(String, String) - Method in interface io.avaje.jex.Context
Sets a cookie with name, value with unlimited age.
cookie(String, String, int) - Method in interface io.avaje.jex.Context
Sets a cookie with name, value, and max-age.
cookieMap() - Method in interface io.avaje.jex.Context
Returns a map with all the cookie keys and values on the request.
create() - Static method in class io.avaje.jex.Jex
Create Jex to configure with routes etc before starting.
create(Jex) - Method in class io.avaje.jex.core.BootstapServiceManager
 
create(Jex) - Method in interface io.avaje.jex.spi.SpiServiceManagerProvider
 
create(Routing, AccessManager, boolean) - Method in interface io.avaje.jex.spi.SpiRoutesProvider
Build and return the Routing.

D

dec() - Method in interface io.avaje.jex.spi.SpiRoutes
Decrement active request count for no route match.
dec() - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Decrement active request count for the route.
defaultExtensions() - Method in interface io.avaje.jex.TemplateRender
Return the extensions this template renders for by default.
delegate - Variable in class io.avaje.jex.spi.ProxyServiceManager
 
delete() - Method in interface io.avaje.jex.UploadedFile
 
delete(Handler) - Method in interface io.avaje.jex.Routing
Add a DELETE handler for "/".
delete(String, Handler) - Method in interface io.avaje.jex.Routing
Add a DELETE handler.
DELETE - io.avaje.jex.Routing.Type
HTTP DELETE.
domain() - Method in class io.avaje.jex.Context.Cookie
 
domain(String) - Method in class io.avaje.jex.Context.Cookie
 

E

equals(Object) - Method in class io.avaje.jex.StaticFileSource
 
error(int, Handler) - Method in interface io.avaje.jex.ErrorHandling
Adds an error mapper to the instance.
error(int, String, Handler) - Method in interface io.avaje.jex.ErrorHandling
Adds an error mapper for the specified content-type to the instance.
errorHandling() - Method in class io.avaje.jex.Jex
Return the Error handler to add error handlers.
errorHandling(ErrorHandling.Service) - Method in class io.avaje.jex.Jex
Configure error handlers.
ErrorHandling - Interface in io.avaje.jex
 
ErrorHandling.Service - Interface in io.avaje.jex
Adds to the Routing.
exception(Class<T>, ExceptionHandler<T>) - Method in interface io.avaje.jex.ErrorHandling
Register an exception handler for the given exception type.
exception(Class<T>, ExceptionHandler<T>) - Method in class io.avaje.jex.Jex
Add an exception handler for the given exception type.
ExceptionHandler<T extends Exception> - Interface in io.avaje.jex
 
expired(String) - Static method in class io.avaje.jex.Context.Cookie
 
expires() - Method in class io.avaje.jex.Context.Cookie
 
expires(ZonedDateTime) - Method in class io.avaje.jex.Context.Cookie
 
EXTERNAL - io.avaje.jex.StaticFileSource.Location
 

F

fileName() - Method in interface io.avaje.jex.UploadedFile
Return the submitted file name.
fileSizeThreshold() - Method in class io.avaje.jex.UploadConfig
 
fileSizeThreshold(int) - Method in class io.avaje.jex.UploadConfig
 
find(Class<T>) - Method in interface io.avaje.jex.ErrorHandling
Return a registered exception handler given the exception type or null if one is not found.
ForbiddenResponse - Exception in io.avaje.jex.http
 
ForbiddenResponse() - Constructor for exception io.avaje.jex.http.ForbiddenResponse
 
ForbiddenResponse(String) - Constructor for exception io.avaje.jex.http.ForbiddenResponse
 
formParam(String) - Method in interface io.avaje.jex.Context
Return the first form param value for the specified key or null.
formParam(String, String) - Method in interface io.avaje.jex.Context
Return the first form param value for the specified key or the default value.
formParamMap() - Method in interface io.avaje.jex.Context
Returns a map with all the form param keys and values.
formParamMap(Context, String) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
formParamMap(Context, String) - Method in interface io.avaje.jex.spi.SpiServiceManager
Parse and return the body as form parameters.
formParams(String) - Method in interface io.avaje.jex.Context
Return the form params for the specified key, or empty list.
fullUrl() - Method in interface io.avaje.jex.Context
Return the full request url, including query string (if present)

G

GatewayTimeoutResponse - Exception in io.avaje.jex.http
 
GatewayTimeoutResponse() - Constructor for exception io.avaje.jex.http.GatewayTimeoutResponse
 
GatewayTimeoutResponse(String) - Constructor for exception io.avaje.jex.http.GatewayTimeoutResponse
 
get(Handler) - Method in interface io.avaje.jex.Routing
Add a GET handler for "/".
get(String, Handler) - Method in interface io.avaje.jex.Routing
Add a GET handler.
GET - io.avaje.jex.Routing.Type
Http GET.
getDetails() - Method in exception io.avaje.jex.http.HttpResponseException
 
getHandler() - Method in interface io.avaje.jex.Routing.Entry
Return the handler.
getLocation() - Method in class io.avaje.jex.StaticFileSource
 
getPath() - Method in interface io.avaje.jex.Routing.Entry
Return the full path of the entry.
getPath() - Method in class io.avaje.jex.StaticFileSource
 
getRoles() - Method in interface io.avaje.jex.Routing.Entry
Return the roles.
getSources() - Method in interface io.avaje.jex.StaticFileConfig
 
getStatus() - Method in exception io.avaje.jex.http.HttpResponseException
 
getType() - Method in interface io.avaje.jex.Routing.Entry
Return the type of entry.
getUrlPathPrefix() - Method in class io.avaje.jex.StaticFileSource
 
GoneResponse - Exception in io.avaje.jex.http
 
GoneResponse() - Constructor for exception io.avaje.jex.http.GoneResponse
 
GoneResponse(String) - Constructor for exception io.avaje.jex.http.GoneResponse
 

H

handle(Context) - Method in interface io.avaje.jex.Handler
 
handle(Context) - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Handle the request.
handle(T, Context) - Method in interface io.avaje.jex.ExceptionHandler
 
handleException(SpiContext, Exception) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
handleException(SpiContext, Exception) - Method in interface io.avaje.jex.spi.SpiServiceManager
Handle the exception.
Handler - Interface in io.avaje.jex
 
hashCode() - Method in class io.avaje.jex.StaticFileSource
 
head(Handler) - Method in interface io.avaje.jex.Routing
Add a HEAD handler for "/".
head(String, Handler) - Method in interface io.avaje.jex.Routing
Add a HEAD handler.
HEAD - io.avaje.jex.Routing.Type
HTTP HEAD.
header(String) - Method in interface io.avaje.jex.Context
Return the request header.
header(String, String) - Method in interface io.avaje.jex.Context
Set the response header.
HeaderKeys - Class in io.avaje.jex.spi
 
HeaderKeys() - Constructor for class io.avaje.jex.spi.HeaderKeys
 
headerMap() - Method in interface io.avaje.jex.Context
Return all the request headers as a map.
health - Variable in class io.avaje.jex.Jex.Config
By default include the HealthPlugin.
HealthPlugin - Class in io.avaje.jex.core
Health plugin with liveness and readiness support based on the application lifecycle support.
HealthPlugin() - Constructor for class io.avaje.jex.core.HealthPlugin
 
host - Variable in class io.avaje.jex.Jex.Config
 
host() - Method in interface io.avaje.jex.Context
Returns the request host, or null.
HOST - Static variable in class io.avaje.jex.spi.HeaderKeys
 
html(String) - Method in interface io.avaje.jex.Context
Write html content to the response.
httpOnly() - Method in class io.avaje.jex.Context.Cookie
 
httpOnly(boolean) - Method in class io.avaje.jex.Context.Cookie
 
HttpResponseException - Exception in io.avaje.jex.http
 
HttpResponseException(int, String) - Constructor for exception io.avaje.jex.http.HttpResponseException
 
HttpResponseException(int, String, Map<String, String>) - Constructor for exception io.avaje.jex.http.HttpResponseException
 

I

ignoreTrailingSlashes - Variable in class io.avaje.jex.Jex.Config
 
inc() - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Increment active request count for the route.
inc() - Method in interface io.avaje.jex.spi.SpiRoutes
Increment active request count for no route match.
inputStream() - Method in interface io.avaje.jex.spi.SpiContext
Return the request inputStream to read content from.
InternalServerErrorResponse - Exception in io.avaje.jex.http
 
InternalServerErrorResponse() - Constructor for exception io.avaje.jex.http.InternalServerErrorResponse
 
InternalServerErrorResponse(String) - Constructor for exception io.avaje.jex.http.InternalServerErrorResponse
 
io.avaje.jex - module io.avaje.jex
 
io.avaje.jex - package io.avaje.jex
 
io.avaje.jex.core - package io.avaje.jex.core
 
io.avaje.jex.http - package io.avaje.jex.http
 
io.avaje.jex.spi - package io.avaje.jex.spi
 
ip() - Method in interface io.avaje.jex.Context
Returns the request IP.
isAlive() - Method in interface io.avaje.jex.AppLifecycle
Return true if status starting or started (the server is coming up).
isMultipart() - Method in interface io.avaje.jex.Context
Returns true if request is multipart.
isMultipartFormData() - Method in interface io.avaje.jex.Context
Returns true if request is multipart/form-data.
isReady() - Method in interface io.avaje.jex.AppLifecycle
Return true the server has started.

J

JacksonJsonService - Class in io.avaje.jex.core
 
JacksonJsonService() - Constructor for class io.avaje.jex.core.JacksonJsonService
 
JacksonJsonService(ObjectMapper) - Constructor for class io.avaje.jex.core.JacksonJsonService
 
Jex - Class in io.avaje.jex
Create configure and start Jex.
Jex.Config - Class in io.avaje.jex
 
Jex.Server - Interface in io.avaje.jex
The running server.
json(Object) - Method in interface io.avaje.jex.Context
Set the response body as JSON for the given bean.
jsonRead(Class<T>, SpiContext) - Method in class io.avaje.jex.core.JacksonJsonService
 
jsonRead(Class<T>, SpiContext) - Method in interface io.avaje.jex.spi.JsonService
Read the request body as a bean and return the bean.
jsonRead(Class<T>, SpiContext) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
jsonRead(Class<T>, SpiContext) - Method in interface io.avaje.jex.spi.SpiServiceManager
Read and return the type from json request content.
jsonService - Variable in class io.avaje.jex.Jex.Config
 
jsonService(JsonService) - Method in class io.avaje.jex.Jex
Set the JsonService.
JsonService - Interface in io.avaje.jex.spi
Service used to convert request/response bodies to beans.
jsonStream(Iterator<E>) - Method in interface io.avaje.jex.Context
Write the stream as a JSON stream with new line delimiters application/x-json-stream.
jsonStream(Stream<E>) - Method in interface io.avaje.jex.Context
Write the stream as a JSON stream with new line delimiters application/x-json-stream.
jsonWrite(Object, SpiContext) - Method in class io.avaje.jex.core.JacksonJsonService
 
jsonWrite(Object, SpiContext) - Method in interface io.avaje.jex.spi.JsonService
Write the bean as JSON response content.
jsonWrite(Object, SpiContext) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
jsonWrite(Object, SpiContext) - Method in interface io.avaje.jex.spi.SpiServiceManager
Write as json to response content.
jsonWriteStream(Iterator<E>, SpiContext) - Method in interface io.avaje.jex.spi.JsonService
Write the beans as x-json-stream JSON with new line delimiter.
jsonWriteStream(Iterator<E>, SpiContext) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
jsonWriteStream(Iterator<E>, SpiContext) - Method in interface io.avaje.jex.spi.SpiServiceManager
Write as json stream to response content.
jsonWriteStream(Iterator<T>, SpiContext) - Method in class io.avaje.jex.core.JacksonJsonService
 
jsonWriteStream(Stream<E>, SpiContext) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
jsonWriteStream(Stream<E>, SpiContext) - Method in interface io.avaje.jex.spi.SpiServiceManager
Write as json stream to response content.

L

lifecycle() - Method in class io.avaje.jex.Jex
Return the application lifecycle support.
literal() - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Return true if all segments are literal.
location() - Method in class io.avaje.jex.UploadConfig
 
location(String) - Method in class io.avaje.jex.UploadConfig
 
LOCATION - Static variable in class io.avaje.jex.spi.HeaderKeys
 
lookupRoutingType(String) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
lookupRoutingType(String) - Method in interface io.avaje.jex.spi.SpiServiceManager
Return the routing type given the http method.

M

manage(Handler, Context, Set<Role>) - Method in interface io.avaje.jex.AccessManager
Check that the current user has one of the required roles.
match(Routing.Type, String) - Method in interface io.avaje.jex.spi.SpiRoutes
Find the matching handler entry given the type and request URI.
matchedPath() - Method in interface io.avaje.jex.Context
Return the matched path as a raw expression.
matches(String) - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Return true if it matches the request URI.
matchPath() - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Return the raw path expression.
maxAge() - Method in class io.avaje.jex.Context.Cookie
 
maxAge(Duration) - Method in class io.avaje.jex.Context.Cookie
 
maxFileSize() - Method in class io.avaje.jex.UploadConfig
 
maxFileSize(long) - Method in class io.avaje.jex.UploadConfig
 
maxRequestSize() - Method in class io.avaje.jex.UploadConfig
 
maxRequestSize(long) - Method in class io.avaje.jex.UploadConfig
 
maybeClose(Object) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
maybeClose(Object) - Method in interface io.avaje.jex.spi.SpiServiceManager
Maybe close if iterator is a AutoClosable.
method() - Method in interface io.avaje.jex.Context
Returns the request method.
MethodNotAllowedResponse - Exception in io.avaje.jex.http
 
MethodNotAllowedResponse(String) - Constructor for exception io.avaje.jex.http.MethodNotAllowedResponse
 
MethodNotAllowedResponse(String, Map<String, String>) - Constructor for exception io.avaje.jex.http.MethodNotAllowedResponse
 
multipartConfig - Variable in class io.avaje.jex.Jex.Config
 
multipartFileThreshold - Variable in class io.avaje.jex.Jex.Config
 
multiSlash() - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Return true if one of the segments is the wildcard match or accepting slashes.

N

name() - Method in class io.avaje.jex.Context.Cookie
 
name() - Method in interface io.avaje.jex.UploadedFile
Return the name of the part.
NotFoundResponse - Exception in io.avaje.jex.http
 
NotFoundResponse() - Constructor for exception io.avaje.jex.http.NotFoundResponse
 
NotFoundResponse(String) - Constructor for exception io.avaje.jex.http.NotFoundResponse
 

O

of(String, String) - Static method in class io.avaje.jex.Context.Cookie
 
onShutdown(Runnable) - Method in interface io.avaje.jex.AppLifecycle
Register a Runnable to run on shutdown of the server.
onShutdown(Runnable) - Method in interface io.avaje.jex.Jex.Server
Register a function to execute LAST on shutdown after all the normal lifecycle shutdown functions have run.
onShutdown(Runnable, int) - Method in interface io.avaje.jex.AppLifecycle
Register a Runnable to run on shutdown of the server with ordering.
outputStream() - Method in interface io.avaje.jex.spi.SpiContext
Return the response outputStream to write content to.

P

parseParamMap(String, String) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
parseParamMap(String, String) - Method in interface io.avaje.jex.spi.SpiServiceManager
Parse and return the content as url encoded parameters.
patch(Handler) - Method in interface io.avaje.jex.Routing
Add a PATCH handler for "/".
patch(String, Handler) - Method in interface io.avaje.jex.Routing
Add a PATCH handler.
PATCH - io.avaje.jex.Routing.Type
HTTP PATCH.
path() - Method in class io.avaje.jex.Context.Cookie
 
path() - Method in interface io.avaje.jex.Context
Return the request path.
path(String) - Method in class io.avaje.jex.Context.Cookie
 
path(String, Routing.Group) - Method in interface io.avaje.jex.Routing
Add a group of route handlers with a common path prefix.
pathParam(String) - Method in interface io.avaje.jex.Context
Return the path parameter.
pathParamMap() - Method in interface io.avaje.jex.Context
Return all the path parameters as a map.
pathParams(String) - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Return the path parameter map given the uri.
performRedirect() - Method in interface io.avaje.jex.spi.SpiContext
Preform the redirect as part of Exception handling typically due to before handler.
plugin(Plugin) - Method in class io.avaje.jex.Jex
Add Plugin functionality.
Plugin - Interface in io.avaje.jex
A plugin that can register things like routes, exception handlers etc.
port - Variable in class io.avaje.jex.Jex.Config
 
port() - Method in interface io.avaje.jex.Context
Return the request port.
port(int) - Method in class io.avaje.jex.Jex
Set the port to use.
post(Handler) - Method in interface io.avaje.jex.Routing
Add a POST handler for "/".
post(String, Handler) - Method in interface io.avaje.jex.Routing
Add a POST handler.
POST - io.avaje.jex.Routing.Type
Http POST.
preCompressStaticFiles - Variable in class io.avaje.jex.Jex.Config
 
prefer405 - Variable in class io.avaje.jex.Jex.Config
 
protocol() - Method in interface io.avaje.jex.Context
Return the request protocol.
ProxyServiceManager - Class in io.avaje.jex.spi
Provides a delegating proxy to a SpiServiceManager.
ProxyServiceManager(SpiServiceManager) - Constructor for class io.avaje.jex.spi.ProxyServiceManager
 
put(Handler) - Method in interface io.avaje.jex.Routing
Add a PUT handler for "/".
put(String, Handler) - Method in interface io.avaje.jex.Routing
Add a PUT handler.
PUT - io.avaje.jex.Routing.Type
HTTP PUT.

Q

queryParam(String) - Method in interface io.avaje.jex.Context
Return the first query parameter value.
queryParamMap() - Method in interface io.avaje.jex.Context
Return all the query parameters as a map.
queryParams(String) - Method in interface io.avaje.jex.Context
Return all the query parameters for the given parameter name.
queryString() - Method in interface io.avaje.jex.Context
Return the request query string, or null.

R

redirect(String) - Method in interface io.avaje.jex.Context
Redirect to the specified location using 302 status code.
redirect(String, int) - Method in interface io.avaje.jex.Context
Redirect to the location specifying the response status code.
RedirectResponse - Exception in io.avaje.jex.http
 
RedirectResponse() - Constructor for exception io.avaje.jex.http.RedirectResponse
Redirect with 302 http status code.
RedirectResponse(int) - Constructor for exception io.avaje.jex.http.RedirectResponse
Redirect with the given http status code.
RedirectResponse(String) - Constructor for exception io.avaje.jex.http.RedirectResponse
Redirect with the given message.
register(TemplateRender, String...) - Method in class io.avaje.jex.Jex
Explicitly register a template renderer.
register(String, TemplateRender) - Method in class io.avaje.jex.core.TemplateManager
Register an extension and renderer.
register(Map<String, TemplateRender>) - Method in class io.avaje.jex.core.TemplateManager
Register all the extension renderer pairs.
registerDefault(TemplateRender) - Method in class io.avaje.jex.core.TemplateManager
Auto register via ServiceLoader if it has not already been explicitly registered.
registerShutdownHook(Runnable) - Method in interface io.avaje.jex.AppLifecycle
Register the runnable with the Runtime as a shutdown hook.
removeCookie(String) - Method in interface io.avaje.jex.Context
Remove a cookie by name.
removeCookie(String, String) - Method in interface io.avaje.jex.Context
Remove a cookie by name and path.
render(Context, String, Map<String, Object>) - Method in class io.avaje.jex.core.TemplateManager
Render the template and model typically as html to the context.
render(Context, String, Map<String, Object>) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
render(Context, String, Map<String, Object>) - Method in interface io.avaje.jex.spi.SpiServiceManager
Render using template manager.
render(Context, String, Map<String, Object>) - Method in interface io.avaje.jex.TemplateRender
Render the template and model typically as html to the given context.
render(String) - Method in interface io.avaje.jex.Context
Render a template typically as html.
render(String, Map<String, Object>) - Method in interface io.avaje.jex.Context
Render a template typically as html with the given model.
renderers - Variable in class io.avaje.jex.Jex.Config
 
requestCharset(Context) - Method in class io.avaje.jex.spi.ProxyServiceManager
 
requestCharset(Context) - Method in interface io.avaje.jex.spi.SpiServiceManager
Return the character set of the request.
responseHeader(String) - Method in interface io.avaje.jex.Context
Return the response header.
Role - Interface in io.avaje.jex
 
routing() - Method in class io.avaje.jex.Jex
Return the Routing to configure.
routing(Routing.Service) - Method in class io.avaje.jex.Jex
Add routes and handlers to the routing.
routing(Collection<Routing.Service>) - Method in class io.avaje.jex.Jex
Add many routes and handlers to the routing.
Routing - Interface in io.avaje.jex
 
Routing.Entry - Interface in io.avaje.jex
A routing entry.
Routing.Group - Interface in io.avaje.jex
A group of routing entries prefixed by a common path.
Routing.Service - Interface in io.avaje.jex
Adds to the Routing.
Routing.Type - Enum in io.avaje.jex
The type of route entry.

S

scheme() - Method in interface io.avaje.jex.Context
Return the request scheme.
secure() - Method in class io.avaje.jex.Context.Cookie
 
secure(boolean) - Method in class io.avaje.jex.Context.Cookie
 
segmentCount() - Method in interface io.avaje.jex.spi.SpiRoutes.Entry
Return the segment count.
serverConfig() - Method in class io.avaje.jex.Jex
Return the server specific configuration.
serverConfig(ServerConfig) - Method in class io.avaje.jex.Jex
Set the server specific configuration.
ServerConfig - Interface in io.avaje.jex
Marker for server specific configuration.
ServiceUnavailableResponse - Exception in io.avaje.jex.http
 
ServiceUnavailableResponse() - Constructor for exception io.avaje.jex.http.ServiceUnavailableResponse
 
ServiceUnavailableResponse(String) - Constructor for exception io.avaje.jex.http.ServiceUnavailableResponse
 
sessionAttribute(String) - Method in interface io.avaje.jex.Context
Gets specified attribute from the user session, or null.
sessionAttribute(String, Object) - Method in interface io.avaje.jex.Context
Sets an attribute for the user session.
sessionAttributeMap() - Method in interface io.avaje.jex.Context
Return a map of all the attributes in the user session.
setMode(Routing.Type) - Method in interface io.avaje.jex.spi.SpiContext
Set to indicate BEFORE, Handler and AFTER modes of the request.
shutdown() - Method in interface io.avaje.jex.Jex.Server
Shutdown the server.
size() - Method in interface io.avaje.jex.UploadedFile
Return the size.
SpiContext - Interface in io.avaje.jex.spi
Extension to Context for processing the request.
SpiRoutes - Interface in io.avaje.jex.spi
Route matching and filter handling.
SpiRoutes.Entry - Interface in io.avaje.jex.spi
A route entry.
SpiRoutesProvider - Interface in io.avaje.jex.spi
 
SpiServiceManager - Interface in io.avaje.jex.spi
Core service methods available to Context implementations.
SpiServiceManagerProvider - Interface in io.avaje.jex.spi
 
SpiStartServer - Interface in io.avaje.jex.spi
Start the server.
start() - Method in class io.avaje.jex.Jex
Start the server.
start(Jex, SpiRoutes, SpiServiceManager) - Method in interface io.avaje.jex.spi.SpiStartServer
Return the started server.
STARTED - io.avaje.jex.AppLifecycle.Status
 
STARTING - io.avaje.jex.AppLifecycle.Status
 
StaticFileConfig - Interface in io.avaje.jex
 
staticFiles() - Method in class io.avaje.jex.Jex
Return the static file configuration.
StaticFileSource - Class in io.avaje.jex
 
StaticFileSource(String, String, StaticFileSource.Location) - Constructor for class io.avaje.jex.StaticFileSource
 
StaticFileSource.Location - Enum in io.avaje.jex
 
status() - Method in interface io.avaje.jex.AppLifecycle
Return the current status.
status() - Method in interface io.avaje.jex.Context
Return the current response status.
status(int) - Method in interface io.avaje.jex.Context
Set the status code on the response.
status(AppLifecycle.Status) - Method in interface io.avaje.jex.AppLifecycle
Set the current status.
STOPPED - io.avaje.jex.AppLifecycle.Status
 
STOPPING - io.avaje.jex.AppLifecycle.Status
 

T

TemplateManager - Class in io.avaje.jex.core
Render templates typically as html.
TemplateManager() - Constructor for class io.avaje.jex.core.TemplateManager
 
TemplateRender - Interface in io.avaje.jex
Template rendering typically of html.
text(String) - Method in interface io.avaje.jex.Context
Write plain text content to the response.
TEXT_HTML - Static variable in interface io.avaje.jex.spi.SpiContext
 
TEXT_HTML_UTF8 - Static variable in interface io.avaje.jex.spi.SpiContext
 
TEXT_PLAIN - Static variable in interface io.avaje.jex.spi.SpiContext
 
TEXT_PLAIN_UTF8 - Static variable in interface io.avaje.jex.spi.SpiContext
 
toString() - Method in class io.avaje.jex.Context.Cookie
Returns content of this instance as a 'Set-Cookie:' header value specified by RFC6265.
toString() - Method in class io.avaje.jex.StaticFileSource
 
trace(Handler) - Method in interface io.avaje.jex.Routing
Add a TRACE handler for "/".
trace(String, Handler) - Method in interface io.avaje.jex.Routing
Add a TRACE handler.
TRACE - io.avaje.jex.Routing.Type
HTTP TRACE.

U

UnauthorizedResponse - Exception in io.avaje.jex.http
 
UnauthorizedResponse() - Constructor for exception io.avaje.jex.http.UnauthorizedResponse
 
UnauthorizedResponse(String) - Constructor for exception io.avaje.jex.http.UnauthorizedResponse
 
UploadConfig - Class in io.avaje.jex
Configuration for server handling of Multipart file uploads etc.
UploadConfig() - Constructor for class io.avaje.jex.UploadConfig
 
UploadConfig(String, long, long, int) - Constructor for class io.avaje.jex.UploadConfig
 
uploadedFile(String) - Method in interface io.avaje.jex.Context
Return the first UploadedFile for the specified name or null.
UploadedFile - Interface in io.avaje.jex
An uploaded file.
uploadedFiles() - Method in interface io.avaje.jex.Context
Return a list of all UploadedFiles.
uploadedFiles(String) - Method in interface io.avaje.jex.Context
Return a list of UploadedFiles for the specified name, or empty list.
url() - Method in interface io.avaje.jex.Context
Return the request url.
USER_AGENT - Static variable in class io.avaje.jex.spi.HeaderKeys
 
userAgent() - Method in interface io.avaje.jex.Context
Return the request user agent, or null.

V

value() - Method in class io.avaje.jex.Context.Cookie
 
valueOf(String) - Static method in enum io.avaje.jex.AppLifecycle.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.avaje.jex.Routing.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.avaje.jex.StaticFileSource.Location
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.avaje.jex.AppLifecycle.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.avaje.jex.Routing.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.avaje.jex.StaticFileSource.Location
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForIdle(long) - Method in interface io.avaje.jex.spi.SpiRoutes
Wait for no active requests.
withRoles(Role...) - Method in interface io.avaje.jex.Routing
Specify permittedRoles for the last added handler using varargs.
withRoles(Set<Role>) - Method in interface io.avaje.jex.Routing
Specify permittedRoles for the last added handler.
write(String) - Method in interface io.avaje.jex.Context
Write raw content to the response.
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes|All Packages