com.wordnik.swaggersocket.server
Class SwaggerSocketProtocolInterceptor

java.lang.Object
  extended by org.atmosphere.cpr.AtmosphereInterceptorAdapter
      extended by com.wordnik.swaggersocket.server.SwaggerSocketProtocolInterceptor
All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereInterceptor

@AtmosphereInterceptorService
public class SwaggerSocketProtocolInterceptor
extends org.atmosphere.cpr.AtmosphereInterceptorAdapter


Constructor Summary
SwaggerSocketProtocolInterceptor()
           
 
Method Summary
 void configure(org.atmosphere.cpr.AtmosphereConfig config)
           
 org.atmosphere.cpr.Action inspect(org.atmosphere.cpr.AtmosphereResource r)
           
protected  Request lookupRequest(org.atmosphere.cpr.AtmosphereRequest request)
           
protected  void schedule(org.atmosphere.cpr.AtmosphereResource r, String uuid)
           
protected static org.atmosphere.cpr.AtmosphereRequest toAtmosphereRequest(org.atmosphere.cpr.AtmosphereRequest r, ProtocolBase request)
           
protected  Object wrapMessage(org.atmosphere.cpr.AtmosphereResponse res, String message)
           
 
Methods inherited from class org.atmosphere.cpr.AtmosphereInterceptorAdapter
postInspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwaggerSocketProtocolInterceptor

public SwaggerSocketProtocolInterceptor()
Method Detail

configure

public void configure(org.atmosphere.cpr.AtmosphereConfig config)
Specified by:
configure in interface org.atmosphere.cpr.AtmosphereInterceptor
Overrides:
configure in class org.atmosphere.cpr.AtmosphereInterceptorAdapter

inspect

public org.atmosphere.cpr.Action inspect(org.atmosphere.cpr.AtmosphereResource r)
Specified by:
inspect in interface org.atmosphere.cpr.AtmosphereInterceptor
Overrides:
inspect in class org.atmosphere.cpr.AtmosphereInterceptorAdapter

schedule

protected void schedule(org.atmosphere.cpr.AtmosphereResource r,
                        String uuid)

toAtmosphereRequest

protected static final org.atmosphere.cpr.AtmosphereRequest toAtmosphereRequest(org.atmosphere.cpr.AtmosphereRequest r,
                                                                                ProtocolBase request)

lookupRequest

protected Request lookupRequest(org.atmosphere.cpr.AtmosphereRequest request)

wrapMessage

protected final Object wrapMessage(org.atmosphere.cpr.AtmosphereResponse res,
                                   String message)


Copyright © 2012. All Rights Reserved.