Class AsyncServerFilterChainElement
- java.lang.Object
-
- org.apache.hc.core5.http.nio.support.AsyncServerFilterChainElement
-
public final class AsyncServerFilterChainElement extends java.lang.Object
An element in an asynchronous request processing chain.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private AsyncFilterChain
filterChain
private AsyncFilterHandler
handler
private AsyncServerFilterChainElement
next
-
Constructor Summary
Constructors Constructor Description AsyncServerFilterChainElement(AsyncFilterHandler handler, AsyncServerFilterChainElement next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncDataConsumer
handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger)
java.lang.String
toString()
-
-
-
Field Detail
-
handler
private final AsyncFilterHandler handler
-
next
private final AsyncServerFilterChainElement next
-
filterChain
private final AsyncFilterChain filterChain
-
-
Constructor Detail
-
AsyncServerFilterChainElement
public AsyncServerFilterChainElement(AsyncFilterHandler handler, AsyncServerFilterChainElement next)
-
-
Method Detail
-
handle
public AsyncDataConsumer handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger) throws HttpException, java.io.IOException
- Throws:
HttpException
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-