org.atmosphere.vertx
Class AtmosphereCoordinator

java.lang.Object
  extended by org.atmosphere.vertx.AtmosphereCoordinator

public class AtmosphereCoordinator
extends Object

This class control the AtmosphereFramework life cycle.

Author:
Jean-Francois Arcand

Method Summary
 AtmosphereCoordinator configure(VertxAtmosphere.Builder b)
           
 AtmosphereCoordinator discover(Class<?> clazz)
           
 org.atmosphere.cpr.AtmosphereFramework framework()
           
 boolean matchPath(String path)
           
 AtmosphereCoordinator path(String mappingPath)
           
 AtmosphereCoordinator ready()
           
 AtmosphereCoordinator route(org.atmosphere.cpr.AtmosphereRequest request, org.atmosphere.cpr.AtmosphereResponse response)
           
 AtmosphereCoordinator route(org.vertx.java.core.http.HttpServerRequest request)
          Route an http request inside the AtmosphereFramework
 AtmosphereCoordinator route(org.vertx.java.core.http.ServerWebSocket webSocket)
          Route the ServerWebSocket into the AtmosphereFramework
 AtmosphereCoordinator shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

configure

public AtmosphereCoordinator configure(VertxAtmosphere.Builder b)

discover

public AtmosphereCoordinator discover(Class<?> clazz)

ready

public AtmosphereCoordinator ready()

matchPath

public boolean matchPath(String path)

path

public AtmosphereCoordinator path(String mappingPath)

shutdown

public AtmosphereCoordinator shutdown()

framework

public org.atmosphere.cpr.AtmosphereFramework framework()

route

public AtmosphereCoordinator route(org.vertx.java.core.http.ServerWebSocket webSocket)
Route the ServerWebSocket into the AtmosphereFramework

Parameters:
webSocket - the ServerWebSocket

route

public AtmosphereCoordinator route(org.atmosphere.cpr.AtmosphereRequest request,
                                   org.atmosphere.cpr.AtmosphereResponse response)
                            throws IOException
Throws:
IOException

route

public AtmosphereCoordinator route(org.vertx.java.core.http.HttpServerRequest request)
Route an http request inside the AtmosphereFramework

Parameters:
request -


Copyright © 2013. All Rights Reserved.