Spring Integration

org.springframework.integration.http
Class DefaultHttpHeaderMapper

java.lang.Object
  extended by 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

Field Summary
static String USER_DEFINED_HEADER_PREFIX
           
 
Constructor Summary
DefaultHttpHeaderMapper()
           
 
Method Summary
 void fromHeaders(MessageHeaders headers, HttpHeaders target)
           
 void setInboundHeaderNames(String[] inboundHeaderNames)
           
 void setOutboundHeaderNames(String[] outboundHeaderNames)
           
 Map<String,?> toHeaders(HttpHeaders source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_DEFINED_HEADER_PREFIX

public static final String USER_DEFINED_HEADER_PREFIX
See Also:
Constant Field Values
Constructor Detail

DefaultHttpHeaderMapper

public DefaultHttpHeaderMapper()
Method Detail

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>

Spring Integration

Copyright © 2010. All Rights Reserved.