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<String,HttpCookie> |
AbstractClientHttpRequest.getCookies() |
MultiValueMap<String,HttpCookie> |
ClientHttpRequestDecorator.getCookies() |
MultiValueMap<String,HttpCookie> |
ClientHttpRequest.getCookies()
Return a mutable map of request cookies to send to the server.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
ServerHttpRequestDecorator.getCookies() |
MultiValueMap<String,HttpCookie> |
ServerHttpRequest.getCookies()
Return a read-only map of cookies sent by the client.
|
MultiValueMap<String,HttpCookie> |
AbstractServerHttpRequest.getCookies() |
protected abstract MultiValueMap<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<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<String,HttpCookie> cookies)
Add the given cookies.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<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<String,HttpCookie> cookies) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
ServerRequest.cookies()
Get the cookies of this request.
|
Modifier and Type | Method and Description |
---|---|
ServerRequest.Builder |
ServerRequest.Builder.cookies(Consumer<MultiValueMap<String,HttpCookie>> cookiesConsumer)
Manipulate this request's cookies with the given consumer.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
ServerRequestWrapper.cookies() |