Package pl.morgwai.base.servlet.scopes
The main package for servlet and websocket scopes.
-
Class Summary Class Description ContainerCallContext Context of either anHttpServletRequest
or awebsocket event
.ContextTrackingExecutor AContextTrackingExecutor
with additionalexecute(httpResponse, task)
andexecute(wsConnection, task)
methods that send503
/TRY_AGAIN_LATER
if the task is rejected.GuiceServerEndpointConfigurator Automatically sets upWebsocketConnectionContext
&ContainerCallContext
and injects dependencies of endpoint instances.GuiceServletContextListener Creates and configuresapp wide Guice injector
andServletModule
.RequestContextFilter Starts tracking contexts of newly incomingHttpServletRequest
s.ServletModule Servlet and websocket GuiceScope
s,ContextTracker
s and some helper methods.ServletRequestContext Context of aHttpServletRequest
.WebsocketConnectionContext Context of a websocket connection (Session
).WebsocketEventContext Context of a single websocket event such as a connection creation/closure, a message arrival or an error occurrence.