public class JSONPAtmosphereInterceptor extends AtmosphereInterceptorAdapter
| Constructor and Description |
|---|
JSONPAtmosphereInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
escapeForJavaScript(java.lang.String str) |
Action |
inspect(AtmosphereResource r)
Invoked before an
AtmosphereResource gets dispatched to AtmosphereHandler |
java.lang.String |
toString() |
configure, postInspectpublic Action inspect(AtmosphereResource r)
AtmosphereInterceptorAtmosphereResource gets dispatched to AtmosphereHandlerinspect in interface AtmosphereInterceptorinspect in class AtmosphereInterceptorAdapterr - a AtmosphereResourceAction.CONTINUE or Action.SUSPEND
to dispatch the AtmosphereResource to other AtmosphereInterceptor or AtmosphereHandler.
Return Action.TYPE.CANCELLED to stop the processing.protected java.lang.String escapeForJavaScript(java.lang.String str)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All Rights Reserved.