public final class SimpleRequestProducer
extends BasicRequestProducer
SimpleHttpRequest instance.
IMPORTANT: SimpleHttpRequests are intended for simple scenarios where entities inclosed
in requests are known to be small. It is generally recommended to use
org.apache.hc.core5.http.nio.support.AsyncRequestBuilder and streaming
org.apache.hc.core5.http.nio.AsyncEntityProducers.
SimpleBody,
SimpleHttpRequest,
org.apache.hc.core5.http.nio.support.AsyncRequestBuilder,
org.apache.hc.core5.http.nio.AsyncEntityProducer| Modifier and Type | Method and Description |
|---|---|
static SimpleRequestProducer |
create(SimpleHttpRequest request) |
public static SimpleRequestProducer create(SimpleHttpRequest request)