Interface HttpRequestMapper<T>

All Known Implementing Classes:
RequestHandlerRegistry

public interface HttpRequestMapper<T>
This class can be used to resolve an object matching a particular HttpRequest. Usually the mapped object will be a request handler to process the request.
Since:
5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(HttpRequest request, HttpContext context)
    Resolves a handler matching the given request.
  • Method Details

    • resolve

      T resolve(HttpRequest request, HttpContext context) throws HttpException
      Resolves a handler matching the given request.
      Parameters:
      request - the request to map to a handler
      Returns:
      HTTP request handler or null if no match is found.
      Throws:
      HttpException