接口的使用
org.springframework.util.MultiValueMap
使用MultiValueMap的程序包 程序包 说明 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 includingClientHttpRequestandClientHttpResponseas well as aClientHttpConnector.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 aServerHttpRequestandServerHttpResponsealong with anHttpHandlerfor 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 ofMessagealong with a MessageBuilder and MessageHeaderAccessor for building and working with messages and message headers, as well as variousMessageChannelimplementations 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-inRequestMatcherimplementations.org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.org.springframework.test.web.servlet.request Contains built-inRequestBuilderimplementations.org.springframework.test.web.servlet.result Contains built-inResultMatcherandResultHandlerimplementations.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 reactiveWebClientthat builds on top of theorg.springframework.http.client.reactivereactive HTTP adapter layer.org.springframework.web.reactive.function.client.support Classes supporting theorg.springframework.web.reactive.function.clientpackage.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 theorg.springframework.web.reactive.function.serverpackage.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 underlyingorg.springframework.http.client.reactivereactive HTTP adapter andHttpHandler.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.org.springframework.core.annotation中MultiValueMap的使用
返回MultiValueMap的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 static MultiValueMap<String,Object>AnnotatedElementUtils. getAllAnnotationAttributes(AnnotatedElement element, String annotationName)Get the annotation attributes of all annotations of the specifiedannotationNamein the annotation hierarchy above the suppliedAnnotatedElementand 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 specifiedannotationNamein the annotation hierarchy above the suppliedAnnotatedElementand store the results in aMultiValueMap.返回变量类型为MultiValueMap的类型的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 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 newCollectorthat accumulates merged annotations to aMultiValueMapwith 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 newCollectorthat accumulates merged annotations to aMultiValueMapwith items added from each merged annotation as a map.类型变量类型为MultiValueMap的org.springframework.core.annotation中的方法参数 修饰符和类型 方法 说明 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 newCollectorthat accumulates merged annotations to aMultiValueMapwith 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 newCollectorthat accumulates merged annotations to aMultiValueMapwith items added from each merged annotation as a map.org.springframework.core.type中MultiValueMap的使用
返回MultiValueMap的org.springframework.core.type中的方法 修饰符和类型 方法 说明 default MultiValueMap<String,Object>AnnotatedTypeMetadata. getAllAnnotationAttributes(String annotationName)Retrieve all attributes of all annotations of the given type, if any (i.e. if defined on the underlying element, as direct annotation or meta-annotation).default MultiValueMap<String,Object>AnnotatedTypeMetadata. getAllAnnotationAttributes(String annotationName, boolean classValuesAsString)Retrieve all attributes of all annotations of the given type, if any (i.e. if defined on the underlying element, as direct annotation or meta-annotation).MultiValueMap<String,Object>StandardAnnotationMetadata. getAllAnnotationAttributes(String annotationName, boolean classValuesAsString)MultiValueMap<String,Object>StandardMethodMetadata. getAllAnnotationAttributes(String annotationName, boolean classValuesAsString)org.springframework.core.type.classreading中MultiValueMap的使用
返回MultiValueMap的org.springframework.core.type.classreading中的方法 修饰符和类型 方法 说明 MultiValueMap<String,Object>AnnotationMetadataReadingVisitor. getAllAnnotationAttributes(String annotationName, boolean classValuesAsString)已过时。MultiValueMap<String,Object>MethodMetadataReadingVisitor. getAllAnnotationAttributes(String annotationName, boolean classValuesAsString)已过时。org.springframework.http中MultiValueMap的使用
实现MultiValueMap的org.springframework.http中的类 修饰符和类型 类 说明 classHttpHeadersA 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.参数类型为MultiValueMap的org.springframework.http中的方法 修饰符和类型 方法 说明 voidHttpHeaders. addAll(MultiValueMap<String,String> values)static StringHttpHeaders. 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 regularMapformatting that also uses commas between entries.参数类型为MultiValueMap的org.springframework.http中的构造器 构造器 说明 HttpEntity(MultiValueMap<String,String> headers)Create a newHttpEntitywith the given headers and no body.HttpEntity(T body, MultiValueMap<String,String> headers)Create a newHttpEntitywith the given body and headers.HttpHeaders(MultiValueMap<String,String> headers)Construct a newHttpHeadersinstance 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 newHttpEntitywith the given headers and status code, and no body.ResponseEntity(T body, MultiValueMap<String,String> headers, HttpStatus status)Create a newHttpEntitywith the given body, headers, and status code.org.springframework.http.client中MultiValueMap的使用
返回MultiValueMap的org.springframework.http.client中的方法 修饰符和类型 方法 说明 MultiValueMap<String,HttpEntity<?>>MultipartBodyBuilder. build()Return aMultiValueMapwith the configured parts.org.springframework.http.client.reactive中MultiValueMap的使用
返回MultiValueMap的org.springframework.http.client.reactive中的方法 修饰符和类型 方法 说明 MultiValueMap<String,HttpCookie>AbstractClientHttpRequest. getCookies()MultiValueMap<String,HttpCookie>ClientHttpRequest. getCookies()Return a mutable map of request cookies to send to the server.MultiValueMap<String,HttpCookie>ClientHttpRequestDecorator. getCookies()MultiValueMap<String,ResponseCookie>ClientHttpResponse. getCookies()Return a read-only map of response cookies received from the server.MultiValueMap<String,ResponseCookie>ClientHttpResponseDecorator. getCookies()org.springframework.http.codec中MultiValueMap的使用
返回变量类型为MultiValueMap的类型的org.springframework.http.codec中的方法 修饰符和类型 方法 说明 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)参数类型为MultiValueMap的org.springframework.http.codec中的方法 修饰符和类型 方法 说明 protected StringFormHttpMessageWriter. serializeForm(MultiValueMap<String,String> formData, Charset charset)类型变量类型为MultiValueMap的org.springframework.http.codec中的方法参数 修饰符和类型 方法 说明 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)org.springframework.http.codec.multipart中MultiValueMap的使用
返回变量类型为MultiValueMap的类型的org.springframework.http.codec.multipart中的方法 修饰符和类型 方法 说明 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)类型变量类型为MultiValueMap的org.springframework.http.codec.multipart中的方法参数 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>MultipartHttpMessageWriter. write(org.reactivestreams.Publisher<? extends MultiValueMap<String,?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String,Object> hints)类型变量类型为MultiValueMap的org.springframework.http.codec.multipart中的构造器参数 构造器 说明 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.org.springframework.http.converter中MultiValueMap的使用
返回MultiValueMap的org.springframework.http.converter中的方法 修饰符和类型 方法 说明 MultiValueMap<String,String>FormHttpMessageConverter. read(Class<? extends MultiValueMap<String,?>> clazz, HttpInputMessage inputMessage)参数类型为MultiValueMap的org.springframework.http.converter中的方法 修饰符和类型 方法 说明 protected StringFormHttpMessageConverter. serializeForm(MultiValueMap<String,Object> formData, Charset charset)voidFormHttpMessageConverter. write(MultiValueMap<String,?> map, MediaType contentType, HttpOutputMessage outputMessage)类型变量类型为MultiValueMap的org.springframework.http.converter中的方法参数 修饰符和类型 方法 说明 MultiValueMap<String,String>FormHttpMessageConverter. read(Class<? extends MultiValueMap<String,?>> clazz, HttpInputMessage inputMessage)org.springframework.http.server中MultiValueMap的使用
返回MultiValueMap的org.springframework.http.server中的方法 修饰符和类型 方法 说明 MultiValueMap<String,String>PathContainer.PathSegment. parameters()Path parameters associated with this path segment.org.springframework.http.server.reactive中MultiValueMap的使用
返回MultiValueMap的org.springframework.http.server.reactive中的方法 修饰符和类型 方法 说明 MultiValueMap<String,HttpCookie>AbstractServerHttpRequest. getCookies()MultiValueMap<String,ResponseCookie>AbstractServerHttpResponse. getCookies()MultiValueMap<String,HttpCookie>ServerHttpRequest. getCookies()Return a read-only map of cookies sent by the client.MultiValueMap<String,HttpCookie>ServerHttpRequestDecorator. getCookies()MultiValueMap<String,ResponseCookie>ServerHttpResponse. getCookies()Return a mutable map with the cookies to send to the server.MultiValueMap<String,ResponseCookie>ServerHttpResponseDecorator. getCookies()MultiValueMap<String,String>AbstractServerHttpRequest. getQueryParams()MultiValueMap<String,String>ServerHttpRequest. getQueryParams()Return a read-only map with parsed and decoded query parameter values.MultiValueMap<String,String>ServerHttpRequestDecorator. getQueryParams()protected abstract MultiValueMap<String,HttpCookie>AbstractServerHttpRequest. initCookies()Obtain the cookies from the underlying "native" request and adapt those to anHttpCookiemap.protected MultiValueMap<String,String>AbstractServerHttpRequest. initQueryParams()A method for parsing of the query into name-value pairs.org.springframework.messaging.handler.invocation.reactive中MultiValueMap的使用
返回MultiValueMap的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 MultiValueMap<String,T>AbstractMethodMessageHandler. getDestinationLookup()Return a read-only multi-value map with a direct lookup of mappings, (e.g. for non-pattern destinations).org.springframework.messaging.simp.broker中MultiValueMap的使用
返回MultiValueMap的org.springframework.messaging.simp.broker中的方法 修饰符和类型 方法 说明 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)org.springframework.messaging.simp.stomp中MultiValueMap的使用
实现MultiValueMap的org.springframework.messaging.simp.stomp中的类 修饰符和类型 类 说明 classStompHeadersRepresents STOMP frame headers.参数类型为MultiValueMap的org.springframework.messaging.simp.stomp中的方法 修饰符和类型 方法 说明 voidStompHeaders. addAll(MultiValueMap<String,String> values)List<Message<byte[]>>StompDecoder. decode(ByteBuffer byteBuffer, MultiValueMap<String,String> partialMessageHeaders)Decodes one or more STOMP frames from the givenbufferand returns a list ofMessages.org.springframework.messaging.support中MultiValueMap的使用
参数类型为MultiValueMap的org.springframework.messaging.support中的方法 修饰符和类型 方法 说明 voidNativeMessageHeaderAccessor. addNativeHeaders(MultiValueMap<String,String> headers)Add the specified native headers to existing values.org.springframework.mock.http.client.reactive中MultiValueMap的使用
返回MultiValueMap的org.springframework.mock.http.client.reactive中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>MockClientHttpResponse. getCookies()org.springframework.mock.http.server.reactive中MultiValueMap的使用
返回MultiValueMap的org.springframework.mock.http.server.reactive中的方法 修饰符和类型 方法 说明 protected MultiValueMap<String,HttpCookie>MockServerHttpRequest. initCookies()参数类型为MultiValueMap的org.springframework.mock.http.server.reactive中的方法 修饰符和类型 方法 说明 BMockServerHttpRequest.BaseBuilder. cookies(MultiValueMap<String,HttpCookie> cookies)Add the given cookies.BMockServerHttpRequest.BaseBuilder. headers(MultiValueMap<String,String> headers)Add the given header values.BMockServerHttpRequest.BaseBuilder. queryParams(MultiValueMap<String,String> params)Add the given query parameters and values.org.springframework.mock.web中MultiValueMap的使用
返回MultiValueMap的org.springframework.mock.web中的方法 修饰符和类型 方法 说明 MultiValueMap<String,MultipartFile>MockMultipartHttpServletRequest. getMultiFileMap()org.springframework.mock.web.reactive.function.server中MultiValueMap的使用
返回MultiValueMap的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 MultiValueMap<String,HttpCookie>MockServerRequest. cookies()MultiValueMap<String,String>MockServerRequest. queryParams()返回变量类型为MultiValueMap的类型的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<MultiValueMap<String,String>>MockServerRequest. formData()reactor.core.publisher.Mono<MultiValueMap<String,Part>>MockServerRequest. multipartData()参数类型为MultiValueMap的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 MockServerRequest.BuilderMockServerRequest.Builder. cookies(MultiValueMap<String,HttpCookie> cookies)MockServerRequest.BuilderMockServerRequest.Builder. queryParams(MultiValueMap<String,String> queryParams)org.springframework.test.web.client.match中MultiValueMap的使用
参数类型为MultiValueMap的org.springframework.test.web.client.match中的方法 修饰符和类型 方法 说明 RequestMatcherContentRequestMatchers. formData(MultiValueMap<String,String> expectedContent)Parse the body as form data and compare to the givenMultiValueMap.org.springframework.test.web.reactive.server中MultiValueMap的使用
返回MultiValueMap的org.springframework.test.web.reactive.server中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>ExchangeResult. getResponseCookies()Return response cookies received from the server.类型变量类型为MultiValueMap的org.springframework.test.web.reactive.server中的方法参数 修饰符和类型 方法 说明 SWebTestClient.RequestHeadersSpec. cookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)Manipulate this request's cookies with the given consumer.WebTestClient.BuilderWebTestClient.Builder. defaultCookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)Manipulate the default cookies with the given consumer.org.springframework.test.web.servlet.request中MultiValueMap的使用
参数类型为MultiValueMap的org.springframework.test.web.servlet.request中的方法 修饰符和类型 方法 说明 MockHttpServletRequestBuilderMockHttpServletRequestBuilder. params(MultiValueMap<String,String> params)Variant ofMockHttpServletRequestBuilder.param(String, String...)with aMultiValueMap.MockHttpServletRequestBuilderMockHttpServletRequestBuilder. queryParams(MultiValueMap<String,String> params)Append to the query string and also add to theMockHttpServletRequestBuilder.params(MultiValueMap)request parameters} map.org.springframework.test.web.servlet.result中MultiValueMap的使用
返回MultiValueMap的org.springframework.test.web.servlet.result中的方法 修饰符和类型 方法 说明 protected MultiValueMap<String,String>PrintingResultHandler. getParamsMultiValueMap(MockHttpServletRequest request)org.springframework.util中MultiValueMap的使用
实现MultiValueMap的org.springframework.util中的类 修饰符和类型 类 说明 classLinkedMultiValueMap<K,V>Simple implementation ofMultiValueMapthat wraps aLinkedHashMap, storing multiple values in aLinkedList.返回MultiValueMap的org.springframework.util中的方法 修饰符和类型 方法 说明 static <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.参数类型为MultiValueMap的org.springframework.util中的方法 修饰符和类型 方法 说明 voidLinkedMultiValueMap. addAll(MultiValueMap<K,V> values)voidMultiValueMap. addAll(MultiValueMap<K,V> values)Add all the values of the givenMultiValueMapto the current 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.org.springframework.web.multipart中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.multipart中的方法 修饰符和类型 方法 说明 MultiValueMap<String,MultipartFile>MultipartRequest. getMultiFileMap()Return aMultiValueMapof the multipart files contained in this request.org.springframework.web.multipart.commons中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.multipart.commons中的方法 修饰符和类型 方法 说明 MultiValueMap<String,MultipartFile>CommonsFileUploadSupport.MultipartParsingResult. getMultipartFiles()参数类型为MultiValueMap的org.springframework.web.multipart.commons中的方法 修饰符和类型 方法 说明 protected voidCommonsFileUploadSupport. cleanupFileItems(MultiValueMap<String,MultipartFile> multipartFiles)Cleanup the Spring MultipartFiles created during multipart parsing, potentially holding temporary data on disk.参数类型为MultiValueMap的org.springframework.web.multipart.commons中的构造器 构造器 说明 MultipartParsingResult(MultiValueMap<String,MultipartFile> mpFiles, Map<String,String[]> mpParams, Map<String,String> mpParamContentTypes)org.springframework.web.multipart.support中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.multipart.support中的方法 修饰符和类型 方法 说明 MultiValueMap<String,MultipartFile>AbstractMultipartHttpServletRequest. getMultiFileMap()protected MultiValueMap<String,MultipartFile>AbstractMultipartHttpServletRequest. getMultipartFiles()Obtain the MultipartFile Map for retrieval, lazily initializing it if necessary.参数类型为MultiValueMap的org.springframework.web.multipart.support中的方法 修饰符和类型 方法 说明 protected voidAbstractMultipartHttpServletRequest. setMultipartFiles(MultiValueMap<String,MultipartFile> multipartFiles)Set a Map with parameter names as keys and list of MultipartFile objects as values.参数类型为MultiValueMap的org.springframework.web.multipart.support中的构造器 构造器 说明 DefaultMultipartHttpServletRequest(HttpServletRequest request, MultiValueMap<String,MultipartFile> mpFiles, Map<String,String[]> mpParams, Map<String,String> mpParamContentTypes)Wrap the given HttpServletRequest in a MultipartHttpServletRequest.org.springframework.web.reactive.function中MultiValueMap的使用
返回变量类型为MultiValueMap的类型的org.springframework.web.reactive.function中的方法 修饰符和类型 方法 说明 static 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>.参数类型为MultiValueMap的org.springframework.web.reactive.function中的方法 修饰符和类型 方法 说明 static BodyInserters.FormInserter<String>BodyInserters. fromFormData(MultiValueMap<String,String> formData)Return aBodyInserters.FormInserterto write the givenMultiValueMapas URL-encoded form data.static BodyInserters.MultipartInserterBodyInserters. fromMultipartData(MultiValueMap<String,?> multipartData)Return aBodyInserters.MultipartInserterto write the givenMultiValueMapas multipart data.BodyInserters.FormInserter<T>BodyInserters.FormInserter. with(MultiValueMap<String,T> values)Adds the specified values to the form.org.springframework.web.reactive.function.client中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.reactive.function.client中的方法 修饰符和类型 方法 说明 MultiValueMap<String,String>ClientRequest. cookies()Return the cookies of this request.MultiValueMap<String,ResponseCookie>ClientResponse. cookies()Return the cookies of this response.类型变量类型为MultiValueMap的org.springframework.web.reactive.function.client中的方法参数 修饰符和类型 方法 说明 ClientRequest.BuilderClientRequest.Builder. cookies(Consumer<MultiValueMap<String,String>> cookiesConsumer)Manipulate this request's cookies with the given consumer.ClientResponse.BuilderClientResponse.Builder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer.SWebClient.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.BuilderWebClient.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.org.springframework.web.reactive.function.client.support中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.reactive.function.client.support中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>ClientResponseWrapper. cookies()org.springframework.web.reactive.function.server中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 MultiValueMap<String,HttpCookie>ServerRequest. cookies()Get the cookies of this request.MultiValueMap<String,ResponseCookie>ServerResponse. cookies()Return the cookies of this response.MultiValueMap<String,String>ServerRequest. queryParams()Get all query parameters for this request.返回变量类型为MultiValueMap的类型的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 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.类型变量类型为MultiValueMap的org.springframework.web.reactive.function.server中的方法参数 修饰符和类型 方法 说明 EntityResponse.Builder<T>EntityResponse.Builder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer.RenderingResponse.BuilderRenderingResponse.Builder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer.ServerRequest.BuilderServerRequest.Builder. cookies(Consumer<MultiValueMap<String,HttpCookie>> cookiesConsumer)Manipulate this request's cookies with the given consumer.BServerResponse.HeadersBuilder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer.org.springframework.web.reactive.function.server.support中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.reactive.function.server.support中的方法 修饰符和类型 方法 说明 MultiValueMap<String,HttpCookie>ServerRequestWrapper. cookies()MultiValueMap<String,String>ServerRequestWrapper. queryParams()返回变量类型为MultiValueMap的类型的org.springframework.web.reactive.function.server.support中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<MultiValueMap<String,String>>ServerRequestWrapper. formData()reactor.core.publisher.Mono<MultiValueMap<String,Part>>ServerRequestWrapper. multipartData()org.springframework.web.server中MultiValueMap的使用
返回变量类型为MultiValueMap的类型的org.springframework.web.server中的方法 修饰符和类型 方法 说明 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()org.springframework.web.server.adapter中MultiValueMap的使用
返回变量类型为MultiValueMap的类型的org.springframework.web.server.adapter中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<MultiValueMap<String,String>>DefaultServerWebExchange. getFormData()reactor.core.publisher.Mono<MultiValueMap<String,Part>>DefaultServerWebExchange. getMultipartData()org.springframework.web.servlet中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.servlet中的方法 修饰符和类型 方法 说明 MultiValueMap<String,String>FlashMap. getTargetRequestParams()Return the parameters identifying the target request, or an empty map.参数类型为MultiValueMap的org.springframework.web.servlet中的方法 修饰符和类型 方法 说明 FlashMapFlashMap. addTargetRequestParams(MultiValueMap<String,String> params)Provide request parameters identifying the request for this FlashMap.org.springframework.web.servlet.function中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.servlet.function中的方法 修饰符和类型 方法 说明 MultiValueMap<String,Cookie>ServerRequest. cookies()Get the cookies of this request.MultiValueMap<String,Cookie>ServerResponse. cookies()Return the cookies of this response.MultiValueMap<String,String>ServerRequest. params()Get all parameters for this request.类型变量类型为MultiValueMap的org.springframework.web.servlet.function中的方法参数 修饰符和类型 方法 说明 EntityResponse.Builder<T>EntityResponse.Builder. cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer.RenderingResponse.BuilderRenderingResponse.Builder. cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer.ServerRequest.BuilderServerRequest.Builder. cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)Manipulate this request's cookies with the given consumer.BServerResponse.HeadersBuilder. cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer.org.springframework.web.socket中MultiValueMap的使用
实现MultiValueMap的org.springframework.web.socket中的类 修饰符和类型 类 说明 classWebSocketHttpHeadersAnHttpHeadersvariant that adds support for the HTTP headers defined by the WebSocket specification RFC 6455.org.springframework.web.socket.config.annotation中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected MultiValueMap<HttpRequestHandler,String>ServletWebSocketHandlerRegistration. createMappings()MultiValueMap<HttpRequestHandler,String>WebMvcStompWebSocketEndpointRegistration. getMappings()参数类型为MultiValueMap的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 protected voidServletWebSocketHandlerRegistration. addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,String> mappings, SockJsService sockJsService, WebSocketHandler handler, String pathPattern)protected voidServletWebSocketHandlerRegistration. addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,String> mappings, WebSocketHandler webSocketHandler, HandshakeHandler handshakeHandler, HandshakeInterceptor[] interceptors, String path)org.springframework.web.util中MultiValueMap的使用
返回MultiValueMap的org.springframework.web.util中的方法 修饰符和类型 方法 说明 MultiValueMap<String,String>UrlPathHelper. decodeMatrixVariables(HttpServletRequest request, MultiValueMap<String,String> vars)Decode the given matrix variables viaUrlPathHelper.decodeRequestString(javax.servlet.http.HttpServletRequest, java.lang.String)unlessUrlPathHelper.setUrlDecode(boolean)is set totruein 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 givenMultiValueMapwith 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.参数类型为MultiValueMap的org.springframework.web.util中的方法 修饰符和类型 方法 说明 MultiValueMap<String,String>UrlPathHelper. decodeMatrixVariables(HttpServletRequest request, MultiValueMap<String,String> vars)Decode the given matrix variables viaUrlPathHelper.decodeRequestString(javax.servlet.http.HttpServletRequest, java.lang.String)unlessUrlPathHelper.setUrlDecode(boolean)is set totruein 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 givenMultiValueMapwith UTF-8.UriBuilderUriBuilder. queryParams(MultiValueMap<String,String> params)Add multiple query parameters and values.UriComponentsBuilderUriComponentsBuilder. queryParams(MultiValueMap<String,String> params)Add multiple query parameters and values.UriBuilderUriBuilder. replaceQueryParams(MultiValueMap<String,String> params)Set the query parameter values after removing all existing ones.UriComponentsBuilderUriComponentsBuilder. replaceQueryParams(MultiValueMap<String,String> params)Set the query parameter values after removing all existing ones.org.springframework.web.util.pattern中MultiValueMap的使用
返回变量类型为MultiValueMap的类型的org.springframework.web.util.pattern中的方法 修饰符和类型 方法 说明 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.