|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.http.DefaultInboundRequestMapper
public class DefaultInboundRequestMapper
Default implementation of InboundRequestMapper
for inbound HttpServletRequests.
The request will be mapped according to the following rules:
MultiValueMap
where the keys are
Strings and the values are Lists of Strings. Those Lists are populated from the
String array values of the original request parameter Map as described for the
ServletRequest.getParameterMap()
method.
Constructor Summary | |
---|---|
DefaultInboundRequestMapper()
|
Method Summary | |
---|---|
void |
setCopyUploadedFiles(boolean copyUploadedFiles)
Specify whether uploaded multipart files should be copied to a temporary file on the server. |
void |
setMultipartCharset(String multipartCharset)
Specify the charset name to use when converting multipart file content into Strings. |
void |
setMultipartResolver(MultipartResolver multipartResolver)
Specify the MultipartResolver to use when checking requests. |
Message<?> |
toMessage(javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultInboundRequestMapper()
Method Detail |
---|
public void setMultipartResolver(MultipartResolver multipartResolver)
MultipartResolver
to use when checking requests.
If no resolver is provided, this mapper will not support multipart
requests.
public void setMultipartCharset(String multipartCharset)
public void setCopyUploadedFiles(boolean copyUploadedFiles)
public Message<?> toMessage(javax.servlet.http.HttpServletRequest request) throws Exception
toMessage
in interface InboundMessageMapper<javax.servlet.http.HttpServletRequest>
Exception
|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |