Class ReactiveRandomProcessor
java.lang.Object
org.apache.hc.core5.testing.reactive.ReactiveRandomProcessor
- All Implemented Interfaces:
org.apache.hc.core5.reactive.ReactiveRequestProcessor
public class ReactiveRandomProcessor
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>> responseBodyCallback)
-
Constructor Details
-
ReactiveRandomProcessor
public ReactiveRandomProcessor()
-
-
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>> responseBodyCallback) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
processRequestin interfaceorg.apache.hc.core5.reactive.ReactiveRequestProcessor- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-