Class AsyncServerFilterChainElement
- java.lang.Object
-
- org.apache.hc.core5.http.nio.support.AsyncServerFilterChainElement
-
public final class AsyncServerFilterChainElement extends java.lang.ObjectAn element in an asynchronous request processing chain.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private AsyncFilterChainfilterChainprivate AsyncFilterHandlerhandlerprivate AsyncServerFilterChainElementnext
-
Constructor Summary
Constructors Constructor Description AsyncServerFilterChainElement(AsyncFilterHandler handler, AsyncServerFilterChainElement next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncDataConsumerhandle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger)java.lang.StringtoString()
-
-
-
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:
HttpExceptionjava.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-