A C D E G H I L M N P R S W 
All Classes All Packages

A

addEndpoint(Class<?>, String) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
addEndpoint(Class<?>, String, ServerEndpointConfig.Configurator) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds an endpoint using custom configurator.
addFilter(String, Class<? extends Filter>) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds a filter with async support and injects its dependencies.
addFilter(String, Class<? extends Filter>, String...) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds a filter with async support and injects its dependencies, then adds a mapping at the end of the chain for urlPatterns and DispatcherType.REQUEST .
addFilter(String, Class<? extends Filter>, EnumSet<DispatcherType>, String...) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds a filter with async support and injects its dependencies, then adds a mapping at the end of the chain for urlPatterns and dispatcherTypes.
addServlet(String, Class<? extends HttpServlet>, String...) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds a servlet with async support and injects its dependencies.
allTrackers - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
Contains all trackers.
awaitableOfAwaitTermination() - Method in class pl.morgwai.base.servlet.scopes.ContextTrackingExecutor
 

C

configure(Binder) - Method in class pl.morgwai.base.servlet.scopes.ServletModule
Binds ServletModule.containerCallContextTracker and all contexts for injection.
configureInjections() - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Returns Modules that configure bindings for user-defined components.
configureServletsFiltersEndpoints() - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Programmatically adds servlets, filters and endpoints.
ContainerCallContext - Class in pl.morgwai.base.servlet.scopes
Context of either an HttpServletRequest or a websocket event.
ContainerCallContext(ContextTracker<ContainerCallContext>) - Constructor for class pl.morgwai.base.servlet.scopes.ContainerCallContext
 
containerCallContextTracker - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
containerCallScope - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
Scopes bindings to either a ServletRequestContext or a WebsocketEventContext.
contextDestroyed(ServletContextEvent) - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Stops the associated WebsocketPingerService.
contextDestroyed(ServletContextEvent) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Shutdowns all executors from GuiceServletContextListener.servletModule.
contextInitialized(ServletContextEvent) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
ContextTrackingExecutor - Class in pl.morgwai.base.servlet.scopes
A ContextTrackingExecutor with additional execute(httpResponse, task) and execute(wsConnection, task) methods that send 503 / TRY_AGAIN_LATER if the task is rejected.
createEndpointConfigurator() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
createEndpointConfigurator() - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Creates configurator to be used by GuiceServletContextListener.addEndpoint(Class, String).
createInjector(LinkedList<Module>) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Creates injector.

D

doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class pl.morgwai.base.servlet.scopes.RequestContextFilter
 

E

endpointConfigurator - Variable in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
endpointContainer - Variable in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
enforceTermination(long, TimeUnit) - Method in class pl.morgwai.base.servlet.scopes.ContextTrackingExecutor
Deprecated.
This method will throw RuntimeException. Executors obtained from ServletModule are shutdown automatically at app shutdown.
execute(HttpServletResponse, Runnable) - Method in class pl.morgwai.base.servlet.scopes.ContextTrackingExecutor
Calls execute(task) and if it's rejected, sends HttpServletResponse.SC_SERVICE_UNAVAILABLE to response.
execute(Session, Runnable) - Method in class pl.morgwai.base.servlet.scopes.ContextTrackingExecutor
Calls execute(task) and if it's rejected, closes connection with CloseReason.CloseCodes.TRY_AGAIN_LATER.

G

getAdditionalDecorator(Object) - Method in class pl.morgwai.base.servlet.guiced.utils.PingingEndpointConfigurator
 
getAdditionalDecorator(Object) - Method in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
Subclasses may override this method to further customize endpoints.
getConnection() - Method in class pl.morgwai.base.servlet.scopes.WebsocketConnectionContext
 
getConnectionContext() - Method in class pl.morgwai.base.servlet.scopes.WebsocketEventContext
 
getEndpointInstance(Class<EndpointT>) - Method in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
Creates a new endpointClass instance and a proxy for it.
getExecutorsShutdownTimeoutSeconds() - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Returns the timeout for shutdown of executors obtained from GuiceServletContextListener.servletModule.
getHttpSession() - Method in class pl.morgwai.base.servlet.scopes.ContainerCallContext
Returns the HttpSession this request belongs to.
getHttpSession() - Method in class pl.morgwai.base.servlet.scopes.ServletRequestContext
 
getHttpSession() - Method in class pl.morgwai.base.servlet.scopes.WebsocketEventContext
 
getHttpSessionContext() - Method in class pl.morgwai.base.servlet.scopes.ContainerCallContext
getInjector() - Static method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Returns app wide Guice Injector.
getPingFailureLimit() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Allows subclasses to override ping failure limit.
getPingIntervalSeconds() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Allows subclasses to override ping interval.
getPingSize() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Allows subclasses to override ping data size.
getRequest() - Method in class pl.morgwai.base.servlet.scopes.ServletRequestContext
 
getRequiredEndpointMethodAnnotationTypes() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingEndpointConfigurator
 
getRequiredEndpointMethodAnnotationTypes() - Method in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
Returns a list of annotations of endpoint lifecycle methods that are required to be present.
getSession() - Method in class pl.morgwai.base.servlet.scopes.HttpSessionContext
 
GuiceServerEndpointConfigurator - Class in pl.morgwai.base.servlet.scopes
Automatically injects dependencies of endpoint instances and ensures that lifecycle methods of the created endpoints are executed within WebsocketConnectionContext and ContainerCallContext.
GuiceServerEndpointConfigurator() - Constructor for class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
 
GuiceServletContextListener - Class in pl.morgwai.base.servlet.scopes
Creates and configures app wide Guice injector and a ServletModule.
GuiceServletContextListener() - Constructor for class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
 

H

handleUncleanExecutorTerminations(List<ContextTrackingExecutor>) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Subclasses may override this method to examine the executors that failed to shutdown cleanly.
HttpSessionContext - Class in pl.morgwai.base.servlet.scopes
Context of a HttpSession.
HttpSessionContext(HttpSession) - Constructor for class pl.morgwai.base.servlet.scopes.HttpSessionContext
 
httpSessionScope - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
Scopes bindings to the context of a given HttpSession.

I

isPingerInKeepAliveOnlyMode() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Allows subclasses to override pinger mode.

L

log - Static variable in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
 
log - Static variable in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
 

M

modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
Stores into the user properties the HttpSession associated with the request.

N

newContextTrackingExecutor(String, int) - Method in class pl.morgwai.base.servlet.scopes.ServletModule
Constructs an executor backed by a new fixed size ThreadPoolExecutor that uses a NamedThreadFactory and an unbound LinkedBlockingQueue.
newContextTrackingExecutor(String, int, BlockingQueue<Runnable>) - Method in class pl.morgwai.base.servlet.scopes.ServletModule
Constructs an executor backed by a new fixed size ThreadPoolExecutor that uses a NamedThreadFactory.
newContextTrackingExecutor(String, int, BlockingQueue<Runnable>, ThreadFactory) - Method in class pl.morgwai.base.servlet.scopes.ServletModule
Constructs an executor backed by a new fixed size ThreadPoolExecutor.
newContextTrackingExecutor(String, ExecutorService, int) - Method in class pl.morgwai.base.servlet.scopes.ServletModule
Constructs an executor backed by backingExecutor.

P

PingingEndpointConfigurator - Class in pl.morgwai.base.servlet.guiced.utils
PingingEndpointConfigurator() - Constructor for class pl.morgwai.base.servlet.guiced.utils.PingingEndpointConfigurator
 
PingingServletContextListener - Class in pl.morgwai.base.servlet.guiced.utils
A GuiceServletContextListener that automatically registers and deregisters endpoints to a WebsocketPingerService.
PingingServletContextListener() - Constructor for class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
 
pl.morgwai.base.servlet.guiced.utils - package pl.morgwai.base.servlet.guiced.utils
Integration with WebsocketPingerService.
pl.morgwai.base.servlet.scopes - package pl.morgwai.base.servlet.scopes
The main package for servlet and websocket scopes.

R

RequestContextFilter - Class in pl.morgwai.base.servlet.scopes
Creates context for each newly incoming HttpServletRequest and transfers context when requests are dispatched from AsyncContext to new threads.
RequestContextFilter() - Constructor for class pl.morgwai.base.servlet.scopes.RequestContextFilter
 

S

servletContainer - Variable in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
servletModule - Variable in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
ServletModule - Class in pl.morgwai.base.servlet.scopes
Contains servlet and websocket Guice Scopes, ContextTrackers and some helper methods.
ServletModule() - Constructor for class pl.morgwai.base.servlet.scopes.ServletModule
 
ServletRequestContext - Class in pl.morgwai.base.servlet.scopes
Context of a HttpServletRequest.
setPingerService(WebsocketPingerService) - Static method in class pl.morgwai.base.servlet.guiced.utils.PingingEndpointConfigurator
Sets the WebsocketPingerService to be used.
shouldSynchronizePingSending() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Allows subclasses to override synchronizeSending flag.
shutdown() - Method in class pl.morgwai.base.servlet.scopes.ContextTrackingExecutor
Deprecated.
This method will throw RuntimeException. Executors obtained from ServletModule are shutdown automatically at app shutdown.
shutdownNow() - Method in class pl.morgwai.base.servlet.scopes.ContextTrackingExecutor
Deprecated.
This method will throw RuntimeException. Executors obtained from ServletModule are shutdown automatically at app shutdown.

W

WebsocketConnectionContext - Class in pl.morgwai.base.servlet.scopes
Context of a websocket connection (Session).
websocketConnectionScope - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
WebsocketEventContext - Class in pl.morgwai.base.servlet.scopes
Context of a single websocket event such as a connection creation/closure, a message arrival or an error occurrence.
A C D E G H I L M N P R S W 
All Classes All Packages