Interface RequestMatcher

All Known Subinterfaces:
ErrorRouteInfo<T,R>, StatusRouteInfo<T,R>, UriRouteInfo<T,R>
All Known Implementing Classes:
DefaultErrorRouteInfo, DefaultRequestMatcher, DefaultStatusRouteInfo, DefaultUrlRouteInfo

public interface RequestMatcher
Route with a request predicate.
Since:
4.0.0
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matching(HttpRequest<?> httpRequest)
    Match the given request.
  • Method Details

    • matching

      boolean matching(HttpRequest<?> httpRequest)
      Match the given request.
      Parameters:
      httpRequest - The request
      Returns:
      true if route matches this request