org.atmosphere.util
Class DefaultEndpointMapper<U>

java.lang.Object
  extended by org.atmosphere.util.DefaultEndpointMapper<U>
All Implemented Interfaces:
EndpointMapper<U>

public class DefaultEndpointMapper<U>
extends Object
implements EndpointMapper<U>

Default implementation of the EndpointMapper used by the AsynchronousProcessor and DefaultWebSocketProcessor

Author:
Jeanfrancois Arcand

Constructor Summary
DefaultEndpointMapper()
           
 
Method Summary
 U map(String path, Map<String,U> handlers)
          Mape the request to its associated endpoint.
protected  U match(String path, Map<String,U> handlers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEndpointMapper

public DefaultEndpointMapper()
Method Detail

match

protected U match(String path,
                  Map<String,U> handlers)

map

public U map(String path,
             Map<String,U> handlers)
Mape the request to its associated endpoint.

Specified by:
map in interface EndpointMapper<U>
Returns:


Copyright © 2013. All Rights Reserved.