Package pl.morgwai.base.servlet.guice.utils
Integration with
WebsocketPingerService
and other utils.-
Interface Summary Interface Description PingingEndpointConfigurator.RttObserver An interface forEndpoints
to get round-trip time reports upon receiving pongs. -
Class Summary Class Description PingingEndpointConfigurator Subclass ofGuiceServerEndpointConfigurator
that additionally automatically registers and deregistersEndpoints
to its associatedWebsocketPingerService
.PingingServletContextListener Subclass ofGuiceServletContextListener
that automatically registers and deregistersEndpoints
added withGuiceServletContextListener.addEndpoint(Class, String)
to the associatedWebsocketPingerService
.StandaloneWebsocketContainerServletContext FakeServletContext
useful for storing attributes necessary to configureServletModule
andGuiceServerEndpointConfigurator
in standalone websocket container apps where there is no "real"ServletContext
.