org.apache.camel.component.cxf.common.message
Class DefaultCxfMesssageMapper

java.lang.Object
  extended by org.apache.camel.component.cxf.common.message.DefaultCxfMesssageMapper
All Implemented Interfaces:
CxfMessageMapper

public class DefaultCxfMesssageMapper
extends Object
implements CxfMessageMapper

Version:

Constructor Summary
DefaultCxfMesssageMapper()
           
 
Method Summary
 org.apache.cxf.message.Message createCxfMessageFromCamelExchange(org.apache.camel.Exchange camelExchange, org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
          Create a CXF Message from a Camel exchange.
protected  String getBasePath(org.apache.camel.Exchange camelExchange)
           
protected  String getCharacterEncoding(org.apache.camel.Message camelMessage)
           
protected  String getPath(org.apache.camel.Message camelMessage)
           
protected  String getQueryString(org.apache.camel.Message camelMessage)
           
protected  String getRequestContentType(org.apache.camel.Message camelMessage)
           
protected  String getVerb(org.apache.camel.Message camelMessage)
           
 void propagateResponseHeadersToCamel(org.apache.cxf.message.Message cxfMessage, org.apache.camel.Exchange exchange, org.apache.camel.spi.HeaderFilterStrategy strategy)
          Given a CXF out/response Message, this method propagates response headers to a Camel exchange.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCxfMesssageMapper

public DefaultCxfMesssageMapper()
Method Detail

createCxfMessageFromCamelExchange

public org.apache.cxf.message.Message createCxfMessageFromCamelExchange(org.apache.camel.Exchange camelExchange,
                                                                        org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
Description copied from interface: CxfMessageMapper
Create a CXF Message from a Camel exchange.

Specified by:
createCxfMessageFromCamelExchange in interface CxfMessageMapper

propagateResponseHeadersToCamel

public void propagateResponseHeadersToCamel(org.apache.cxf.message.Message cxfMessage,
                                            org.apache.camel.Exchange exchange,
                                            org.apache.camel.spi.HeaderFilterStrategy strategy)
Description copied from interface: CxfMessageMapper
Given a CXF out/response Message, this method propagates response headers to a Camel exchange.

Specified by:
propagateResponseHeadersToCamel in interface CxfMessageMapper

getPath

protected String getPath(org.apache.camel.Message camelMessage)

getBasePath

protected String getBasePath(org.apache.camel.Exchange camelExchange)

getVerb

protected String getVerb(org.apache.camel.Message camelMessage)

getQueryString

protected String getQueryString(org.apache.camel.Message camelMessage)

getCharacterEncoding

protected String getCharacterEncoding(org.apache.camel.Message camelMessage)

getRequestContentType

protected String getRequestContentType(org.apache.camel.Message camelMessage)


Apache CAMEL