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
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the handler for the given request or null.
  • Method Details

    • getHandler

      Handler getHandler(ServerHttpRequest request)
      Return the handler for the given request or null.
      Parameters:
      request - the request
      Returns:
      a Handler or null