Uses of Annotation Interface
org.jgrapes.http.annotation.RequestHandler
Package
Description
Provides components for building a HTTP server based on the
core and IO components.
Adds a special annotation for methods that handle
HTTP request events.
-
Uses of RequestHandler in org.jgrapes.http
Modifier and TypeMethodDescriptionvoid
StaticContentDispatcher.onGet
(Request.In.Get event, IOSubchannel channel) Handles aGET
request.void
LanguageSelector.onRequest
(Request.In event) Associates the event with aLanguageSelector.Selection
object usingSelection.class
as association identifier.void
SessionManager.onRequest
(Request.In event) Associates the event with aSession
object usingSession.class
as association identifier. -
Uses of RequestHandler in org.jgrapes.http.annotation
ModifierConstructorDescriptionScope
(ComponentType component, Method method, RequestHandler annotation, Map<Class<? extends Channel>, Object[]> channelReplacements, String pattern) Instantiates a new scope.