com.vaadin.server.communication
Class PushAtmosphereHandler

java.lang.Object
  extended by org.atmosphere.handler.AbstractReflectorAtmosphereHandler
      extended by com.vaadin.server.communication.PushAtmosphereHandler
All Implemented Interfaces:
java.io.Serializable, org.atmosphere.cpr.AtmosphereHandler

public class PushAtmosphereHandler
extends org.atmosphere.handler.AbstractReflectorAtmosphereHandler
implements java.io.Serializable

Handles Atmosphere requests and forwards them to logical methods in PushHandler

Since:
7.5.0
Author:
Vaadin Ltd
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
org.atmosphere.handler.AbstractReflectorAtmosphereHandler.Default
 
Constructor Summary
PushAtmosphereHandler()
           
 
Method Summary
 void onRequest(org.atmosphere.cpr.AtmosphereResource resource)
           
 void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
           
 void setPushHandler(PushHandler pushHandler)
           
 
Methods inherited from class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
destroy, postStateChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushAtmosphereHandler

public PushAtmosphereHandler()
Method Detail

setPushHandler

public void setPushHandler(PushHandler pushHandler)

onStateChange

public void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
                   throws java.io.IOException
Specified by:
onStateChange in interface org.atmosphere.cpr.AtmosphereHandler
Overrides:
onStateChange in class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
Throws:
java.io.IOException

onRequest

public void onRequest(org.atmosphere.cpr.AtmosphereResource resource)
Specified by:
onRequest in interface org.atmosphere.cpr.AtmosphereHandler


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.