org.springframework.integration.http
Class DefaultHttpHeaderMapper
java.lang.Object
org.springframework.integration.http.DefaultHttpHeaderMapper
- All Implemented Interfaces:
- HeaderMapper<HttpHeaders>
public class DefaultHttpHeaderMapper
- extends Object
- implements HeaderMapper<HttpHeaders>
Default HeaderMapper
implementation for HTTP.
- Since:
- 2.0
- Author:
- Mark Fisher, Jeremy Grelle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USER_DEFINED_HEADER_PREFIX
public static final String USER_DEFINED_HEADER_PREFIX
- See Also:
- Constant Field Values
DefaultHttpHeaderMapper
public DefaultHttpHeaderMapper()
setOutboundHeaderNames
public void setOutboundHeaderNames(String[] outboundHeaderNames)
setInboundHeaderNames
public void setInboundHeaderNames(String[] inboundHeaderNames)
fromHeaders
public void fromHeaders(MessageHeaders headers,
HttpHeaders target)
- Specified by:
fromHeaders
in interface HeaderMapper<HttpHeaders>
toHeaders
public Map<String,?> toHeaders(HttpHeaders source)
- Specified by:
toHeaders
in interface HeaderMapper<HttpHeaders>
Copyright © 2010. All Rights Reserved.