Interface HandlerFactory<T extends ResourceHolder>

Type Parameters:
T - handler type
All Known Implementing Classes:
AsyncServerFilterChainExchangeHandlerFactory, DefaultAsyncPushConsumerFactory, DefaultAsyncResponseExchangeHandlerFactory

public interface HandlerFactory<T extends ResourceHolder>
Abstract handler factory.
Since:
5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    create(HttpRequest request, HttpContext context)
    Creates a new handler instance based on properties of an incoming request message..
  • Method Details

    • create

      T create(HttpRequest request, HttpContext context) throws HttpException
      Creates a new handler instance based on properties of an incoming request message..
      Parameters:
      request - the incoming request head.
      context - the actual execution context.
      Returns:
      handler
      Throws:
      HttpException