| Package | Description |
|---|---|
| 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 | Method and Description |
|---|---|
ServerRequest.Headers |
MockServerRequest.headers() |
| Modifier and Type | Method and Description |
|---|---|
ServerRequest.Headers |
ServerRequest.headers()
Get the headers of this request.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestPredicate |
RequestPredicates.headers(Predicate<ServerRequest.Headers> headersPredicate)
Return a
RequestPredicate that tests the request's headers
against the given headers predicate. |
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerRequestWrapper.HeadersWrapper
Implementation of the
Headers interface that can be subclassed
to adapt the headers in a
handler filter function. |
| Modifier and Type | Method and Description |
|---|---|
ServerRequest.Headers |
ServerRequestWrapper.headers() |
| Constructor and Description |
|---|
HeadersWrapper(ServerRequest.Headers headers)
Create a new
HeadersWrapper that wraps the given request. |