Package org.atmosphere.util
Interface EndpointMapper<U>
- Type Parameters:
U-
- All Superinterfaces:
AtmosphereConfigAware
- All Known Implementing Classes:
DefaultEndpointMapper
This class is responsible for mapping request to handler like
AtmosphereHandler
or WebSocketHandler- Author:
- Jeanfrancois Arcand
-
Method Summary
Methods inherited from interface org.atmosphere.inject.AtmosphereConfigAware
configure
-
Method Details
-
map
Mape the request to its associated endpoint.- Parameters:
req- anAtmosphereRequesthandlers- a map used for mapping the request to.- Returns:
- U the result, or null if not mapped
-
map
Mape the request to its associated endpoint.- Parameters:
path- a URIhandlers- a map used for mapping the request to.- Returns:
- U the result, or null if not mapped
-