public class PrimeAtmosphereHandler
extends org.atmosphere.handler.AbstractReflectorAtmosphereHandler
AtmosphereHandler
who delegate HTTP METHOD GET to PushRule
. See the
DefaultPushRule
onRequest(org.atmosphere.cpr.AtmosphereResource)
method and add your logic there.
This AtmosphereHandler doesn't invoke the AtmosphereResource.suspend()
.
The AtmosphereResourceLifecycleInterceptor
is taking care of itConstructor | Description |
---|---|
PrimeAtmosphereHandler(List<PushRule> rules) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
applyRules(org.atmosphere.cpr.AtmosphereResource resource) |
Deprecated.
|
void |
onRequest(org.atmosphere.cpr.AtmosphereResource resource) |
Deprecated.
|
StringBuilder |
read(org.atmosphere.cpr.AtmosphereResource r) |
Deprecated.
|
public void onRequest(org.atmosphere.cpr.AtmosphereResource resource) throws IOException
IOException
protected void applyRules(org.atmosphere.cpr.AtmosphereResource resource)
public StringBuilder read(org.atmosphere.cpr.AtmosphereResource r)
Copyright © 2018. All rights reserved.