Interface HandlerMapper
- All Known Implementing Classes:
UrlHandlerMapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HandlerMapper
Interface to provide a mapping between aServerHttpRequestand aHandler.- Since:
- 1.3.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HandlergetHandler(org.springframework.http.server.ServerHttpRequest request)Return the handler for the given request ornull.
Method Detail
getHandler
Handler getHandler(org.springframework.http.server.ServerHttpRequest request)
Return the handler for the given request ornull.- Parameters:
request- the request- Returns:
- a
Handlerornull