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

A

addConfigurationHook(Callable<Void>) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
addEndpoint(Class<?>, String) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
addEndpoint(Class<?>, String, ServerEndpointConfig.Configurator) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
Adds an Endpoint using configurator.
addEnsureSessionFilter(String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
Adds at urlPatterns a Filter that ensures each incoming request has an HttpSession created.
addFilter(String, Class<? extends Filter>, String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
addFilter(String, Class<? extends Filter>, EnumSet<DispatcherType>, String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
Creates a Filter of filterClass class, Adds it with name, async support and injected dependencies at urlPatterns with dispatcherTypes.
addFilter(String, Filter) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
addServlet(String, Class<? extends HttpServlet>, String...) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
Creates a Servet of servletClass class, adds it with name, async support and injected dependencies at urlPatterns.
addShutdownHook(Runnable) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
allTrackers - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
allTrackersKey - Static variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
appDeployment - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
 
appDeployment - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
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

configure(Binder) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
Calls Binder.disableCircularProxies() if needed and creates infrastructure bindings.
configureInjections() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
Creates Modules that configure bindings for user-defined components.
configureServletsFiltersEndpoints() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
Programmatically adds Servlets, Filters, websocket Endpoints and performs any other setup required by the given app.
ContainerCallContext - Class in pl.morgwai.base.servlet.guice.scopes
Context of either an HttpServletRequest or a websocket 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
containerCallContextTrackerKey - Static variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
containerCallScope - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
containerCallScope - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
Scopes objects to the Context of either an HttpServletRequests or a websocket events, depending within which type a given Thread runs (as returned by ServletModule.containerCallContextTracker).
contextBinder - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
ContextBinder created with ServletModule.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
createEndpointConfigurator() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
createInjector(LinkedList<Module>) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
createPingerService() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
ctxTracker - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
 

D

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
endpointContainer - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
enforceTerminationOfAllExecutors(long, TimeUnit) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
Enforces termination of all executors obtained from this module.
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, sends HttpServletResponse.SC_SERVICE_UNAVAILABLE to response.
execute(Session, Runnable) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
Calls execute(task) and if it's rejected, closes connection with CloseReason.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
 
getConnection() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketConnectionContext
 
getConnectionContext() - Method in class pl.morgwai.base.servlet.guice.scopes.WebsocketEventContext
 
getEndpointInstance(Class<EndpointT>) - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
Obtains an instance of endpointClass from Guice and creates a context-aware proxy for it, so that Endpoint lifecycle methods are executed within ContainerCallContext and WebsocketConnectionContext.
getExecutors() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
List of all Executors created by this Module.
getExecutorsTerminationTimeoutSeconds() - Method in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
Returns the timeout in seconds for termination of all Executors obtained from GuiceServletContextListener.servletModule.
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
getName() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
 
getPingFailureLimit() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
Allows to override pingerService's failureLimit param.
getPingIntervalMillis() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
Allows to override pingerService's interval param.
getRequest() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletRequestContext
 
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 in Endpoint classes using this configurator.
getRequiredEndpointMethodAnnotationTypes() - Method in class pl.morgwai.base.servlet.guice.utils.PingingEndpointConfigurator
 
getSession() - Method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
 
GuiceServerEndpointConfigurator - Class in pl.morgwai.base.servlet.guice.scopes
Obtains Endpoint instances from Guice and ensures their methods run within websocket Contexts.
GuiceServerEndpointConfigurator() - Constructor for class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
Necessary for ServerEndpoint annotated Endpoints.
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 ServletContextListeners, creates and configures the app-wide Injector and ServletModule, performs GuiceServerEndpointConfigurator 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).
HttpSessionContext - Class in pl.morgwai.base.servlet.guice.scopes
Context of an HttpSession.
HttpSessionContext.SessionContextCreator - Class in pl.morgwai.base.servlet.guice.scopes
Creates HttpSessionContexts for newly created HttpSessions.
httpSessionScope - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
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.
isPingerInKeepAliveOnlyMode() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
Allows to override pingerService's mode.

M

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

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 new NamingThreadFactory 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 size queueSize, the default RejectedExecutionHandler and a new NamingThreadFactory named after this 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.
newContextTrackingExecutor(String, int, BlockingQueue<Runnable>, RejectedExecutionHandler) - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
Constructs a fixed size, context tracking executor that uses workQueue, rejectionHandler and a new NamingThreadFactory named after this executor.

O

of(HttpSession) - Static method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
Returns the Context of session.
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 registers Endpoints.
PingingEndpointConfigurator - Class in pl.morgwai.base.servlet.guice.utils
Subclass of GuiceServerEndpointConfigurator that additionally automatically registers and deregisters Endpoints to its associated WebsocketPingerService.
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 deregisters Endpoints added with GuiceServletContextListener.addEndpoint(Class, String) to the associated WebsocketPingerService.
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.

R

registerDeployment(ServletContext) - Static method in class pl.morgwai.base.servlet.guice.scopes.GuiceServerEndpointConfigurator
Registers appDeployment to be used by container-created GuiceServerEndpointConfigurator instances.
RequestContextFilter - Class in pl.morgwai.base.servlet.guice.scopes
Creates ServletRequestContexts for newly incoming HttpServletRequests and transfers Contexts for Requests dispatched from AsyncContext to new Threads.
RequestContextFilter() - Constructor for class pl.morgwai.base.servlet.guice.scopes.RequestContextFilter
 

S

ServletContextTrackingExecutor - Class in pl.morgwai.base.servlet.guice.scopes
TaskTrackingThreadPoolExecutor that wraps tasks with ContextBoundRunnable decorator to automatically transfer Contexts.
ServletContextTrackingExecutor(String, List<ContextTracker<?>>, int) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
 
ServletContextTrackingExecutor(String, List<ContextTracker<?>>, int, int) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
ServletContextTrackingExecutor(String, List<ContextTracker<?>>, int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
ServletContextTrackingExecutor(String, List<ContextTracker<?>>, int, BlockingQueue<Runnable>) - Constructor for class pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
 
ServletContextTrackingExecutor(String, List<ContextTracker<?>>, int, BlockingQueue<Runnable>, 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
Contains Servlet and websocket Guice Scopes, ContextTrackers and some helper methods.
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
sessionWillPassivate(HttpSessionEvent) - Method in class pl.morgwai.base.servlet.guice.scopes.HttpSessionContext
setContainerCallContextTracker(ContextTracker<ContainerCallContext>) - Method in class pl.morgwai.base.servlet.guice.scopes.RequestContextFilter
 
shouldSynchronizePingSending() - Method in class pl.morgwai.base.servlet.guice.utils.PingingServletContextListener
Allows to override pingerService's synchronizeSending flag.
shutdownAllExecutors() - Method in class pl.morgwai.base.servlet.guice.scopes.ServletModule
Shutdowns all executors obtained from this module.

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).
websocketConnectionScope - Variable in class pl.morgwai.base.servlet.guice.scopes.GuiceServletContextListener
websocketConnectionScope - Variable in class pl.morgwai.base.servlet.guice.scopes.ServletModule
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.
A C D E G H I M N O P R S T W 
All Classes All Packages