Package | Description |
---|---|
org.springframework.core.annotation |
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
|
org.springframework.core.type |
Core support package for type introspection.
|
org.springframework.core.type.classreading |
Support classes for reading annotation and class-level metadata.
|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
org.springframework.http.client |
Contains an abstraction over client-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.codec | |
org.springframework.http.codec.multipart |
Multipart support.
|
org.springframework.http.converter |
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
|
org.springframework.http.server |
Contains an abstraction over server-side HTTP.
|
org.springframework.http.server.reactive |
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing. |
org.springframework.messaging.handler.invocation.reactive |
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
|
org.springframework.messaging.simp.broker |
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
|
org.springframework.messaging.simp.stomp |
Generic support for simple messaging protocols (like STOMP).
|
org.springframework.messaging.support |
Provides implementations of
Message along with
a MessageBuilder and MessageHeaderAccessor for building and working with messages and
message headers, as well as various MessageChannel
implementations and channel interceptor support. |
org.springframework.mock.http.client.reactive |
Mock implementations of reactive HTTP client contracts.
|
org.springframework.mock.http.server.reactive |
Mock implementations of reactive HTTP server contracts.
|
org.springframework.mock.web |
A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with
Spring's Web MVC framework.
|
org.springframework.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
org.springframework.test.web.client.match |
Contains built-in
RequestMatcher
implementations. |
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.test.web.servlet.request |
Contains built-in
RequestBuilder
implementations. |
org.springframework.test.web.servlet.result |
Contains built-in
ResultMatcher and ResultHandler implementations. |
org.springframework.util |
Miscellaneous utility classes, such as String manipulation utilities,
a Log4J configurer, and a state holder for paged lists of objects.
|
org.springframework.web.multipart |
Multipart resolution framework for handling file uploads.
|
org.springframework.web.multipart.commons |
MultipartResolver implementation for
Apache Commons FileUpload.
|
org.springframework.web.multipart.support |
Support classes for the multipart resolution framework.
|
org.springframework.web.reactive.function |
Provides a foundation for both the reactive client and server subpackages.
|
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.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
org.springframework.web.reactive.socket |
Abstractions and support classes for reactive WebSocket interactions.
|
org.springframework.web.server |
Core interfaces and classes for Spring's generic, reactive web support.
|
org.springframework.web.server.adapter |
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler . |
org.springframework.web.servlet |
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
|
org.springframework.web.servlet.function |
Provides the types that make up Spring's functional web framework for Servlet environments.
|
org.springframework.web.socket |
Common abstractions and Spring configuration support for WebSocket applications.
|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
|
org.springframework.web.util.pattern |
Dedicated support for matching HTTP request paths.
|
Modifier and Type | Method and Description |
---|---|
static MultiValueMap<String,Object> |
AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element,
String annotationName)
Get the annotation attributes of all annotations of the specified
annotationName in the annotation hierarchy above the supplied
AnnotatedElement and store the results in a MultiValueMap . |
static MultiValueMap<String,Object> |
AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element,
String annotationName,
boolean classValuesAsString,
boolean nestedAnnotationsAsMap)
Get the annotation attributes of all annotations of
the specified
annotationName in the annotation hierarchy above
the supplied AnnotatedElement and store the results in a
MultiValueMap . |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(Function<MultiValueMap<String,Object>,MultiValueMap<String,Object>> finisher,
MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(Function<MultiValueMap<String,Object>,MultiValueMap<String,Object>> finisher,
MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
static <A extends Annotation> |
MergedAnnotationCollectors.toMultiValueMap(Function<MultiValueMap<String,Object>,MultiValueMap<String,Object>> finisher,
MergedAnnotation.Adapt... adaptations)
Create a new
Collector that accumulates merged annotations to a
MultiValueMap with items added from each merged annotation
as a map. |
Modifier and Type | Method and Description |
---|---|
default MultiValueMap<String,Object> |
AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName)
Retrieve all attributes of all annotations of the given type, if any (i.e.
|
default MultiValueMap<String,Object> |
AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString)
Retrieve all attributes of all annotations of the given type, if any (i.e.
|
MultiValueMap<String,Object> |
StandardAnnotationMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
MultiValueMap<String,Object> |
StandardMethodMetadata.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,Object> |
MethodMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString)
Deprecated.
|
MultiValueMap<String,Object> |
AnnotationMetadataReadingVisitor.getAllAnnotationAttributes(String annotationName,
boolean classValuesAsString)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpHeaders
A data structure representing HTTP request or response headers, mapping String header names
to a list of String values, also offering accessors for common application-level data types.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpHeaders.addAll(MultiValueMap<String,String> values) |
static String |
HttpHeaders.formatHeaders(MultiValueMap<String,String> headers)
Helps to format HTTP header values, as HTTP header values themselves can
contain comma-separated values, can become confusing with regular
Map formatting that also uses commas between entries. |
static HttpHeaders |
HttpHeaders.readOnlyHttpHeaders(MultiValueMap<String,String> headers)
Apply a read-only
HttpHeaders wrapper around the given headers, if necessary. |
Constructor and Description |
---|
HttpEntity(MultiValueMap<String,String> headers)
Create a new
HttpEntity with the given headers and no body. |
HttpEntity(T body,
MultiValueMap<String,String> headers)
Create a new
HttpEntity with the given body and headers. |
HttpHeaders(MultiValueMap<String,String> headers)
Construct a new
HttpHeaders instance backed by an existing map. |
RequestEntity(MultiValueMap<String,String> headers,
HttpMethod method,
URI url)
Constructor with method, URL and headers but without body.
|
RequestEntity(T body,
MultiValueMap<String,String> headers,
HttpMethod method,
URI url)
Constructor with method, URL, headers and body.
|
RequestEntity(T body,
MultiValueMap<String,String> headers,
HttpMethod method,
URI url,
Type type)
Constructor with method, URL, headers, body and type.
|
ResponseEntity(MultiValueMap<String,String> headers,
HttpStatus status)
Create a
ResponseEntity with headers and a status code. |
ResponseEntity(T body,
MultiValueMap<String,String> headers,
HttpStatus status)
Create a
ResponseEntity with a body, headers, and a status code. |
ResponseEntity(T body,
MultiValueMap<String,String> headers,
int rawStatus)
Create a
ResponseEntity with a body, headers, and a raw status code. |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpEntity<?>> |
MultipartBodyBuilder.build()
Return a
MultiValueMap with the configured parts. |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
AbstractClientHttpRequest.getCookies() |
MultiValueMap<String,HttpCookie> |
ClientHttpRequest.getCookies()
Return a mutable map of request cookies to send to the server.
|
MultiValueMap<String,ResponseCookie> |
ClientHttpResponse.getCookies()
Return a read-only map of response cookies received from the server.
|
MultiValueMap<String,ResponseCookie> |
ClientHttpResponseDecorator.getCookies() |
MultiValueMap<String,HttpCookie> |
ClientHttpRequestDecorator.getCookies() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<MultiValueMap<String,String>> |
FormHttpMessageReader.read(ResolvableType elementType,
ReactiveHttpInputMessage message,
Map<String,Object> hints) |
reactor.core.publisher.Mono<MultiValueMap<String,String>> |
FormHttpMessageReader.readMono(ResolvableType elementType,
ReactiveHttpInputMessage message,
Map<String,Object> hints) |
Modifier and Type | Method and Description |
---|---|
protected String |
FormHttpMessageWriter.serializeForm(MultiValueMap<String,String> formData,
Charset charset) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
FormHttpMessageWriter.write(org.reactivestreams.Publisher<? extends MultiValueMap<String,String>> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage message,
Map<String,Object> hints) |
Modifier and Type | Method and Description |
---|---|
HttpMessageWriter<MultiValueMap<String,String>> |
MultipartHttpMessageWriter.getFormWriter()
Return the configured form writer.
|
reactor.core.publisher.Flux<MultiValueMap<String,Part>> |
MultipartHttpMessageReader.read(ResolvableType elementType,
ReactiveHttpInputMessage message,
Map<String,Object> hints) |
reactor.core.publisher.Mono<MultiValueMap<String,Part>> |
MultipartHttpMessageReader.readMono(ResolvableType elementType,
ReactiveHttpInputMessage inputMessage,
Map<String,Object> hints) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
MultipartHttpMessageWriter.write(org.reactivestreams.Publisher<? extends MultiValueMap<String,?>> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage outputMessage,
Map<String,Object> hints) |
Constructor and Description |
---|
MultipartHttpMessageWriter(List<HttpMessageWriter<?>> partWriters,
HttpMessageWriter<MultiValueMap<String,String>> formWriter)
Constructor with explicit list of writers for serializing parts and a
writer for plain form data to fall back when no media type is specified
and the actual map consists of String values only.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
FormHttpMessageConverter.read(Class<? extends MultiValueMap<String,?>> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
protected String |
FormHttpMessageConverter.serializeForm(MultiValueMap<String,Object> formData,
Charset charset) |
void |
FormHttpMessageConverter.write(MultiValueMap<String,?> map,
MediaType contentType,
HttpOutputMessage outputMessage) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
FormHttpMessageConverter.read(Class<? extends MultiValueMap<String,?>> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
PathContainer.PathSegment.parameters()
Path parameters associated with this path segment.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
AbstractServerHttpRequest.getCookies() |
MultiValueMap<String,ResponseCookie> |
ServerHttpResponseDecorator.getCookies() |
MultiValueMap<String,HttpCookie> |
ServerHttpRequestDecorator.getCookies() |
MultiValueMap<String,ResponseCookie> |
AbstractServerHttpResponse.getCookies() |
MultiValueMap<String,HttpCookie> |
ServerHttpRequest.getCookies()
Return a read-only map of cookies sent by the client.
|
MultiValueMap<String,ResponseCookie> |
ServerHttpResponse.getCookies()
Return a mutable map with the cookies to send to the server.
|
MultiValueMap<String,String> |
AbstractServerHttpRequest.getQueryParams() |
MultiValueMap<String,String> |
ServerHttpRequestDecorator.getQueryParams() |
MultiValueMap<String,String> |
ServerHttpRequest.getQueryParams()
Return a read-only map with parsed and decoded query parameter values.
|
protected abstract MultiValueMap<String,HttpCookie> |
AbstractServerHttpRequest.initCookies()
Obtain the cookies from the underlying "native" request and adapt those to
an
HttpCookie map. |
protected MultiValueMap<String,String> |
AbstractServerHttpRequest.initQueryParams()
A method for parsing of the query into name-value pairs.
|
Constructor and Description |
---|
AbstractServerHttpRequest(URI uri,
String contextPath,
MultiValueMap<String,String> headers)
Constructor with the URI and headers for the request.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,T> |
AbstractMethodMessageHandler.getDestinationLookup()
Return a read-only multi-value map with a direct lookup of mappings,
(e.g.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
AbstractSubscriptionRegistry.findSubscriptions(Message<?> message) |
MultiValueMap<String,String> |
SubscriptionRegistry.findSubscriptions(Message<?> message)
Find all subscriptions that should receive the given message.
|
protected abstract MultiValueMap<String,String> |
AbstractSubscriptionRegistry.findSubscriptionsInternal(String destination,
Message<?> message) |
protected MultiValueMap<String,String> |
DefaultSubscriptionRegistry.findSubscriptionsInternal(String destination,
Message<?> message) |
Modifier and Type | Class and Description |
---|---|
class |
StompHeaders
Represents STOMP frame headers.
|
Modifier and Type | Method and Description |
---|---|
void |
StompHeaders.addAll(MultiValueMap<String,String> values) |
List<Message<byte[]>> |
StompDecoder.decode(ByteBuffer byteBuffer,
MultiValueMap<String,String> partialMessageHeaders)
Decodes one or more STOMP frames from the given
buffer and returns
a list of Messages . |
Modifier and Type | Method and Description |
---|---|
void |
NativeMessageHeaderAccessor.addNativeHeaders(MultiValueMap<String,String> headers)
Add the specified native headers to existing values.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
MockClientHttpResponse.getCookies() |
Modifier and Type | Method and Description |
---|---|
protected MultiValueMap<String,HttpCookie> |
MockServerHttpRequest.initCookies() |
Modifier and Type | Method and Description |
---|---|
B |
MockServerHttpRequest.BaseBuilder.cookies(MultiValueMap<String,HttpCookie> cookies)
Add the given cookies.
|
B |
MockServerHttpRequest.BaseBuilder.headers(MultiValueMap<String,String> headers)
Add the given header values.
|
B |
MockServerHttpRequest.BaseBuilder.queryParams(MultiValueMap<String,String> params)
Add the given query parameters and values.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,MultipartFile> |
MockMultipartHttpServletRequest.getMultiFileMap() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
MockServerRequest.cookies() |
MultiValueMap<String,String> |
MockServerRequest.queryParams() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<MultiValueMap<String,String>> |
MockServerRequest.formData() |
reactor.core.publisher.Mono<MultiValueMap<String,Part>> |
MockServerRequest.multipartData() |
Modifier and Type | Method and Description |
---|---|
MockServerRequest.Builder |
MockServerRequest.Builder.cookies(MultiValueMap<String,HttpCookie> cookies) |
MockServerRequest.Builder |
MockServerRequest.Builder.queryParams(MultiValueMap<String,String> queryParams) |
Modifier and Type | Method and Description |
---|---|
RequestMatcher |
ContentRequestMatchers.formData(MultiValueMap<String,String> expected)
Parse the body as form data and compare to the given
MultiValueMap . |
RequestMatcher |
ContentRequestMatchers.multipartData(MultiValueMap<String,?> expectedMap)
Parse the body as multipart data and assert it contains exactly the
values from the given
MultiValueMap . |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
ExchangeResult.getResponseCookies()
Return response cookies received from the server.
|
Modifier and Type | Method and Description |
---|---|
S |
WebTestClient.RequestHeadersSpec.cookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)
Manipulate this request's cookies with the given consumer.
|
WebTestClient.Builder |
WebTestClient.Builder.defaultCookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)
Manipulate the default cookies with the given consumer.
|
Modifier and Type | Method and Description |
---|---|
MockHttpServletRequestBuilder |
MockHttpServletRequestBuilder.params(MultiValueMap<String,String> params)
Variant of
MockHttpServletRequestBuilder.param(String, String...) with a MultiValueMap . |
MockHttpServletRequestBuilder |
MockHttpServletRequestBuilder.queryParams(MultiValueMap<String,String> params)
Append to the query string and also add to the
MockHttpServletRequestBuilder.params(MultiValueMap) request parameters} map. |
Modifier and Type | Method and Description |
---|---|
protected MultiValueMap<String,String> |
PrintingResultHandler.getParamsMultiValueMap(MockHttpServletRequest request) |
Modifier and Type | Class and Description |
---|---|
class |
LinkedMultiValueMap<K,V>
Simple implementation of
MultiValueMap that wraps a LinkedHashMap ,
storing multiple values in an ArrayList . |
class |
MultiValueMapAdapter<K,V>
Adapts a given
Map to the MultiValueMap contract. |
Modifier and Type | Method and Description |
---|---|
static <K,V> MultiValueMap<K,V> |
CollectionUtils.toMultiValueMap(Map<K,List<V>> targetMap)
Adapt a
Map<K, List<V>> to an MultiValueMap<K, V> . |
static <K,V> MultiValueMap<K,V> |
CollectionUtils.unmodifiableMultiValueMap(MultiValueMap<? extends K,? extends V> targetMap)
Return an unmodifiable view of the specified multi-value map.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiValueMap.addAll(MultiValueMap<K,V> values)
Add all the values of the given
MultiValueMap to the current values. |
void |
MultiValueMapAdapter.addAll(MultiValueMap<K,V> values) |
static <K,V> MultiValueMap<K,V> |
CollectionUtils.unmodifiableMultiValueMap(MultiValueMap<? extends K,? extends V> targetMap)
Return an unmodifiable view of the specified multi-value map.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,MultipartFile> |
MultipartRequest.getMultiFileMap()
Return a
MultiValueMap of the multipart files contained in this request. |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,MultipartFile> |
CommonsFileUploadSupport.MultipartParsingResult.getMultipartFiles() |
Modifier and Type | Method and Description |
---|---|
protected void |
CommonsFileUploadSupport.cleanupFileItems(MultiValueMap<String,MultipartFile> multipartFiles)
Cleanup the Spring MultipartFiles created during multipart parsing,
potentially holding temporary data on disk.
|
Constructor and Description |
---|
MultipartParsingResult(MultiValueMap<String,MultipartFile> mpFiles,
Map<String,String[]> mpParams,
Map<String,String> mpParamContentTypes) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,MultipartFile> |
AbstractMultipartHttpServletRequest.getMultiFileMap() |
protected MultiValueMap<String,MultipartFile> |
AbstractMultipartHttpServletRequest.getMultipartFiles()
Obtain the MultipartFile Map for retrieval,
lazily initializing it if necessary.
|
static MultiValueMap<String,Part> |
StandardServletPartUtils.getParts(HttpServletRequest request)
Retrieve all parts from the given servlet request.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMultipartHttpServletRequest.setMultipartFiles(MultiValueMap<String,MultipartFile> multipartFiles)
Set a Map with parameter names as keys and list of MultipartFile objects as values.
|
Constructor and Description |
---|
DefaultMultipartHttpServletRequest(HttpServletRequest request,
MultiValueMap<String,MultipartFile> mpFiles,
Map<String,String[]> mpParams,
Map<String,String> mpParamContentTypes)
Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
|
Modifier and Type | Method and Description |
---|---|
static BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,String>>,ReactiveHttpInputMessage> |
BodyExtractors.toFormData()
Extractor to read form data into
MultiValueMap<String, String> . |
static BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,Part>>,ServerHttpRequest> |
BodyExtractors.toMultipartData()
Extractor to read multipart data into a
MultiValueMap<String, Part> . |
Modifier and Type | Method and Description |
---|---|
static BodyInserters.FormInserter<String> |
BodyInserters.fromFormData(MultiValueMap<String,String> formData)
Return a
BodyInserters.FormInserter to write the given MultiValueMap
as URL-encoded form data. |
static BodyInserters.MultipartInserter |
BodyInserters.fromMultipartData(MultiValueMap<String,?> multipartData)
Return a
BodyInserters.MultipartInserter to write the given
MultiValueMap as multipart data. |
BodyInserters.FormInserter<T> |
BodyInserters.FormInserter.with(MultiValueMap<String,T> values)
Adds the specified values to the form.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
ClientRequest.cookies()
Return the cookies of this request.
|
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.
|
S |
WebClient.RequestHeadersSpec.cookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)
Provides access to every cookie declared so far with the possibility
to add, replace, or remove values.
|
ClientRequest.Builder |
ClientRequest.Builder.cookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)
Manipulate this request's cookies with the given consumer.
|
WebClient.Builder |
WebClient.Builder.defaultCookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)
Provides access to every
WebClient.Builder.defaultCookie(String, String...)
declared so far with the possibility to add, replace, or remove. |
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.
|
MultiValueMap<String,HttpCookie> |
ServerRequest.cookies()
Get the cookies of this request.
|
MultiValueMap<String,String> |
ServerRequest.queryParams()
Get all query parameters for this request.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<MultiValueMap<String,String>> |
ServerRequest.formData()
Get the form data from the body of the request if the Content-Type is
"application/x-www-form-urlencoded" or an empty map otherwise. |
reactor.core.publisher.Mono<MultiValueMap<String,Part>> |
ServerRequest.multipartData()
Get the parts of a multipart request if the Content-Type is
"multipart/form-data" or an empty map otherwise. |
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.
|
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.
|
RenderingResponse.Builder |
RenderingResponse.Builder.cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
ServerRequestWrapper.cookies() |
MultiValueMap<String,String> |
ServerRequestWrapper.queryParams() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<MultiValueMap<String,String>> |
ServerRequestWrapper.formData() |
reactor.core.publisher.Mono<MultiValueMap<String,Part>> |
ServerRequestWrapper.multipartData() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,HttpCookie> |
HandshakeInfo.getCookies()
For a server session this returns the server request cookies from the
handshake request.
|
Constructor and Description |
---|
HandshakeInfo(URI uri,
HttpHeaders headers,
MultiValueMap<String,HttpCookie> cookies,
reactor.core.publisher.Mono<Principal> principal,
String protocol,
InetSocketAddress remoteAddress,
Map<String,Object> attributes,
String logPrefix)
Constructor targeting server-side use with extra information such as the
cookies, remote address, attributes, and a log prefix.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<MultiValueMap<String,String>> |
ServerWebExchange.getFormData()
Return the form data from the body of the request if the Content-Type is
"application/x-www-form-urlencoded" or an empty map otherwise. |
reactor.core.publisher.Mono<MultiValueMap<String,String>> |
ServerWebExchangeDecorator.getFormData() |
reactor.core.publisher.Mono<MultiValueMap<String,Part>> |
ServerWebExchange.getMultipartData()
Return the parts of a multipart request if the Content-Type is
"multipart/form-data" or an empty map otherwise. |
reactor.core.publisher.Mono<MultiValueMap<String,Part>> |
ServerWebExchangeDecorator.getMultipartData() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<MultiValueMap<String,String>> |
DefaultServerWebExchange.getFormData() |
reactor.core.publisher.Mono<MultiValueMap<String,Part>> |
DefaultServerWebExchange.getMultipartData() |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
FlashMap.getTargetRequestParams()
Return the parameters identifying the target request, or an empty map.
|
Modifier and Type | Method and Description |
---|---|
FlashMap |
FlashMap.addTargetRequestParams(MultiValueMap<String,String> params)
Provide request parameters identifying the request for this FlashMap.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,Cookie> |
ServerResponse.cookies()
Return the cookies of this response.
|
MultiValueMap<String,Cookie> |
ServerRequest.cookies()
Get the cookies of this request.
|
MultiValueMap<String,Part> |
ServerRequest.multipartData()
Get the parts of a multipart request, provided the Content-Type is
"multipart/form-data" , or an exception otherwise. |
MultiValueMap<String,String> |
ServerRequest.params()
Get all parameters for this request.
|
Modifier and Type | Method and Description |
---|---|
B |
ServerResponse.HeadersBuilder.cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
ServerRequest.Builder |
ServerRequest.Builder.cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)
Manipulate this request's cookies with the given consumer.
|
EntityResponse.Builder<T> |
EntityResponse.Builder.cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
RenderingResponse.Builder |
RenderingResponse.Builder.cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.
|
ServerRequest.Builder |
ServerRequest.Builder.params(Consumer<MultiValueMap<String,String>> paramsConsumer)
Manipulate this request's parameters with the given consumer.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketHttpHeaders
An
HttpHeaders variant that adds support for
the HTTP headers defined by the WebSocket specification RFC 6455. |
Modifier and Type | Method and Description |
---|---|
protected MultiValueMap<HttpRequestHandler,String> |
ServletWebSocketHandlerRegistration.createMappings() |
MultiValueMap<HttpRequestHandler,String> |
WebMvcStompWebSocketEndpointRegistration.getMappings() |
Modifier and Type | Method and Description |
---|---|
protected void |
ServletWebSocketHandlerRegistration.addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,String> mappings,
SockJsService sockJsService,
WebSocketHandler handler,
String pathPattern) |
protected void |
ServletWebSocketHandlerRegistration.addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,String> mappings,
WebSocketHandler webSocketHandler,
HandshakeHandler handshakeHandler,
HandshakeInterceptor[] interceptors,
String path) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
UrlPathHelper.decodeMatrixVariables(HttpServletRequest request,
MultiValueMap<String,String> vars)
Decode the given matrix variables via
UrlPathHelper.decodeRequestString(javax.servlet.http.HttpServletRequest, java.lang.String) unless
UrlPathHelper.setUrlDecode(boolean) is set to true in which case it is assumed
the URL path from which the variables were extracted is already decoded
through a call to UrlPathHelper.getLookupPathForRequest(HttpServletRequest) . |
static MultiValueMap<String,String> |
UriUtils.encodeQueryParams(MultiValueMap<String,String> params)
Encode the query parameters from the given
MultiValueMap with UTF-8. |
abstract MultiValueMap<String,String> |
UriComponents.getQueryParams()
Return the map of query parameters.
|
static MultiValueMap<String,String> |
WebUtils.parseMatrixVariables(String matrixVariables)
Parse the given string with matrix variables.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
UrlPathHelper.decodeMatrixVariables(HttpServletRequest request,
MultiValueMap<String,String> vars)
Decode the given matrix variables via
UrlPathHelper.decodeRequestString(javax.servlet.http.HttpServletRequest, java.lang.String) unless
UrlPathHelper.setUrlDecode(boolean) is set to true in which case it is assumed
the URL path from which the variables were extracted is already decoded
through a call to UrlPathHelper.getLookupPathForRequest(HttpServletRequest) . |
static MultiValueMap<String,String> |
UriUtils.encodeQueryParams(MultiValueMap<String,String> params)
Encode the query parameters from the given
MultiValueMap with UTF-8. |
UriComponentsBuilder |
UriComponentsBuilder.queryParams(MultiValueMap<String,String> params)
Add multiple query parameters and values.
|
UriBuilder |
UriBuilder.queryParams(MultiValueMap<String,String> params)
Add multiple query parameters and values.
|
UriComponentsBuilder |
UriComponentsBuilder.replaceQueryParams(MultiValueMap<String,String> params)
Set the query parameter values after removing all existing ones.
|
UriBuilder |
UriBuilder.replaceQueryParams(MultiValueMap<String,String> params)
Set the query parameter values after removing all existing ones.
|
Modifier and Type | Method and Description |
---|---|
Map<String,MultiValueMap<String,String>> |
PathPattern.PathMatchInfo.getMatrixVariables()
Return maps of matrix variables per path segment, keyed off by URI
variable name.
|
Map<String,MultiValueMap<String,String>> |
PathPattern.PathRemainingMatchInfo.getMatrixVariables()
Return the path parameters for each bound variable.
|