Class ReactiveEchoProcessor
java.lang.Object
org.apache.hc.core5.testing.reactive.ReactiveEchoProcessor
- All Implemented Interfaces:
org.apache.hc.core5.reactive.ReactiveRequestProcessor
public final class ReactiveEchoProcessor
extends Object
implements org.apache.hc.core5.reactive.ReactiveRequestProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessRequest(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entityDetails, org.apache.hc.core5.http.nio.ResponseChannel responseChannel, org.apache.hc.core5.http.protocol.HttpContext context, org.reactivestreams.Publisher<ByteBuffer> requestBody, org.apache.hc.core5.function.Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyFuture)
-
Constructor Details
-
ReactiveEchoProcessor
public ReactiveEchoProcessor()
-
-
Method Details
-
processRequest
public void processRequest(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entityDetails, org.apache.hc.core5.http.nio.ResponseChannel responseChannel, org.apache.hc.core5.http.protocol.HttpContext context, org.reactivestreams.Publisher<ByteBuffer> requestBody, org.apache.hc.core5.function.Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyFuture) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
processRequestin interfaceorg.apache.hc.core5.reactive.ReactiveRequestProcessor- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-