|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.util.DefaultEndpointMapper<U>
public class DefaultEndpointMapper<U>
Default implementation of the EndpointMapper used by the AsynchronousProcessor
and DefaultWebSocketProcessor
| Constructor Summary | |
|---|---|
DefaultEndpointMapper()
|
|
| Method Summary | |
|---|---|
String |
computePath(AtmosphereRequest req)
|
void |
configure(AtmosphereConfig config)
Configure an AtmosphereFramework object. |
U |
map(AtmosphereRequest req,
Map<String,U> handlers)
Mape the request to its associated endpoint. |
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 |
|---|
public DefaultEndpointMapper()
| Method Detail |
|---|
protected U match(String path,
Map<String,U> handlers)
public String computePath(AtmosphereRequest req)
public void configure(AtmosphereConfig config)
AtmosphereConfigAware
configure in interface AtmosphereConfigAwareconfig - AtmosphereConfig
public U map(AtmosphereRequest req,
Map<String,U> handlers)
EndpointMapper
map in interface EndpointMapper<U>req - an AtmosphereRequesthandlers - a map used for mapping the request to.
public U map(String path,
Map<String,U> handlers)
EndpointMapper
map in interface EndpointMapper<U>path - a URIhandlers - a map used for mapping the request to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||