Interface ClientHttpRequest

All Superinterfaces:
HttpMessage, ReactiveHttpOutputMessage
All Known Implementing Classes:
AbstractClientHttpRequest, ClientHttpRequestDecorator, MockClientHttpRequest

public interface ClientHttpRequest extends ReactiveHttpOutputMessage
Represents a client-side reactive HTTP request.
Since:
5.0
Author:
Arjen Poutsma, Brian Clozel
  • Method Details

    • getMethod

      HttpMethod getMethod()
      Return the HTTP method of the request.
    • getURI

      URI getURI()
      Return the URI of the request.
    • getCookies

      Return a mutable map of request cookies to send to the server.
    • getAttributes

      Map<String,Object> getAttributes()
      Return a mutable map of the request attributes.
      Since:
      6.2
    • getNativeRequest

      <T> T getNativeRequest()
      Return the request from the underlying HTTP library.
      Type Parameters:
      T - the expected type of the request to cast to
      Since:
      5.3