HttpClientRequest Interface
HTTP request for a client connection.
Methods
Code List<Cookie> get cookies() #
Cookies to present to the server (in the Cookie header).
List<Cookie> get cookies();
Code HttpHeaders get headers() #
Returns the request headers.
HttpHeaders get headers();
Code OutputStream get outputStream() #
Returns the output stream for the request. This is used to write the request data. When all request data has been written close the stream to indicate the end of the request.
When this is accessed for the first time the request header is send. Calling any methods that will change the header after having retrieved the output stream will throw an exception.
OutputStream get outputStream();