Package dev.hilla.push
Class PushEndpoint
- java.lang.Object
-
- org.atmosphere.handler.AtmosphereHandlerAdapter
-
- dev.hilla.push.PushEndpoint
-
- All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereHandler
@AtmosphereHandlerService(path="/HILLA/push", broadcaster=org.atmosphere.util.SimpleBroadcaster.class, interceptors={org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class,org.atmosphere.client.TrackMessageSizeInterceptor.class,org.atmosphere.interceptor.SuspendTrackerInterceptor.class}) @Singleton public class PushEndpoint extends org.atmosphere.handler.AtmosphereHandlerAdapterSets up and configures the push channel.This class is initialized by Atmosphere and not Spring, so autowiring is handled manually when the first request comes in.
-
-
Constructor Summary
Constructors Constructor Description PushEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRequest(org.atmosphere.cpr.AtmosphereResource resource)voidonStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
-
-
-
Method Detail
-
onRequest
public void onRequest(org.atmosphere.cpr.AtmosphereResource resource) throws IOException- Specified by:
onRequestin interfaceorg.atmosphere.cpr.AtmosphereHandler- Overrides:
onRequestin classorg.atmosphere.handler.AtmosphereHandlerAdapter- Throws:
IOException
-
onStateChange
public void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event) throws IOException- Specified by:
onStateChangein interfaceorg.atmosphere.cpr.AtmosphereHandler- Overrides:
onStateChangein classorg.atmosphere.handler.AtmosphereHandlerAdapter- Throws:
IOException
-
-