Interface RequestChannel


@Contract(threading=SAFE) public interface RequestChannel
Abstract request channel.

Implementations are expected to be thread-safe.

Since:
5.0
  • Method Details

    • sendRequest

      void sendRequest(HttpRequest request, EntityDetails entityDetails, HttpContext context) throws HttpException, IOException
      Sends a request through this channel.
      Parameters:
      request - the outgoing request.
      entityDetails - the details of the entity enclosed in the request
      context - the actual execution context.
      Throws:
      HttpException - in case of an HTTP protocol violation.
      IOException - in case of an I/O error.