Package pl.morgwai.base.servlet.scopes
The main package for servlet and websocket scopes.
-
Class Summary Class Description ContextTrackingExecutor AContextTrackingExecutor
with additionalexecute(httpResponse, task)
andexecute(wsConnection, task)
methods that send503
/TRY_AGAIN_LATER
if the task is rejected.GuiceServerEndpointConfigurator Automatically sets upWebsocketConnectionContext
&RequestContext
and injects dependencies of endpoint instances.GuiceServletContextListener Creates and configures app wide GuiceGuiceServletContextListener.INJECTOR
andServletModule
.RequestContext Context of aHttpServletRequest
or a websocket event.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.