Top Description Methods
org.apache.hc.core5.http.nio

public Interface HandlerFactory<T extends org.apache.hc.core5.http.nio.ResourceHolder>

Known Direct Implementers
org.apache.hc.core5.http.nio.support.AsyncServerFilterChainExchangeHandlerFactory, org.apache.hc.core5.http.nio.support.DefaultAsyncResponseExchangeHandlerFactory
Type Parameters
<T>
handler type
Imports
org.apache.hc.core5.http.HttpException, .HttpRequest, org.apache.hc.core5.http.protocol.HttpContext

Abstract handler factory.
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

handler
create
(HttpRequest
the incoming request head.
request
,
HttpContext
the actual execution context.
context
)

Creates a new handler instance based on properties of an incoming request message..

Method Detail

createback to summary
public T create(HttpRequest request, HttpContext context) throws HttpException

Creates a new handler instance based on properties of an incoming request message..

Parameters
request:HttpRequest

the incoming request head.

context:HttpContext

the actual execution context.

Returns:T

handler