org.springframework.http.client.reactive

## 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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `MultiValueMap<String,HttpCookie>` | `getCookies()` Return a mutable map of request cookies to send to the server.
    `HttpMethod` | `getMethod()` Return the HTTP method of the request.
    `<T> T` | `getNativeRequest()` Return the request from the underlying HTTP library.
    `URI` | `getURI()` Return the URI of the request.

    - ### Methods inherited from interface org.springframework.http.ReactiveHttpOutputMessage

      `beforeCommit, bufferFactory, isCommitted, setComplete, writeAndFlushWith, writeWith`

    - ### Methods inherited from interface org.springframework.http.HttpMessage

      `getHeaders`

- - ### Method Detail

    - #### getMethod

          HttpMethod getMethod()

      Return the HTTP method of the request.

    - #### getURI

          URI getURI()

      Return the URI of the request.

    - #### getCookies

          MultiValueMap<String,HttpCookie> getCookies()

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

    - #### 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