Class UrlHandlerMapper
- java.lang.Object
- org.springframework.boot.devtools.remote.server.UrlHandlerMapper
 
- All Implemented Interfaces:
- HandlerMapper
 - public class UrlHandlerMapper extends Object implements HandlerMapper - HandlerMapperimplementation that maps incoming URLs.- Since:
- 1.3.0
 
- Constructor Summary- Constructors - Constructor - Description - UrlHandlerMapper(String url, Handler handler)Create a new- UrlHandlerMapper.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - Handler- getHandler(org.springframework.http.server.ServerHttpRequest request)Return the handler for the given request or- null.
 
- Constructor Detail- UrlHandlerMapper- public UrlHandlerMapper(String url, Handler handler) Create a new- UrlHandlerMapper.- Parameters:
- url- the URL to map
- handler- the handler to use
 
 
 - Method Detail- getHandler- public Handler getHandler(org.springframework.http.server.ServerHttpRequest request) Description copied from interface:- HandlerMapperReturn the handler for the given request or- null.- Specified by:
- getHandlerin interface- HandlerMapper
- Parameters:
- request- the request
- Returns:
- a Handlerornull