Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
org.springframework.http.converter |
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
|
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.util |
Miscellaneous web utility classes, such as HTML escaping,
log4j initialization, and cookie handling.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpHeaders
Represents HTTP request and response headers, mapping string header names to list of string values.
|
Constructor and Description |
---|
HttpEntity(MultiValueMap<String,String> headers)
Create a new
HttpEntity with the given headers and no body. |
HttpEntity(T body,
MultiValueMap<String,String> headers)
Create a new
HttpEntity with the given body and headers. |
ResponseEntity(MultiValueMap<String,String> headers,
HttpStatus statusCode)
Create a new
HttpEntity with the given headers and status code, and no body. |
ResponseEntity(T body,
MultiValueMap<String,String> headers,
HttpStatus statusCode)
Create a new
HttpEntity with the given body, headers, and status code. |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
FormHttpMessageConverter.read(Class<? extends MultiValueMap<String,?>> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | Method and Description |
---|---|
void |
FormHttpMessageConverter.write(MultiValueMap<String,?> map,
MediaType contentType,
HttpOutputMessage outputMessage) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
FormHttpMessageConverter.read(Class<? extends MultiValueMap<String,?>> clazz,
HttpInputMessage inputMessage) |
Modifier and Type | 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(Map<K,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 |
---|---|
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<String,MultipartFile> |
MultipartRequest.getMultiFileMap()
Return a
MultiValueMap of the multipart files contained in this request. |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,MultipartFile> |
CommonsFileUploadSupport.MultipartParsingResult.getMultipartFiles() |
Modifier and Type | Method and Description |
---|---|
protected void |
CommonsFileUploadSupport.cleanupFileItems(MultiValueMap<String,MultipartFile> multipartFiles)
Cleanup the Spring MultipartFiles created during multipart parsing,
potentially holding temporary data on disk.
|
Constructor and Description |
---|
MultipartParsingResult(MultiValueMap<String,MultipartFile> mpFiles,
Map<String,String[]> mpParams,
Map<String,String> mpParamContentTypes) |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,MultipartFile> |
AbstractMultipartHttpServletRequest.getMultiFileMap() |
protected MultiValueMap<String,MultipartFile> |
AbstractMultipartHttpServletRequest.getMultipartFiles()
Obtain the MultipartFile Map for retrieval,
lazily initializing it if necessary.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMultipartHttpServletRequest.setMultipartFiles(MultiValueMap<String,MultipartFile> multipartFiles)
Set a Map with parameter names as keys and list of MultipartFile objects as values.
|
Constructor and Description |
---|
DefaultMultipartHttpServletRequest(javax.servlet.http.HttpServletRequest request,
MultiValueMap<String,MultipartFile> mpFiles,
Map<String,String[]> mpParams,
Map<String,String> mpParamContentTypes)
Wrap the given HttpServletRequest in a MultipartHttpServletRequest.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
UrlPathHelper.decodeMatrixVariables(javax.servlet.http.HttpServletRequest request,
MultiValueMap<String,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<String,String> |
UriComponents.getQueryParams()
Returns the map of query parameters.
|
static MultiValueMap<String,String> |
WebUtils.parseMatrixVariables(String matrixVariables)
Parse the given string with matrix variables.
|
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,String> |
UrlPathHelper.decodeMatrixVariables(javax.servlet.http.HttpServletRequest request,
MultiValueMap<String,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) . |
Copyright © 2020. All rights reserved.