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.guiced.utils.PingingServletContextListener
addEndpoint(Class<?>, String) - Method in class pl.morgwai.base.servlet.guiced.utils.SimplePingingEndpointServletContextListener
Deprecated.
addEndpoint(Class<?>, String) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds an endpoint using GuiceServerEndpointConfigurator that injects the dependencies and sets up contexts.  For use in GuiceServletContextListener.configureServletsFiltersEndpoints().
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>, String...) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds a filter at the end of the chain and injects its dependencies.
For use in GuiceServletContextListener.configureServletsFiltersEndpoints().
addServlet(String, Class<? extends HttpServlet>, String...) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Adds a servlet and injects its dependencies.
For use in GuiceServletContextListener.configureServletsFiltersEndpoints().
allTrackers - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
Contains all trackers.

C

configure(Binder) - Method in class pl.morgwai.base.servlet.scopes.ServletModule
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.
CONNECTION_CTX_PROPERTY_NAME - Static variable in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
Name of the user property containing WebsocketConnectionContext.
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.guiced.utils.SimplePingingEndpointServletContextListener
Deprecated.
Stops the associated WebsocketPingerService.
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.

D

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

E

EndpointPingerDecorator - Class in pl.morgwai.base.servlet.guiced.utils
Decorator for websocket Endpoints that automatically registers and deregisters them to WebsocketPingerService.
EndpointPingerDecorator(Object, WebsocketPingerService) - Constructor for class pl.morgwai.base.servlet.guiced.utils.EndpointPingerDecorator
 
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.PingingServletContextListener.PingingEndpointConfigurator
 
getAdditionalDecorator(Object) - Method in class pl.morgwai.base.servlet.guiced.utils.SimplePingingEndpointServletContextListener.SimplePingingEndpointConfigurator
Deprecated.
 
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
 
getEndpointInstance(Class<EndpointT>) - Method in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
Creates an endpointClass instance and a proxy for it.
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
 
getHttpSessionContextAttributes() - Method in class pl.morgwai.base.servlet.scopes.ContainerCallContext
Returns attributes of the context of the HttpSession this request belongs to.
getInjector() - Static method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Returns app wide Guice Injector.
getMaxMalformedPongCount() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Allows subclasses to override maximum allowed malformed pongs.
getMaxMalformedPongCount() - Method in class pl.morgwai.base.servlet.guiced.utils.SimplePingingEndpointServletContextListener
Deprecated.
Allows subclasses to override maximum allowed malformed pongs.
getPingIntervalSeconds() - Method in class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
Allows subclasses to override ping interval.
getPingIntervalSeconds() - Method in class pl.morgwai.base.servlet.guiced.utils.SimplePingingEndpointServletContextListener
Deprecated.
Allows subclasses to override ping interval.
getRequest() - Method in class pl.morgwai.base.servlet.scopes.ServletRequestContext
 
GuiceServerEndpointConfigurator - Class in pl.morgwai.base.servlet.scopes
Automatically sets up WebsocketConnectionContext & ContainerCallContext and injects dependencies of endpoint instances.
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 ServletModule.
GuiceServletContextListener() - Constructor for class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
 

H

HTTP_SESSION_PROPERTY_NAME - Static variable in class pl.morgwai.base.servlet.scopes.GuiceServerEndpointConfigurator
Name of the user property containing HttpSession.
httpSessionScope - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
Scopes bindings to the context of a given HttpSession.

I

initialize(ServletContextEvent) - Method in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
Additional initialization steps performed before GuiceServletContextListener.configureInjections().
invoke(Object, Method, Object[]) - Method in class pl.morgwai.base.servlet.guiced.utils.EndpointPingerDecorator
 

L

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 HttpSession in user properties.

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() - Constructor for class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener.PingingEndpointConfigurator
 
PingingServletContextListener - Class in pl.morgwai.base.servlet.guiced.utils
A GuiceServletContextListener that automatically register/deregister endpoint instances to a WebsocketPingerService.
PingingServletContextListener() - Constructor for class pl.morgwai.base.servlet.guiced.utils.PingingServletContextListener
 
PingingServletContextListener.PingingEndpointConfigurator - Class in pl.morgwai.base.servlet.guiced.utils
Automatically registers and deregisters created endpoints to the WebsocketPingerService of the 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
Starts tracking contexts of newly incoming HttpServletRequests.
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
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.
SimplePingingEndpointConfigurator() - Constructor for class pl.morgwai.base.servlet.guiced.utils.SimplePingingEndpointServletContextListener.SimplePingingEndpointConfigurator
Deprecated.
 
SimplePingingEndpointServletContextListener - Class in pl.morgwai.base.servlet.guiced.utils
Deprecated, for removal: This API element is subject to removal in a future version.
SimplePingingEndpointServletContextListener() - Constructor for class pl.morgwai.base.servlet.guiced.utils.SimplePingingEndpointServletContextListener
Deprecated.
 
SimplePingingEndpointServletContextListener.SimplePingingEndpointConfigurator - Class in pl.morgwai.base.servlet.guiced.utils
Deprecated.
Automatically registers and deregisters created endpoints to the WebsocketPingerService of the SimplePingingEndpointServletContextListener.

W

WebsocketConnectionContext - Class in pl.morgwai.base.servlet.scopes
Context of a websocket connection (Session).
websocketConnectionContextTracker - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
websocketConnectionScope - Variable in class pl.morgwai.base.servlet.scopes.ServletModule
websocketContainer - Variable in class pl.morgwai.base.servlet.scopes.GuiceServletContextListener
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