Uses of Class
org.jgrapes.http.events.Request.In
Packages that use Request.In
Package
Description
Provides components for building a HTTP server based on the
core and IO components.
Provides the events handled by the server components.
Provides a base component for generating template based responses
to HTTP requests.
-
Uses of Request.In in org.jgrapes.http
Methods in org.jgrapes.http with parameters of type Request.InModifier and TypeMethodDescriptionvoidLanguageSelector.onRequest(Request.In event) Associates the event with aLanguageSelector.Selectionobject usingSelection.classas association identifier.voidSessionManager.onRequest(Request.In event) Associates the event with aSessionobject usingSession.classas association identifier.static booleanResponseCreationSupport.sendStaticContent(Request.In event, IOSubchannel channel, Function<String, URL> resolver, ResponseCreationSupport.MaxAgeCalculator maxAgeCalculator) Shorthand for invokingResponseCreationSupport.sendStaticContent(HttpRequest, IOSubchannel, Function, MaxAgeCalculator)with theHttpRequestfrom the event. -
Uses of Request.In in org.jgrapes.http.events
Subclasses of Request.In in org.jgrapes.http.eventsModifier and TypeClassDescriptionstatic classRepresents a HTTP CONNECT request.static classThe Class Delete.static classRepresents a HTTP GET request.static classRepresents a HTTP HEAD request.static classRepresents a HTTP OPTIONS request.static classRepresents a HTTP POST request.static classRepresents a HTTP PUT request.static classRepresents a HTTP TRACE request.Methods in org.jgrapes.http.events that return Request.InModifier and TypeMethodDescriptionstatic Request.InRequest.In.fromHttpRequest(HttpRequest request, boolean secure, int matchLevels) Creates the appropriate derived request event type from a givenHttpRequest.ProtocolSwitchAccepted.requestEvent()Returns the original request.Constructors in org.jgrapes.http.events with parameters of type Request.InModifierConstructorDescriptionCompleted(Request.In monitoredEvent, Channel... channels) Instantiates a new event.ProtocolSwitchAccepted(Request.In request, String protocol) Creates a new event. -
Uses of Request.In in org.jgrapes.http.freemarker
Methods in org.jgrapes.http.freemarker with parameters of type Request.InModifier and TypeMethodDescriptionprotected voidFreeMarkerRequestHandler.doRespond(Request.In event, IOSubchannel channel) Removes the prefix specified in the constructor from the path in the request.protected booleanFreeMarkerRequestHandler.sendProcessedTemplate(Request.In event, IOSubchannel channel, freemarker.template.Template tpl) Render a response using the given template.protected booleanFreeMarkerRequestHandler.sendProcessedTemplate(Request.In event, IOSubchannel channel, String path) Render a response using the template obtained from the config withConfiguration.getTemplate(String)and the given path.