Uses of Interface
org.springframework.util.MultiValueMap
Packages that use MultiValueMap
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
Core support package for type introspection.
Contains a basic abstraction over client/server-side HTTP.
Contains an abstraction over client-side HTTP.
Abstractions for reactive HTTP client support including
ClientHttpRequest
and
ClientHttpResponse
as well as a
ClientHttpConnector
.Multipart support.
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Contains an abstraction over server-side HTTP.
Abstractions for reactive HTTP server support including a
ServerHttpRequest
and
ServerHttpResponse
along with an
HttpHandler
for processing.This package provides internal HTTP support classes,
to be used by higher-level client and server classes.
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
Generic support for simple messaging protocols (like STOMP).
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.Mock implementations of reactive HTTP client contracts.
Mock implementations of reactive HTTP server contracts.
A comprehensive set of Servlet API 6.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Mock objects for the functional web framework.
Contains built-in
RequestMatcher
implementations.Contains built-in
ResponseCreator
implementations.Support for testing Spring WebFlux server endpoints via
WebTestClient
.Contains built-in
RequestBuilder
implementations.Contains built-in
ResultMatcher
and ResultHandler
implementations.Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
Multipart resolution framework for handling file uploads.
Support classes for the multipart resolution framework.
Provides a foundation for both the reactive client and server subpackages.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.Classes supporting the
org.springframework.web.reactive.function.client
package.Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.Abstractions and support classes for reactive WebSocket interactions.
Core interfaces and classes for Spring's generic, reactive web support.
Implementations to adapt to the underlying
org.springframework.http.client.reactive
reactive HTTP adapter
and HttpHandler
.Support for creating a client proxy for an HTTP service annotated with
HttpExchange
methods.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Provides the types that make up Spring's functional web framework for Servlet environments.
Common abstractions and Spring configuration support for WebSocket applications.
Support for annotation-based WebSocket setup in configuration classes.
Miscellaneous web utility classes, such as HTML escaping and cookie handling.
Dedicated support for matching HTTP request paths.
-
Uses of MultiValueMap in org.springframework.core.annotation
Methods in org.springframework.core.annotation that return MultiValueMapModifier and TypeMethodDescriptionstatic MultiValueMap<String,
Object> AnnotatedElementUtils.getAllAnnotationAttributes
(AnnotatedElement element, String annotationName) Get the annotation attributes of all annotations of the specifiedannotationName
in the annotation hierarchy above the suppliedAnnotatedElement
and store the results in aMultiValueMap
.static MultiValueMap<String,
Object> AnnotatedElementUtils.getAllAnnotationAttributes
(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the annotation attributes of all annotations of the specifiedannotationName
in the annotation hierarchy above the suppliedAnnotatedElement
and store the results in aMultiValueMap
.Methods in org.springframework.core.annotation that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionstatic <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(Function<MultiValueMap<String, Object>, MultiValueMap<String, Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.static <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.Method parameters in org.springframework.core.annotation with type arguments of type MultiValueMapModifier and TypeMethodDescriptionstatic <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(Function<MultiValueMap<String, Object>, MultiValueMap<String, Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.static <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(Function<MultiValueMap<String, Object>, MultiValueMap<String, Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map. -
Uses of MultiValueMap in org.springframework.core.type
Methods in org.springframework.core.type that return MultiValueMapModifier and TypeMethodDescriptiondefault 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.StandardAnnotationMetadata.getAllAnnotationAttributes
(String annotationName, boolean classValuesAsString) StandardMethodMetadata.getAllAnnotationAttributes
(String annotationName, boolean classValuesAsString) -
Uses of MultiValueMap in org.springframework.http
Classes in org.springframework.http that implement MultiValueMapModifier and TypeClassDescriptionclass
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.Methods in org.springframework.http with parameters of type MultiValueMapModifier and TypeMethodDescriptionvoid
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 regularMap
formatting that also uses commas between entries.static HttpHeaders
HttpHeaders.readOnlyHttpHeaders
(MultiValueMap<String, String> headers) Apply a read-onlyHttpHeaders
wrapper around the given headers, if necessary.Constructors in org.springframework.http with parameters of type MultiValueMapModifierConstructorDescriptionHttpEntity
(MultiValueMap<String, String> headers) Create a newHttpEntity
with the given headers and no body.HttpEntity
(T body, MultiValueMap<String, String> headers) Create a newHttpEntity
with the given body and headers.HttpHeaders
(MultiValueMap<String, String> headers) Construct a newHttpHeaders
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, HttpStatusCode status) Create aResponseEntity
with headers and a status code.ResponseEntity
(T body, MultiValueMap<String, String> headers, int rawStatus) Create aResponseEntity
with a body, headers, and a raw status code.ResponseEntity
(T body, MultiValueMap<String, String> headers, HttpStatusCode statusCode) Create aResponseEntity
with a body, headers, and a status code. -
Uses of MultiValueMap in org.springframework.http.client
Methods in org.springframework.http.client that return MultiValueMapModifier and TypeMethodDescriptionMultipartBodyBuilder.build()
Return aMultiValueMap
with the configured parts. -
Uses of MultiValueMap in org.springframework.http.client.reactive
Methods in org.springframework.http.client.reactive that return MultiValueMapModifier and TypeMethodDescriptionAbstractClientHttpRequest.getCookies()
ClientHttpRequest.getCookies()
Return a mutable map of request cookies to send to the server.ClientHttpRequestDecorator.getCookies()
ClientHttpResponse.getCookies()
Return a read-only map of response cookies received from the server.ClientHttpResponseDecorator.getCookies()
-
Uses of MultiValueMap in org.springframework.http.codec
Methods in org.springframework.http.codec that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.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) Methods in org.springframework.http.codec with parameters of type MultiValueMapModifier and TypeMethodDescriptionprotected String
FormHttpMessageWriter.serializeForm
(MultiValueMap<String, String> formData, Charset charset) Method parameters in org.springframework.http.codec with type arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
FormHttpMessageWriter.write
(Publisher<? extends MultiValueMap<String, String>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) -
Uses of MultiValueMap in org.springframework.http.codec.multipart
Methods in org.springframework.http.codec.multipart that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionMultipartHttpMessageWriter.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) Method parameters in org.springframework.http.codec.multipart with type arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
MultipartHttpMessageWriter.write
(Publisher<? extends MultiValueMap<String, ?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) Constructor parameters in org.springframework.http.codec.multipart with type arguments of type MultiValueMapModifierConstructorDescriptionMultipartHttpMessageWriter
(Supplier<List<HttpMessageWriter<?>>> partWritersSupplier, HttpMessageWriter<MultiValueMap<String, String>> formWriter) Constructor with a supplier for an 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.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. -
Uses of MultiValueMap in org.springframework.http.converter
Methods in org.springframework.http.converter that return MultiValueMapModifier and TypeMethodDescriptionFormHttpMessageConverter.read
(Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) Methods in org.springframework.http.converter with parameters of type MultiValueMapModifier and TypeMethodDescriptionprotected String
FormHttpMessageConverter.serializeForm
(MultiValueMap<String, Object> formData, Charset charset) void
FormHttpMessageConverter.write
(MultiValueMap<String, ?> map, MediaType contentType, HttpOutputMessage outputMessage) Method parameters in org.springframework.http.converter with type arguments of type MultiValueMapModifier and TypeMethodDescriptionFormHttpMessageConverter.read
(Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) -
Uses of MultiValueMap in org.springframework.http.server
Methods in org.springframework.http.server that return MultiValueMapModifier and TypeMethodDescriptionPathContainer.PathSegment.parameters()
Path parameters associated with this path segment. -
Uses of MultiValueMap in org.springframework.http.server.reactive
Methods in org.springframework.http.server.reactive that return MultiValueMapModifier and TypeMethodDescriptionAbstractServerHttpRequest.getCookies()
AbstractServerHttpResponse.getCookies()
ServerHttpRequest.getCookies()
Return a read-only map of cookies sent by the client.ServerHttpRequestDecorator.getCookies()
ServerHttpResponse.getCookies()
Return a mutable map with the cookies to send to the server.ServerHttpResponseDecorator.getCookies()
AbstractServerHttpRequest.getQueryParams()
ServerHttpRequest.getQueryParams()
Return a read-only map with parsed and decoded query parameter values.ServerHttpRequestDecorator.getQueryParams()
protected abstract MultiValueMap<String,
HttpCookie> AbstractServerHttpRequest.initCookies()
Obtain the cookies from the underlying "native" request and adapt those to anHttpCookie
map.protected MultiValueMap<String,
String> AbstractServerHttpRequest.initQueryParams()
A method for parsing of the query into name-value pairs.Constructors in org.springframework.http.server.reactive with parameters of type MultiValueMapModifierConstructorDescriptionAbstractServerHttpRequest
(HttpMethod method, URI uri, String contextPath, MultiValueMap<String, String> headers) Constructor with the method, URI and headers for the request. -
Uses of MultiValueMap in org.springframework.http.support
Classes in org.springframework.http.support that implement MultiValueMapModifier and TypeClassDescriptionfinal class
MultiValueMap
implementation for wrapping Apache HttpComponents HttpClient headers.final class
MultiValueMap
implementation for wrapping Jetty HTTP headers.final class
MultiValueMap
implementation for wrapping Netty 4 HTTP headers.final class
MultiValueMap
implementation for wrapping Netty HTTP headers.Methods in org.springframework.http.support with parameters of type MultiValueMapModifier and TypeMethodDescriptionvoid
HttpComponentsHeadersAdapter.addAll
(MultiValueMap<String, String> values) void
JettyHeadersAdapter.addAll
(MultiValueMap<String, String> values) void
Netty4HeadersAdapter.addAll
(MultiValueMap<String, String> values) void
Netty5HeadersAdapter.addAll
(MultiValueMap<String, String> values) -
Uses of MultiValueMap in org.springframework.messaging.handler.invocation.reactive
Methods in org.springframework.messaging.handler.invocation.reactive that return MultiValueMapModifier and TypeMethodDescriptionAbstractMethodMessageHandler.getDestinationLookup()
Return a read-only multi-value map with a direct lookup of mappings, (e.g. -
Uses of MultiValueMap in org.springframework.messaging.simp.broker
Methods in org.springframework.messaging.simp.broker that return MultiValueMapModifier and TypeMethodDescriptionfinal MultiValueMap<String,
String> AbstractSubscriptionRegistry.findSubscriptions
(Message<?> message) 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) -
Uses of MultiValueMap in org.springframework.messaging.simp.stomp
Classes in org.springframework.messaging.simp.stomp that implement MultiValueMapMethods in org.springframework.messaging.simp.stomp with parameters of type MultiValueMapModifier and TypeMethodDescriptionvoid
StompHeaders.addAll
(MultiValueMap<String, String> values) StompDecoder.decode
(ByteBuffer byteBuffer, MultiValueMap<String, String> partialMessageHeaders) Decodes one or more STOMP frames from the givenbuffer
and returns a list ofMessages
. -
Uses of MultiValueMap in org.springframework.messaging.support
Methods in org.springframework.messaging.support with parameters of type MultiValueMapModifier and TypeMethodDescriptionvoid
NativeMessageHeaderAccessor.addNativeHeaders
(MultiValueMap<String, String> headers) Add the specified native headers to existing values. -
Uses of MultiValueMap in org.springframework.mock.http.client.reactive
Methods in org.springframework.mock.http.client.reactive that return MultiValueMap -
Uses of MultiValueMap in org.springframework.mock.http.server.reactive
Methods in org.springframework.mock.http.server.reactive that return MultiValueMapModifier and TypeMethodDescriptionprotected MultiValueMap<String,
HttpCookie> MockServerHttpRequest.initCookies()
Methods in org.springframework.mock.http.server.reactive with parameters of type MultiValueMapModifier and TypeMethodDescriptionMockServerHttpRequest.BaseBuilder.cookies
(MultiValueMap<String, HttpCookie> cookies) Add the given cookies.MockServerHttpRequest.BaseBuilder.headers
(MultiValueMap<String, String> headers) Add the given header values.MockServerHttpRequest.BaseBuilder.queryParams
(MultiValueMap<String, String> params) Add the given query parameters and values. -
Uses of MultiValueMap in org.springframework.mock.web
Methods in org.springframework.mock.web that return MultiValueMap -
Uses of MultiValueMap in org.springframework.mock.web.reactive.function.server
Methods in org.springframework.mock.web.reactive.function.server that return MultiValueMapMethods in org.springframework.mock.web.reactive.function.server that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.core.publisher.Mono<MultiValueMap<String,
String>> MockServerRequest.formData()
reactor.core.publisher.Mono<MultiValueMap<String,
Part>> MockServerRequest.multipartData()
Methods in org.springframework.mock.web.reactive.function.server with parameters of type MultiValueMapModifier and TypeMethodDescriptionMockServerRequest.Builder.cookies
(MultiValueMap<String, HttpCookie> cookies) MockServerRequest.Builder.queryParams
(MultiValueMap<String, String> queryParams) -
Uses of MultiValueMap in org.springframework.test.web.client.match
Methods in org.springframework.test.web.client.match with parameters of type MultiValueMapModifier and TypeMethodDescriptionContentRequestMatchers.formData
(MultiValueMap<String, String> expected) Parse the body as form data and compare to the givenMultiValueMap
.ContentRequestMatchers.multipartData
(MultiValueMap<String, ?> expectedMap) Parse the body as multipart data and assert it contains exactly the values from the givenMultiValueMap
. -
Uses of MultiValueMap in org.springframework.test.web.client.response
Methods in org.springframework.test.web.client.response with parameters of type MultiValueMapModifier and TypeMethodDescriptionDefaultResponseCreator.cookies
(MultiValueMap<String, ResponseCookie> multiValueMap) Copy all cookies from the givenMultiValueMap
. -
Uses of MultiValueMap in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server that return MultiValueMapModifier and TypeMethodDescriptionExchangeResult.getResponseCookies()
Return response cookies received from the server.Method parameters in org.springframework.test.web.reactive.server with type arguments of type MultiValueMapModifier and TypeMethodDescriptionWebTestClient.RequestHeadersSpec.cookies
(Consumer<MultiValueMap<String, String>> cookiesConsumer) Manipulate this request's cookies with the given consumer.WebTestClient.Builder.defaultCookies
(Consumer<MultiValueMap<String, String>> cookiesConsumer) Manipulate the default cookies with the given consumer. -
Uses of MultiValueMap in org.springframework.test.web.servlet.request
Methods in org.springframework.test.web.servlet.request with parameters of type MultiValueMapModifier and TypeMethodDescriptionMockHttpServletRequestBuilder.params
(MultiValueMap<String, String> params) Variant ofMockHttpServletRequestBuilder.param(String, String...)
with aMultiValueMap
.MockHttpServletRequestBuilder.queryParams
(MultiValueMap<String, String> params) Append to the query string and also add to therequest parameters
map. -
Uses of MultiValueMap in org.springframework.test.web.servlet.result
Methods in org.springframework.test.web.servlet.result that return MultiValueMapModifier and TypeMethodDescriptionprotected final MultiValueMap<String,
String> PrintingResultHandler.getParamsMultiValueMap
(MockHttpServletRequest request) -
Uses of MultiValueMap in org.springframework.util
Classes in org.springframework.util that implement MultiValueMapModifier and TypeClassDescriptionclass
LinkedMultiValueMap<K,
V> Simple implementation ofMultiValueMap
that wraps aLinkedHashMap
, storing multiple values in anArrayList
.class
MultiValueMapAdapter<K,
V> Adapts a givenMap
to theMultiValueMap
contract.Methods in org.springframework.util that return MultiValueMapModifier and TypeMethodDescriptionstatic <K,
V> MultiValueMap<K, V> CollectionUtils.toMultiValueMap
(Map<K, List<V>> targetMap) Adapt aMap<K, List<V>>
to anMultiValueMap<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.Methods in org.springframework.util with parameters of type MultiValueMapModifier and TypeMethodDescriptionvoid
MultiValueMap.addAll
(MultiValueMap<K, V> values) Add all the values of the givenMultiValueMap
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. -
Uses of MultiValueMap in org.springframework.web.multipart
Methods in org.springframework.web.multipart that return MultiValueMapModifier and TypeMethodDescriptionMultipartRequest.getMultiFileMap()
Return aMultiValueMap
of the multipart files contained in this request. -
Uses of MultiValueMap in org.springframework.web.multipart.support
Methods in org.springframework.web.multipart.support that return MultiValueMapModifier and TypeMethodDescriptionAbstractMultipartHttpServletRequest.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.Methods in org.springframework.web.multipart.support with parameters of type MultiValueMapModifier and TypeMethodDescriptionprotected final void
AbstractMultipartHttpServletRequest.setMultipartFiles
(MultiValueMap<String, MultipartFile> multipartFiles) Set a Map with parameter names as keys and list of MultipartFile objects as values.Constructors in org.springframework.web.multipart.support with parameters of type MultiValueMapModifierConstructorDescriptionDefaultMultipartHttpServletRequest
(HttpServletRequest request, MultiValueMap<String, MultipartFile> mpFiles, Map<String, String[]> mpParams, Map<String, String> mpParamContentTypes) Wrap the given HttpServletRequest in a MultipartHttpServletRequest. -
Uses of MultiValueMap in org.springframework.web.reactive.function
Methods in org.springframework.web.reactive.function that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionstatic BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,
String>>, ReactiveHttpInputMessage> BodyExtractors.toFormData()
Extractor to read form data intoMultiValueMap<String, String>
.static BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,
Part>>, ServerHttpRequest> BodyExtractors.toMultipartData()
Extractor to read multipart data into aMultiValueMap<String, Part>
.Methods in org.springframework.web.reactive.function with parameters of type MultiValueMapModifier and TypeMethodDescriptionstatic BodyInserters.FormInserter<String>
BodyInserters.fromFormData
(MultiValueMap<String, String> formData) Return aBodyInserters.FormInserter
to write the givenMultiValueMap
as URL-encoded form data.BodyInserters.fromMultipartData
(MultiValueMap<String, ?> multipartData) Return aBodyInserters.MultipartInserter
to write the givenMultiValueMap
as multipart data.BodyInserters.FormInserter.with
(MultiValueMap<String, T> values) Adds the specified values to the form. -
Uses of MultiValueMap in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client that return MultiValueMapModifier and TypeMethodDescriptionClientRequest.cookies()
Return the cookies of this request.ClientResponse.cookies()
Return the cookies of this response.Method parameters in org.springframework.web.reactive.function.client with type arguments of type MultiValueMapModifier and TypeMethodDescriptionClientRequest.Builder.cookies
(Consumer<MultiValueMap<String, String>> cookiesConsumer) Manipulate this request's cookies with the given consumer.ClientResponse.Builder.cookies
(Consumer<MultiValueMap<String, ResponseCookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.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.WebClient.Builder.defaultCookies
(Consumer<MultiValueMap<String, String>> cookiesConsumer) Provides access to everyWebClient.Builder.defaultCookie(String, String...)
declared so far with the possibility to add, replace, or remove. -
Uses of MultiValueMap in org.springframework.web.reactive.function.client.support
Methods in org.springframework.web.reactive.function.client.support that return MultiValueMap -
Uses of MultiValueMap in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return MultiValueMapModifier and TypeMethodDescriptionServerRequest.cookies()
Get the cookies of this request.ServerResponse.cookies()
Return the cookies of this response.ServerRequest.queryParams()
Get all query parameters for this request.Methods in org.springframework.web.reactive.function.server that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.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.Method parameters in org.springframework.web.reactive.function.server with type arguments of type MultiValueMapModifier and TypeMethodDescriptionEntityResponse.Builder.cookies
(Consumer<MultiValueMap<String, ResponseCookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.RenderingResponse.Builder.cookies
(Consumer<MultiValueMap<String, ResponseCookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.ServerRequest.Builder.cookies
(Consumer<MultiValueMap<String, HttpCookie>> cookiesConsumer) Manipulate this request's cookies with the given consumer.ServerResponse.HeadersBuilder.cookies
(Consumer<MultiValueMap<String, ResponseCookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer. -
Uses of MultiValueMap in org.springframework.web.reactive.function.server.support
Methods in org.springframework.web.reactive.function.server.support that return MultiValueMapModifier and TypeMethodDescriptionServerRequestWrapper.cookies()
ServerRequestWrapper.queryParams()
Methods in org.springframework.web.reactive.function.server.support that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.core.publisher.Mono<MultiValueMap<String,
String>> ServerRequestWrapper.formData()
reactor.core.publisher.Mono<MultiValueMap<String,
Part>> ServerRequestWrapper.multipartData()
-
Uses of MultiValueMap in org.springframework.web.reactive.socket
Methods in org.springframework.web.reactive.socket that return MultiValueMapModifier and TypeMethodDescriptionHandshakeInfo.getCookies()
For a server session this returns the server request cookies from the handshake request.Constructors in org.springframework.web.reactive.socket with parameters of type MultiValueMapModifierConstructorDescriptionHandshakeInfo
(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. -
Uses of MultiValueMap in org.springframework.web.server
Methods in org.springframework.web.server that return MultiValueMapModifier and TypeMethodDescriptionUnsatisfiedRequestParameterException.getRequestParams()
Return the actual request parameters.Methods in org.springframework.web.server that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.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()
Constructors in org.springframework.web.server with parameters of type MultiValueMapModifierConstructorDescriptionUnsatisfiedRequestParameterException
(List<String> conditions, MultiValueMap<String, String> params) -
Uses of MultiValueMap in org.springframework.web.server.adapter
Methods in org.springframework.web.server.adapter that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionreactor.core.publisher.Mono<MultiValueMap<String,
String>> DefaultServerWebExchange.getFormData()
reactor.core.publisher.Mono<MultiValueMap<String,
Part>> DefaultServerWebExchange.getMultipartData()
-
Uses of MultiValueMap in org.springframework.web.service.invoker
Methods in org.springframework.web.service.invoker that return MultiValueMapModifier and TypeMethodDescriptionHttpRequestValues.getCookies()
Return the cookies for the request, or an empty map.Methods in org.springframework.web.service.invoker with parameters of type MultiValueMapModifier and TypeMethodDescriptionprotected HttpRequestValues
HttpRequestValues.Builder.createRequestValues
(HttpMethod httpMethod, URI uri, String uriTemplate, Map<String, String> uriVars, HttpHeaders headers, MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue) protected ReactiveHttpRequestValues
ReactiveHttpRequestValues.Builder.createRequestValues
(HttpMethod httpMethod, URI uri, String uriTemplate, Map<String, String> uriVars, HttpHeaders headers, MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue) Constructors in org.springframework.web.service.invoker with parameters of type MultiValueMapModifierConstructorDescriptionprotected
HttpRequestValues
(HttpMethod httpMethod, URI uri, String uriTemplate, Map<String, String> uriVariables, HttpHeaders headers, MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue) -
Uses of MultiValueMap in org.springframework.web.servlet
Methods in org.springframework.web.servlet that return MultiValueMapModifier and TypeMethodDescriptionFlashMap.getTargetRequestParams()
Return the parameters identifying the target request, or an empty map.Methods in org.springframework.web.servlet with parameters of type MultiValueMapModifier and TypeMethodDescriptionFlashMap.addTargetRequestParams
(MultiValueMap<String, String> params) Provide request parameters identifying the request for this FlashMap. -
Uses of MultiValueMap in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function that return MultiValueMapModifier and TypeMethodDescriptionServerRequest.cookies()
Get the cookies of this request.ServerResponse.cookies()
Return the cookies of this response.ServerRequest.multipartData()
Get the parts of a multipart request, provided the Content-Type is"multipart/form-data"
, or an exception otherwise.ServerRequest.params()
Get all parameters for this request.Method parameters in org.springframework.web.servlet.function with type arguments of type MultiValueMapModifier and TypeMethodDescriptionEntityResponse.Builder.cookies
(Consumer<MultiValueMap<String, Cookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.RenderingResponse.Builder.cookies
(Consumer<MultiValueMap<String, Cookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.ServerRequest.Builder.cookies
(Consumer<MultiValueMap<String, Cookie>> cookiesConsumer) Manipulate this request's cookies with the given consumer.ServerResponse.HeadersBuilder.cookies
(Consumer<MultiValueMap<String, Cookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.ServerRequest.Builder.params
(Consumer<MultiValueMap<String, String>> paramsConsumer) Manipulate this request's parameters with the given consumer. -
Uses of MultiValueMap in org.springframework.web.socket
Classes in org.springframework.web.socket that implement MultiValueMapModifier and TypeClassDescriptionclass
AnHttpHeaders
variant that adds support for the HTTP headers defined by the WebSocket specification RFC 6455. -
Uses of MultiValueMap in org.springframework.web.socket.config.annotation
Methods in org.springframework.web.socket.config.annotation that return MultiValueMapModifier and TypeMethodDescriptionprotected MultiValueMap<HttpRequestHandler,
String> ServletWebSocketHandlerRegistration.createMappings()
WebMvcStompWebSocketEndpointRegistration.getMappings()
Methods in org.springframework.web.socket.config.annotation with parameters of type MultiValueMapModifier and TypeMethodDescriptionprotected 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) -
Uses of MultiValueMap in org.springframework.web.util
Methods in org.springframework.web.util that return MultiValueMapModifier and TypeMethodDescriptionUrlPathHelper.decodeMatrixVariables
(HttpServletRequest request, MultiValueMap<String, String> vars) Decode the given matrix variables viaUrlPathHelper.decodeRequestString(jakarta.servlet.http.HttpServletRequest, java.lang.String)
unlessUrlPathHelper.setUrlDecode(boolean)
is set totrue
in which case it is assumed the URL path from which the variables were extracted is already decoded through a call toUrlPathHelper.getLookupPathForRequest(HttpServletRequest)
.static MultiValueMap<String,
String> UriUtils.encodeQueryParams
(MultiValueMap<String, String> params) Encode the query parameters from the givenMultiValueMap
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.Methods in org.springframework.web.util with parameters of type MultiValueMapModifier and TypeMethodDescriptionUrlPathHelper.decodeMatrixVariables
(HttpServletRequest request, MultiValueMap<String, String> vars) Decode the given matrix variables viaUrlPathHelper.decodeRequestString(jakarta.servlet.http.HttpServletRequest, java.lang.String)
unlessUrlPathHelper.setUrlDecode(boolean)
is set totrue
in which case it is assumed the URL path from which the variables were extracted is already decoded through a call toUrlPathHelper.getLookupPathForRequest(HttpServletRequest)
.static MultiValueMap<String,
String> UriUtils.encodeQueryParams
(MultiValueMap<String, String> params) Encode the query parameters from the givenMultiValueMap
with UTF-8.UriBuilder.queryParams
(MultiValueMap<String, String> params) Add multiple query parameters and values.UriComponentsBuilder.queryParams
(MultiValueMap<String, String> params) Add multiple query parameters and values.UriBuilder.replaceQueryParams
(MultiValueMap<String, String> params) Set the query parameter values after removing all existing ones.UriComponentsBuilder.replaceQueryParams
(MultiValueMap<String, String> params) Set the query parameter values after removing all existing ones. -
Uses of MultiValueMap in org.springframework.web.util.pattern
Methods in org.springframework.web.util.pattern that return types with arguments of type MultiValueMapModifier and TypeMethodDescriptionPathPattern.PathMatchInfo.getMatrixVariables()
Return maps of matrix variables per path segment, keyed off by URI variable name.PathPattern.PathRemainingMatchInfo.getMatrixVariables()
Return the path parameters for each bound variable.