A C D E G H I L M N O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addConfigurationHook(Callable<Void>) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Adds
configurationHook
to be called byGuiceServletContextListener.contextInitialized(ServletContextEvent)
right beforeGuiceServletContextListener.configureServletsFiltersEndpoints()
. - addEndpoint(Class<?>, String) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Adds an
Endpoint
usingGuiceServletContextListener.endpointConfigurator
. - addEndpoint(Class<?>, String, ServerEndpointConfig.Configurator) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Adds an
Endpoint
usingconfigurator
. - addEnsureSessionFilter(String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
- addFilter(String, Class<? extends Filter>) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addFilter(String, Class<? extends Filter>, String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Creates a Filter
offilterClass
class,Adds it
withname
,async support
andinjected dependencies
aturlPatterns
withDispatcherType.REQUEST
. - addFilter(String, Class<? extends Filter>, EnumSet<DispatcherType>, String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Creates a Filter
offilterClass
class,Adds it
withname
,async support
andinjected dependencies
aturlPatterns
withdispatcherTypes
. - addFilter(String, String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addFilter(String, Filter) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
- addFilter(String, Filter) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addJspFile(String, String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addListener(Class<? extends EventListener>) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addListener(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addListener(T) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- addMessageHandler(MessageHandler) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- addServlet(String, Class<? extends HttpServlet>, String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Creates a Servet
ofservletClass
class,adds it
withname
,async support
andinjected dependencies
aturlPatterns
. - addServlet(String, Class<? extends Servlet>) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addServlet(String, String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addServlet(String, Servlet) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- addShutdownHook(Runnable) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Adds
shutdownHook
to be run at the end ofGuiceServletContextListener.contextDestroyed(ServletContextEvent)
. - allTrackers - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Singleton of
ServletModule.containerCallContextTracker
. - allTrackersKey - Static variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Key
ofServletModule.allTrackers
. - appDeployment - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
- appDeployment - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Deployment reference for use in
GuiceServletContextListener.configureInjections()
andGuiceServletContextListener.configureServletsFiltersEndpoints()
. - awaitTerminationOfAllExecutors() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Awaits for termination
of all executors obtained from this module. - awaitTerminationOfAllExecutors(long, TimeUnit) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Awaits for termination
of all executors obtained from this module.
C
- close() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- close(CloseReason) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- configure(Binder) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Creates infrastructure bindings.
- configureInjections() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Creates
Module
s that configure bindings for user-defined components. - configureServletsFiltersEndpoints() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
- ContainerCallContext - Class in pl.morgwai.base.servlet.guice.scopes
-
Context of either an
HttpServletRequest
or awebsocket event
. - ContainerCallContext(ContextTracker<ContainerCallContext>) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ContainerCallContext
- containerCallContextTracker - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Allows tracking of
ServletRequestContext
s andWebsocketEventContext
s. - containerCallContextTrackerKey - Static variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
- containerCallScope - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Reference to
GuiceServletContextListener.servletModule
's field, for use inGuiceServletContextListener.configureInjections()
. - containerCallScope - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Scopes objects to the
Context
of either anHttpServletRequests
or awebsocket events
, depending within which type a givenThread
runs (as returned byServletModule.containerCallContextTracker
). - contextBinder - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
ContextBinder
created withServletModule.allTrackers
. - contextDestroyed(ServletContextEvent) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
- contextInitialized(ServletContextEvent) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
- createEndpointConfigurator() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Creates the
ServerEndpointConfig.Configurator
that will be used byGuiceServletContextListener.addEndpoint(Class, String)
. - createEndpointConfigurator() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
-
Overrides
GuiceServletContextListener.endpointConfigurator
to be aPingingEndpointConfigurator
. - createFilter(Class<T>) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- createInjector(LinkedList<Module>) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Creates
the app-wide Injector
. - createListener(Class<T>) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- createPingerService() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
-
Creates
the app-wide pinger service
. - createServlet(Class<T>) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- ctxTracker - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
- ctxTracker - Variable in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- CUSTOM_SERIALIZATION_PARAM - Static variable in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
-
Name of the
deployment init-param
indicating that the servlet container uses serialization mechanism other than thestandard Java Serialization
to persist/replicateHttpSession
s. - CUSTOM_SERIALIZATION_PARAM_SUFFIX - Static variable in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
D
- declareRoles(String...) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- DEFAULT_FAILURE_LIMIT - Static variable in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
- deploymentName - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Name of the deployment for logging purposes.
- deregisterDeployment(ServletContext) - Static method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
Removes a reference to
appDeployment
. - doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class pl.morgwai.base.servlet.guice.scopes.RequestContextFilter
E
- endpointConfigurator - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
The
ServerEndpointConfig.Configurator
instance used byGuiceServletContextListener.addEndpoint(Class, String)
to createEndpoint
instances. - endpointContainer - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Endpoint
container reference for use inGuiceServletContextListener.configureServletsFiltersEndpoints()
. - enforceTerminationOfAllExecutors(long, TimeUnit) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Enforces termination
of all executors obtained from this module. - equals(Object) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- execute(Runnable) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
- execute(HttpServletResponse, Runnable) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
-
Calls
execute(task)
and if it's rejected, sendsHttpServletResponse.SC_SERVICE_UNAVAILABLE
toresponse
. - execute(Session, Runnable) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
-
Calls
execute(task)
and if it's rejected, closesconnection
withCloseReason.CloseCodes.TRY_AGAIN_LATER
.
G
- getActiveContexts() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
- getAdditionalDecorator(Object) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
Subclasses may override this method to further customize
Endpoints
. - getAdditionalDecorator(Object) - Method in class pl.morgwai.base.servlet.guice.utils.PingingEndpointConfigurator
- getAsyncRemote() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getAttribute(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getAttributeNames() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getBasicRemote() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getClassLoader() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getConnection() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionContext
- getConnectionContext() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketEventContext
- getContainer() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getContext(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getContextPath() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getDefaultSessionTrackingModes() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getEffectiveMajorVersion() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getEffectiveMinorVersion() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getEffectiveSessionTrackingModes() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getEndpointInstance(Class<EndpointT>) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
Obtains an instance of
endpointClass
fromGuice
and creates a context-aware proxy for it, so thatEndpoint
lifecycle methods are executed withinContainerCallContext
andWebsocketConnectionContext
. - getExecutors() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
List of all
Executors
created by thisModule
. - getExecutorsTerminationTimeout() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Returns the timeout for
termination of all Executors
obtained fromGuiceServletContextListener.servletModule
. - getFilterRegistration(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getFilterRegistrations() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getHttpSession() - Method in class pl.morgwai.base.servlet.guice.scopes.ContainerCallContext
-
Returns the
HttpSession
this request/event belongs to. - getHttpSession() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletRequestContext
- getHttpSession() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketEventContext
- getHttpSessionContext() - Method in class pl.morgwai.base.servlet.guice.scopes.ContainerCallContext
-
Returns context of
the session this request/event belongs to
. - getId() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getInitParameter(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getInitParameterNames() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getJspConfigDescriptor() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getMajorVersion() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getMaxBinaryMessageBufferSize() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getMaxIdleTimeout() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getMaxTextMessageBufferSize() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getMessageHandlers() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getMimeType(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getMinorVersion() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getName() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
- getNamedDispatcher(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getNegotiatedExtensions() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getNegotiatedSubprotocol() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getOpenSessions() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getPathParameters() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getPingFailureLimit() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
-
Allows to override
PingingServletContextListener.pingerService
'sfailureLimit
param. - getPingIntervalMillis() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
-
Allows to override
PingingServletContextListener.pingerService
'sinterval
param. - getProtocolVersion() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getQueryString() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getRealPath(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getRequest() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletRequestContext
- getRequestCharacterEncoding() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getRequestDispatcher(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getRequestParameterMap() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getRequestURI() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getRequiredEndpointMethodAnnotationTypes() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
Returns a set of annotations of
Endpoint
lifecycle methods that are required to be present inEndpoint
classes using this configurator. - getRequiredEndpointMethodAnnotationTypes() - Method in class pl.morgwai.base.servlet.guice.utils.PingingEndpointConfigurator
- getResource(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getResourceAsStream(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getResourcePaths(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getResponseCharacterEncoding() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getServerInfo() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getServlet(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getServletContextName() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getServletNames() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getServletRegistration(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getServletRegistrations() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getServlets() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getSession() - Method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
- getSessionCookieConfig() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getSessionTimeout() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getSupportedConnectionType() - Method in interface pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy.Factory
-
Indicates what type of
Session
given factory creates proxies for. - getUserPrincipal() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getUserProperties() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- getVirtualServerName() - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- getWrappedConnection() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- GuiceServerEndpointConfigurator - Class in pl.morgwai.base.servlet.guice.scopes
- GuiceServerEndpointConfigurator() - Constructor for class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
Necessary for
ServerEndpoint
annotatedEndpoints
. - GuiceServerEndpointConfigurator(ServletContext) - Constructor for class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
For
GuiceServletContextListener
managed instance. - GuiceServletContextListener - Class in pl.morgwai.base.servlet.guice.scopes
-
Base class for app
ServletContextListener
s, creates and configures the app-wideInjector
andServletModule
, performsGuiceServerEndpointConfigurator
initialization. - GuiceServletContextListener() - Constructor for class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
H
- handleUnterminatedExecutors(List<ServletContextTrackingExecutor>) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Handles executors that failed to terminate in
GuiceServletContextListener.contextDestroyed(ServletContextEvent)
. - hashCode() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- httpSession - Variable in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- HttpSessionContext - Class in pl.morgwai.base.servlet.guice.scopes
-
Context of an
HttpSession
. - HttpSessionContext.SessionContextCreator - Class in pl.morgwai.base.servlet.guice.scopes
-
Creates
HttpSessionContext
s for newly createdHttpSession
s. - httpSessionScope - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Reference to
GuiceServletContextListener.servletModule
's field, for use inGuiceServletContextListener.configureInjections()
. - httpSessionScope - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Scopes objects to the
Context of an HttpSessions
.
I
- initialize(ServletContext) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
Initializes this instance member fields with references from
appDeployment
attributes
. - initialize(ServletContext) - Method in class pl.morgwai.base.servlet.guice.utils.PingingEndpointConfigurator
- injector - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
- injector - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
The app-wide
Injector
. - isOpen() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- isPingerInKeepAliveOnlyMode() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
-
Allows to override
PingingServletContextListener.pingerService
's mode. - isSecure() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
L
- log(Exception, String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- log(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- log(String, Throwable) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
M
- modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
N
- newContextTrackingExecutor(String, int) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Constructs a fixed size, context tracking executor that uses an unbound
LinkedBlockingQueue
and a newNamingThreadFactory
named after this executor. - newContextTrackingExecutor(String, int, int) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Constructs a fixed size, context tracking executor that uses a
LinkedBlockingQueue
of sizequeueSize
, the defaultRejectedExecutionHandler
and a newNamingThreadFactory
named after this executor. - newContextTrackingExecutor(String, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Constructs a context tracking executor.
- newContextTrackingExecutor(String, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Constructs a context tracking executor.
- newProxy(Session, ContextTracker<ContainerCallContext>) - Method in interface pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy.Factory
O
- of(HttpSession) - Static method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
-
Returns the
Context
ofsession
. - onPong(long) - Method in interface pl.morgwai.base.servlet.guice.utils.PingingEndpointConfigurator.RttObserver
-
Called by
PongMessage
handler
to report round-trip time in nanoseconds.
P
- pingerService - Variable in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
-
The app-wide pinger service to which
GuiceServletContextListener.addEndpoint(Class, String)
method registersEndpoints
. - PingingEndpointConfigurator - Class in pl.morgwai.base.servlet.guice.utils
-
Subclass of
GuiceServerEndpointConfigurator
that additionally automatically registers and deregistersEndpoints
to its associatedWebsocketPingerService
. - PingingEndpointConfigurator() - Constructor for class pl.morgwai.base.servlet.guice.utils.PingingEndpointConfigurator
- PingingEndpointConfigurator(ServletContext) - Constructor for class pl.morgwai.base.servlet.guice.utils.PingingEndpointConfigurator
- PingingEndpointConfigurator.RttObserver - Interface in pl.morgwai.base.servlet.guice.utils
-
An interface for
Endpoints
to get round-trip time reports upon receiving pongs. - PingingServletContextListener - Class in pl.morgwai.base.servlet.guice.utils
-
Subclass of
GuiceServletContextListener
that automatically registers and deregistersEndpoints
added withGuiceServletContextListener.addEndpoint(Class, String)
to the associatedWebsocketPingerService
. - PingingServletContextListener() - Constructor for class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
- pl.morgwai.base.servlet.guice.scopes - package pl.morgwai.base.servlet.guice.scopes
-
The main package for servlet and websocket scopes.
- pl.morgwai.base.servlet.guice.utils - package pl.morgwai.base.servlet.guice.utils
-
Integration with
WebsocketPingerService
and other utils.
R
- registerDeployment(ServletContext) - Static method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
-
Registers
appDeployment
to be used by container-createdGuiceServerEndpointConfigurator
instances. - removeAttribute(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- removeMessageHandler(MessageHandler) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- RequestContextFilter - Class in pl.morgwai.base.servlet.guice.scopes
-
Creates
ServletRequestContext
s for newly incomingHttpServletRequest
s and transfersContexts
forRequests
dispatched from AsyncContext
to newThreads
. - RequestContextFilter() - Constructor for class pl.morgwai.base.servlet.guice.scopes.RequestContextFilter
S
- ServletContextTrackingExecutor - Class in pl.morgwai.base.servlet.guice.scopes
-
TaskTrackingThreadPoolExecutor
that automatically transferContexts
to workerThreads
usingContextBinder
. - ServletContextTrackingExecutor(String, ContextBinder, int) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
- ServletContextTrackingExecutor(String, ContextBinder, int, int) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
- ServletContextTrackingExecutor(String, ContextBinder, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
- ServletContextTrackingExecutor(String, ContextBinder, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
- servletModule - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
The app-wide
ServletModule
. - ServletModule - Class in pl.morgwai.base.servlet.guice.scopes
- ServletModule(ServletContext) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Creates a new module.
- ServletRequestContext - Class in pl.morgwai.base.servlet.guice.scopes
-
Context of an
HttpServletRequest
. - SessionContextCreator() - Constructor for class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext.SessionContextCreator
- sessionCreated(HttpSessionEvent) - Method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext.SessionContextCreator
- sessionDidActivate(HttpSessionEvent) - Method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
-
Calls
InjectionContext.restoreAfterDeserialization()
ifinit-param
namedHttpSessionContext.CUSTOM_SERIALIZATION_PARAM
istrue
. - sessionWillPassivate(HttpSessionEvent) - Method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
-
Calls
InjectionContext.prepareForSerialization()
ifinit-param
namedHttpSessionContext.CUSTOM_SERIALIZATION_PARAM
istrue
. - setAttribute(String, Object) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- setContainerCallContextTracker(ContextTracker<ContainerCallContext>) - Method in class pl.morgwai.base.servlet.guice.scopes.RequestContextFilter
- setInitParameter(String, String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- setMaxBinaryMessageBufferSize(int) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- setMaxIdleTimeout(long) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- setMaxTextMessageBufferSize(int) - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
- setRequestCharacterEncoding(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- setResponseCharacterEncoding(String) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- setSessionTimeout(int) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- setSessionTrackingModes(Set<SessionTrackingMode>) - Method in class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- shouldSynchronizePingSending() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
-
Allows to override
PingingServletContextListener.pingerService
'ssynchronizeSending
flag. - shutdownAllExecutors() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Shutdowns all executors obtained from this module.
- StandaloneWebsocketContainerServletContext - Class in pl.morgwai.base.servlet.guice.utils
-
Fake
ServletContext
useful for storing attributes necessary to configureServletModule
andGuiceServerEndpointConfigurator
in standalone websocket container apps where there is no "real"ServletContext
. - StandaloneWebsocketContainerServletContext(String) - Constructor for class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- StandaloneWebsocketContainerServletContext(String, String) - Constructor for class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
- StandaloneWebsocketContainerServletContext(String, String, String) - Constructor for class pl.morgwai.base.servlet.guice.utils.StandaloneWebsocketContainerServletContext
-
Initializes values to be returned by the corresponding methods.
T
- toAwaitableOfEnforcedTerminationOfAllExecutors() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
- toAwaitableOfTerminationOfAllExecutors() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
- toString() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
W
- WebsocketConnectionContext - Class in pl.morgwai.base.servlet.guice.scopes
-
Context of a websocket connection (
Session
). - WebsocketConnectionProxy - Class in pl.morgwai.base.servlet.guice.scopes
-
Decorates
MessageHandler
s passed toWebsocketConnectionProxy.addMessageHandler(MessageHandler)
method family withWebsocketEventContext
tracking. - WebsocketConnectionProxy(Session, ContextTracker<ContainerCallContext>, boolean) - Constructor for class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
-
Constructs a new proxy for
connection
. - WebsocketConnectionProxy.Factory - Interface in pl.morgwai.base.servlet.guice.scopes
-
SPI
-provided factory for proxies, that wrapspecific implementation
ofSession
to enable its specific features. - websocketConnectionScope - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
-
Reference to
GuiceServletContextListener.servletModule
's field, for use inGuiceServletContextListener.configureInjections()
. - websocketConnectionScope - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
-
Scopes objects to the
Context of a websocket connections (javax.websocket.Session)
. - WebsocketEventContext - Class in pl.morgwai.base.servlet.guice.scopes
-
Context of a single websocket event such as a connection creation/closure, a message arrival or an error occurrence.
- wrappedConnection - Variable in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionProxy
All Classes All Packages