Top Description Methods
org.springframework.http.client.reactive

public Interface ClientHttpRequest

extends ReactiveHttpOutputMessage
Known Direct Implementers
org.springframework.http.client.reactive.ClientHttpRequestDecorator, org.springframework.http.client.reactive.AbstractClientHttpRequest
Imports
java.net.URI, org.springframework.http.HttpCookie, .HttpMethod, .ReactiveHttpOutputMessage, org.springframework.util.MultiValueMap

Represents a client-side reactive HTTP request.
Authors
Arjen Poutsma, Brian Clozel
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public MultiValueMap<String, HttpCookie>
getCookies()

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

public HttpMethod
getMethod()

Return the HTTP method of the request.

public <
the expected type of the request to cast to
T
>
T
getNativeRequest()

Return the request from the underlying HTTP library.

public URI
getURI()

Return the URI of the request.

Inherited from org.springframework.http.ReactiveHttpOutputMessage:
beforeCommitbufferFactoryisCommittedsetCompletewriteAndFlushWithwriteWith

Method Detail

getCookiesback to summary
public MultiValueMap<String, HttpCookie> getCookies()

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

getMethodback to summary
public HttpMethod getMethod()

Return the HTTP method of the request.

getNativeRequestback to summary
public <T> T getNativeRequest()

Return the request from the underlying HTTP library.

Parameters
<T>
the expected type of the request to cast to
Since
5.3
getURIback to summary
public URI getURI()

Return the URI of the request.