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.server.reactive |
Mock implementations of reactive HTTP server contracts.
|
org.springframework.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
Modifier and Type | Class and Description |
---|---|
class |
ResponseCookie
An
HttpCookie subclass with the additional attributes allowed in
the "Set-Cookie" response header. |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,HttpCookie> |
AbstractClientHttpRequest.getCookies() |
MultiValueMap<java.lang.String,HttpCookie> |
ClientHttpRequestDecorator.getCookies() |
MultiValueMap<java.lang.String,HttpCookie> |
ClientHttpRequest.getCookies()
Return a mutable map of request cookies to send to the server.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,HttpCookie> |
ServerHttpRequestDecorator.getCookies() |
MultiValueMap<java.lang.String,HttpCookie> |
ServerHttpRequest.getCookies()
Return a read-only map of cookies sent by the client.
|
MultiValueMap<java.lang.String,HttpCookie> |
AbstractServerHttpRequest.getCookies() |
protected abstract MultiValueMap<java.lang.String,HttpCookie> |
AbstractServerHttpRequest.initCookies()
Obtain the cookies from the underlying "native" request and adapt those to
an
HttpCookie map. |
Modifier and Type | Method and Description |
---|---|
protected MultiValueMap<java.lang.String,HttpCookie> |
MockServerHttpRequest.initCookies() |
Modifier and Type | Method and Description |
---|---|
B |
MockServerHttpRequest.BaseBuilder.cookie(HttpCookie... cookie)
Add one or more cookies.
|
Modifier and Type | Method and Description |
---|---|
B |
MockServerHttpRequest.BaseBuilder.cookies(MultiValueMap<java.lang.String,HttpCookie> cookies)
Add the given cookies.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,HttpCookie> |
MockServerRequest.cookies() |
Modifier and Type | Method and Description |
---|---|
MockServerRequest.Builder |
MockServerRequest.Builder.cookie(HttpCookie... cookies) |
Modifier and Type | Method and Description |
---|---|
MockServerRequest.Builder |
MockServerRequest.Builder.cookies(MultiValueMap<java.lang.String,HttpCookie> cookies) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,HttpCookie> |
ServerRequest.cookies()
Get the cookies of this request.
|
Modifier and Type | Method and Description |
---|---|
ServerRequest.Builder |
ServerRequest.Builder.cookies(java.util.function.Consumer<MultiValueMap<java.lang.String,HttpCookie>> cookiesConsumer)
Manipulate this request's cookies with the given consumer.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,HttpCookie> |
ServerRequestWrapper.cookies() |