public class DefaultEndpointMapper<U> extends Object implements EndpointMapper<U>
EndpointMapper used by the AsynchronousProcessor
and DefaultWebSocketProcessor| Constructor and Description |
|---|
DefaultEndpointMapper() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public String computePath(AtmosphereRequest req)
public void configure(AtmosphereConfig config)
AtmosphereConfigAwareconfigure in interface AtmosphereConfigAwareconfig - AtmosphereConfigpublic U map(AtmosphereRequest req, Map<String,U> handlers)
EndpointMappermap in interface EndpointMapper<U>req - an AtmosphereRequesthandlers - a map used for mapping the request to.public U map(String path, Map<String,U> handlers)
EndpointMappermap in interface EndpointMapper<U>path - a URIhandlers - a map used for mapping the request to.Copyright © 2016. All rights reserved.