Uses of Interface
io.avaje.jex.http.Context
Packages that use Context
Package
Description
Avaje Jex API - see
Jex.Classes Governing Http Compression
Optional JsonServices
Http Constructs (Handlers, Filters, etc.)
Server Sent Event Classes
SPI extension interfaces
-
Uses of Context in io.avaje.jex
Method parameters in io.avaje.jex with type arguments of type ContextModifier and TypeMethodDescriptiondefault JexAdd a post-processing filter for all matched requests.default RoutingAdd a post-processing filter for all matched requests.default JexAdd a pre-processing filter for all matched requests.default RoutingAdd a pre-processing filter for all matched requests. -
Uses of Context in io.avaje.jex.compression
Constructors in io.avaje.jex.compression with parameters of type ContextModifierConstructorDescriptionCompressedOutputStream(CompressionConfig compression, Context ctx, OutputStream originStream) -
Uses of Context in io.avaje.jex.core.json
Methods in io.avaje.jex.core.json with parameters of type Context -
Uses of Context in io.avaje.jex.http
Methods in io.avaje.jex.http that return ContextModifier and TypeMethodDescriptionSets an attribute on the request, accessible to other handlers in the request lifecycle.default ContextContext.contentLength(long length) Manually set the response content length.default ContextContext.contentType(ContentType contentType) Set the response content type.Context.contentType(String contentType) Set the response content type.Context.cookie(Context.Cookie cookie) Sets a cookie using the providedContext.Cookieobject.Sets a cookie with the specified name and value, with no expiration date.Sets a cookie with the specified name, value, and maximum age in seconds.Set the response header.Set the response header.Sets the response headers using the provided map.default ContextAdd the response headers using the provided map.Context.removeCookie(String name) Removes a cookie with the specified name.Context.removeCookie(String name, String path) Removes a cookie with the specified name and path.default ContextRender a template typically as html.Render a template typically as html with the given model.Context.status(int statusCode) Set the status code on the response.default ContextContext.status(HttpStatus statusCode) Set the status code on the response.Methods in io.avaje.jex.http with parameters of type ContextModifier and TypeMethodDescriptionvoidHttpFilter.filter(Context ctx, HttpFilter.FilterChain chain) Asks this filter to pre/post-process the given request.voidError handling consumer.voidHandles the given HTTP request and generates a response. -
Uses of Context in io.avaje.jex.http.sse
Methods in io.avaje.jex.http.sse that return Context -
Uses of Context in io.avaje.jex.spi
Methods in io.avaje.jex.spi with parameters of type Context