Package org.atmosphere.util
Interface EndpointMapper<U>
-
- Type Parameters:
U-
- All Superinterfaces:
AtmosphereConfigAware
- All Known Implementing Classes:
DefaultEndpointMapper
public interface EndpointMapper<U> extends AtmosphereConfigAware
This class is responsible for mapping request to handler likeAtmosphereHandlerorWebSocketHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Umap(java.lang.String path, java.util.Map<java.lang.String,U> handlers)Mape the request to its associated endpoint.Umap(AtmosphereRequest req, java.util.Map<java.lang.String,U> handlers)Mape the request to its associated endpoint.-
Methods inherited from interface org.atmosphere.inject.AtmosphereConfigAware
configure
-
-
-
-
Method Detail
-
map
U map(AtmosphereRequest req, java.util.Map<java.lang.String,U> handlers)
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
-
-