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