Interface Request

All Known Implementing Classes:
CoreClientUpgradeRequest, HttpProxy.TunnelRequest, HttpRequest, JakartaClientUpgradeRequest, JettyClientUpgradeRequest

public interface Request

Request represents an HTTP request, and offers a fluent interface to customize various attributes such as the path, the headers, the content, etc.

You can create Request objects via HttpClient.newRequest(String) and you can send them using either send() for a blocking semantic, or send(Response.CompleteListener) for an asynchronous semantic.

Request objects cannot be reused for other requests, not even for requests that have identical URI and headers.

See Also: