Uses of Interface
org.springframework.util.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.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 4.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
Modifier 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
.Modifier 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.Modifier 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
Modifier 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
Modifier 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.Modifier 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.ModifierConstructorDescriptionHttpEntity
(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 status) Create aResponseEntity
with a body, headers, and a status code. -
Uses of MultiValueMap in org.springframework.http.client
Modifier and TypeMethodDescriptionMultipartBodyBuilder.build()
Return aMultiValueMap
with the configured parts. -
Uses of MultiValueMap in org.springframework.http.client.reactive
Modifier 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
Modifier 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) Modifier and TypeMethodDescriptionprotected String
FormHttpMessageWriter.serializeForm
(MultiValueMap<String, String> formData, Charset charset) Modifier 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
Modifier 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) Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
MultipartHttpMessageWriter.write
(Publisher<? extends MultiValueMap<String, ?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) ModifierConstructorDescriptionMultipartHttpMessageWriter
(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
Modifier and TypeMethodDescriptionFormHttpMessageConverter.read
(Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) Modifier and TypeMethodDescriptionprotected String
FormHttpMessageConverter.serializeForm
(MultiValueMap<String, Object> formData, Charset charset) void
FormHttpMessageConverter.write
(MultiValueMap<String, ?> map, MediaType contentType, HttpOutputMessage outputMessage) Modifier and TypeMethodDescriptionFormHttpMessageConverter.read
(Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) -
Uses of MultiValueMap in org.springframework.http.server
Modifier and TypeMethodDescriptionPathContainer.PathSegment.parameters()
Path parameters associated with this path segment. -
Uses of MultiValueMap in org.springframework.http.server.reactive
Modifier 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.ModifierConstructorDescriptionAbstractServerHttpRequest
(URI uri, String contextPath, MultiValueMap<String, String> headers) Constructor with the URI and headers for the request. -
Uses of MultiValueMap in org.springframework.messaging.handler.invocation.reactive
Modifier 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
Modifier 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
Modifier 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
Modifier 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
-
Uses of MultiValueMap in org.springframework.mock.http.server.reactive
Modifier and TypeMethodDescriptionprotected MultiValueMap<String,
HttpCookie> MockServerHttpRequest.initCookies()
Modifier 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
-
Uses of MultiValueMap in org.springframework.mock.web.reactive.function.server
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<MultiValueMap<String,
String>> MockServerRequest.formData()
reactor.core.publisher.Mono<MultiValueMap<String,
Part>> MockServerRequest.multipartData()
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionDefaultResponseCreator.cookies
(MultiValueMap<String, ResponseCookie> multiValueMap) Copy all cookies from the givenMultiValueMap
. -
Uses of MultiValueMap in org.springframework.test.web.reactive.server
Modifier and TypeMethodDescriptionExchangeResult.getResponseCookies()
Return response cookies received from the server.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected final MultiValueMap<String,
String> PrintingResultHandler.getParamsMultiValueMap
(MockHttpServletRequest request) -
Uses of MultiValueMap in org.springframework.util
Modifier 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.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionMultipartRequest.getMultiFileMap()
Return aMultiValueMap
of the multipart files contained in this request. -
Uses of MultiValueMap in org.springframework.web.multipart.support
Modifier 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.Modifier 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.ModifierConstructorDescriptionDefaultMultipartHttpServletRequest
(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
Modifier 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>
.Modifier 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
Modifier and TypeMethodDescriptionClientRequest.cookies()
Return the cookies of this request.ClientResponse.cookies()
Return the cookies of this response.Modifier 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
-
Uses of MultiValueMap in org.springframework.web.reactive.function.server
Modifier 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.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionServerRequestWrapper.cookies()
ServerRequestWrapper.queryParams()
Modifier 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
Modifier and TypeMethodDescriptionHandshakeInfo.getCookies()
For a server session this returns the server request cookies from the handshake request.ModifierConstructorDescriptionHandshakeInfo
(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
Modifier and TypeMethodDescriptionUnsatisfiedRequestParameterException.getRequestParams()
Return the actual request parameters.Modifier 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()
ModifierConstructorDescriptionUnsatisfiedRequestParameterException
(List<String> conditions, MultiValueMap<String, String> params) -
Uses of MultiValueMap in org.springframework.web.server.adapter
Modifier 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
Modifier and TypeMethodDescriptionHttpRequestValues.getCookies()
Return the cookies for the request, or an empty map. -
Uses of MultiValueMap in org.springframework.web.servlet
Modifier and TypeMethodDescriptionFlashMap.getTargetRequestParams()
Return the parameters identifying the target request, or an empty map.Modifier 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
Modifier 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.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected MultiValueMap<HttpRequestHandler,
String> ServletWebSocketHandlerRegistration.createMappings()
WebMvcStompWebSocketEndpointRegistration.getMappings()
Modifier 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
Modifier 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.Modifier 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
Modifier 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.