Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
org.springframework.http.client.reactive |
Abstractions for reactive HTTP client support including
ClientHttpRequest and
ClientHttpResponse as well as a
ClientHttpConnector . |
org.springframework.http.server.reactive |
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing. |
org.springframework.mock.http.client.reactive |
Mock implementations of reactive HTTP client contracts.
|
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.web.reactive.function.client |
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer. |
org.springframework.web.reactive.function.client.support |
Classes supporting the
org.springframework.web.reactive.function.client package. |
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework for Reactive environments.
|
Modifier and Type | Method and Description |
---|---|
ResponseCookie |
ResponseCookie.ResponseCookieBuilder.build()
Create the HttpCookie.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
ClientHttpResponse.getCookies()
Return a read-only map of response cookies received from the server.
|
MultiValueMap<String,ResponseCookie> |
ClientHttpResponseDecorator.getCookies() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
ServerHttpResponse.getCookies()
Return a mutable map with the cookies to send to the server.
|
MultiValueMap<String,ResponseCookie> |
AbstractServerHttpResponse.getCookies() |
MultiValueMap<String,ResponseCookie> |
ServerHttpResponseDecorator.getCookies() |
Modifier and Type | Method and Description |
---|---|
void |
ServerHttpResponse.addCookie(ResponseCookie cookie)
Add the given
ResponseCookie . |
void |
AbstractServerHttpResponse.addCookie(ResponseCookie cookie) |
void |
ServerHttpResponseDecorator.addCookie(ResponseCookie cookie) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
MockClientHttpResponse.getCookies() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
ExchangeResult.getResponseCookies()
Return response cookies received from the server.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
ClientResponse.cookies()
Return the cookies of this response.
|
Modifier and Type | Method and Description |
---|---|
ClientResponse.Builder |
ClientResponse.Builder.cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
ClientResponseWrapper.cookies() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
ServerResponse.cookies()
Return the cookies of this response.
|
Modifier and Type | Method and Description |
---|---|
RenderingResponse.Builder |
RenderingResponse.Builder.cookie(ResponseCookie cookie)
Add the given cookie to the response.
|
B |
ServerResponse.HeadersBuilder.cookie(ResponseCookie cookie)
Add the given cookie to the response.
|
EntityResponse.Builder<T> |
EntityResponse.Builder.cookie(ResponseCookie cookie)
Add the given cookie to the response.
|
Modifier and Type | Method and Description |
---|---|
RenderingResponse.Builder |
RenderingResponse.Builder.cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
B |
ServerResponse.HeadersBuilder.cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
EntityResponse.Builder<T> |
EntityResponse.Builder.cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|