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 a ServerHttpRequest and a Handler.
    Since:
    1.3.0
    • Method Detail

      • getHandler

        Handler getHandler​(org.springframework.http.server.ServerHttpRequest request)
        Return the handler for the given request or null.
        Parameters:
        request - the request
        Returns:
        a Handler or null