Uses of Interface
io.avaje.jex.Context
Packages that use Context
-
Uses of Context in io.avaje.jex
Methods in io.avaje.jex that return ContextModifier and TypeMethodDescriptionSets an attribute on the request.Context.contentType(String contentType) Set the response content type.Context.cookie(Context.Cookie cookie) Sets a Cookie.Sets a cookie with name, value with unlimited age.Sets a cookie with name, value, and max-age.Set the response header.Write html content to the response.Set the response body as JSON for the given bean.<E> ContextContext.jsonStream(Iterator<E> iterator) Write the stream as a JSON stream with new line delimiters application/x-json-stream.<E> ContextContext.jsonStream(Stream<E> stream) Write the stream as a JSON stream with new line delimiters application/x-json-stream.Context.removeCookie(String name) Remove a cookie by name.Context.removeCookie(String name, String path) Remove a cookie by name and path.default ContextRender a template typically as html.Render a template typically as html with the given model.Context.sessionAttribute(String key, Object value) Sets an attribute for the user session.Context.status(int statusCode) Set the status code on the response.Write plain text content to the response.Write raw content to the response.Methods in io.avaje.jex with parameters of type ContextModifier and TypeMethodDescriptionvoidvoidvoidCheck that the current user has one of the required roles.voidRender the template and model typically as html to the given context. -
Uses of Context in io.avaje.jex.core
Methods in io.avaje.jex.core with parameters of type Context -
Uses of Context in io.avaje.jex.spi
Subinterfaces of Context in io.avaje.jex.spiModifier and TypeInterfaceDescriptioninterfaceExtension to Context for processing the request.Methods in io.avaje.jex.spi with parameters of type ContextModifier and TypeMethodDescriptionProxyServiceManager.formParamMap(Context ctx, String charset) SpiServiceManager.formParamMap(Context ctx, String charset) Parse and return the body as form parameters.voidHandle the request.voidvoidRender using template manager.ProxyServiceManager.requestCharset(Context ctx) SpiServiceManager.requestCharset(Context ctx) Return the character set of the request.