Top Description Methods
org.apache.hc.core5.http.nio

public Interface RequestChannel

Annotations
@Contract
threading:SAFE
Imports
java.io.IOException, org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.apache.hc.core5.http.EntityDetails, .HttpException, .HttpRequest, org.apache.hc.core5.http.protocol.HttpContext

Abstract request channel.

Implementations are expected to be thread-safe.

Since
5.0

Method Summary

Modifier and TypeMethod and Description
public void
sendRequest(HttpRequest
the outgoing request.
request
,
EntityDetails
the details of the entity enclosed in the request
entityDetails
,
HttpContext
the actual execution context.
context
)

Sends a request through this channel.

Method Detail

sendRequestback to summary
public void sendRequest(HttpRequest request, EntityDetails entityDetails, HttpContext context) throws HttpException, IOException

Sends a request through this channel.

Parameters
request:HttpRequest

the outgoing request.

entityDetails:EntityDetails

the details of the entity enclosed in the request

context:HttpContext

the actual execution context.