public class DefaultEndpointMapper<U> extends java.lang.Object implements EndpointMapper<U>
EndpointMapper used by the AsynchronousProcessor
and DefaultWebSocketProcessor| Constructor and Description |
|---|
DefaultEndpointMapper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
computePath(AtmosphereRequest req) |
void |
configure(AtmosphereConfig config)
Configure an AtmosphereFramework object.
|
U |
map(AtmosphereRequest req,
java.util.Map<java.lang.String,U> handlers)
Mape the request to its associated endpoint.
|
U |
map(java.lang.String path,
java.util.Map<java.lang.String,U> handlers)
Mape the request to its associated endpoint.
|
protected U |
match(java.lang.String path,
java.util.Map<java.lang.String,U> handlers) |
public java.lang.String computePath(AtmosphereRequest req)
public void configure(AtmosphereConfig config)
AtmosphereConfigAwareconfigure in interface AtmosphereConfigAwareconfig - AtmosphereConfigpublic U map(AtmosphereRequest req, java.util.Map<java.lang.String,U> handlers)
EndpointMappermap in interface EndpointMapper<U>req - an AtmosphereRequesthandlers - a map used for mapping the request to.public U map(java.lang.String path, java.util.Map<java.lang.String,U> handlers)
EndpointMappermap in interface EndpointMapper<U>path - a URIhandlers - a map used for mapping the request to.Copyright © 2020. All Rights Reserved.