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.
|
Modifier and Type | Method and Description |
---|---|
ResponseCookie |
ResponseCookie.ResponseCookieBuilder.build()
Create the HttpCookie.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,ResponseCookie> |
ClientHttpResponseDecorator.getCookies() |
MultiValueMap<java.lang.String,ResponseCookie> |
ClientHttpResponse.getCookies()
Return a read-only map of response cookies received from the server.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,ResponseCookie> |
ServerHttpResponse.getCookies()
Return a mutable map with the cookies to send to the server.
|
MultiValueMap<java.lang.String,ResponseCookie> |
ServerHttpResponseDecorator.getCookies() |
MultiValueMap<java.lang.String,ResponseCookie> |
AbstractServerHttpResponse.getCookies() |
Modifier and Type | Method and Description |
---|---|
void |
ServerHttpResponse.addCookie(ResponseCookie cookie)
Add the given
ResponseCookie . |
void |
ServerHttpResponseDecorator.addCookie(ResponseCookie cookie) |
void |
AbstractServerHttpResponse.addCookie(ResponseCookie cookie) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,ResponseCookie> |
MockClientHttpResponse.getCookies() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,ResponseCookie> |
ExchangeResult.getResponseCookies()
Return response cookies received from the server.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,ResponseCookie> |
ClientResponse.cookies()
Return cookies of this response.
|
Modifier and Type | Method and Description |
---|---|
ClientResponse.Builder |
ClientResponse.Builder.cookies(java.util.function.Consumer<MultiValueMap<java.lang.String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,ResponseCookie> |
ClientResponseWrapper.cookies() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.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.
|
EntityResponse.Builder<T> |
EntityResponse.Builder.cookie(ResponseCookie cookie)
Add the given cookie to the response.
|
B |
ServerResponse.HeadersBuilder.cookie(ResponseCookie cookie)
Add the given cookie to the response.
|
Modifier and Type | Method and Description |
---|---|
RenderingResponse.Builder |
RenderingResponse.Builder.cookies(java.util.function.Consumer<MultiValueMap<java.lang.String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
EntityResponse.Builder<T> |
EntityResponse.Builder.cookies(java.util.function.Consumer<MultiValueMap<java.lang.String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
B |
ServerResponse.HeadersBuilder.cookies(java.util.function.Consumer<MultiValueMap<java.lang.String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|