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.
Interface to provide a mapping between a
ServerHttpRequest
and a
Handler
.- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptiongetHandler
(ServerHttpRequest request) Return the handler for the given request ornull
.
-
Method Details
-
getHandler
Return the handler for the given request ornull
.- Parameters:
request
- the request- Returns:
- a
Handler
ornull
-