Uses of Interface
io.avaje.jex.Context
Packages that use Context
Package
Description
Avaje Jex API - see
Jex.Classes Governing Http Compression
SPI extension interfaces
-
Uses of Context in io.avaje.jex
Methods in io.avaje.jex that return ContextModifier and TypeMethodDescriptionSets an attribute on the request, accessible to other handlers in the request lifecycle.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.Methods in io.avaje.jex 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.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.spi
Methods in io.avaje.jex.spi with parameters of type Context