public final class SimpleRequestProducer
extends org.apache.hc.core5.http.nio.support.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
AsyncRequestBuilder and streaming
AsyncEntityProducers.
SimpleBody,
SimpleHttpRequest,
AsyncRequestBuilder,
AsyncEntityProducer| Modifier and Type | Method and Description |
|---|---|
static SimpleRequestProducer |
create(SimpleHttpRequest request) |
public static SimpleRequestProducer create(SimpleHttpRequest request)
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.