|
Spring Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.integration.http.DefaultOutboundRequestMapper
public class DefaultOutboundRequestMapper
Default implementation of OutboundRequestMapper.
| Constructor Summary | |
|---|---|
DefaultOutboundRequestMapper()
|
|
| Method Summary | |
|---|---|
HttpEntity<?> |
fromMessage(Message<?> message)
|
void |
setCharset(String charset)
Specify the charset name to use for converting String-typed payloads to bytes. |
void |
setExtractPayload(boolean extractPayload)
Specify whether the outbound message's payload should be extracted when preparing the request body. |
void |
setHttpMethod(HttpMethod httpMethod)
Specify the HttpMethod that will be used when executing requests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultOutboundRequestMapper()
| Method Detail |
|---|
public void setHttpMethod(HttpMethod httpMethod)
HttpMethod that will be used when executing requests.
public void setExtractPayload(boolean extractPayload)
true.
public void setCharset(String charset)
public HttpEntity<?> fromMessage(Message<?> message)
throws Exception
fromMessage in interface OutboundMessageMapper<HttpEntity<?>>Exception
|
Spring Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||