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(jakarta.servlet.http.Cookie cookie)Sets a Cookie.Sets a cookie with name, value with unlimited age.Sets a cookie with name, value, and max-age.Write html content to the response.Set the response body as JSON for the given bean.Context.removeCookie(String name)Remove a cookie by name.Context.removeCookie(String name, String path)Remove a cookie by name and path.Render 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 TypeMethodDescriptionvoidvoidvoidvoidRender the template and model typically as html to the given 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 Context