org.apache.servicemix.http.processors
Class ProviderProcessor

java.lang.Object
  extended by org.apache.servicemix.http.processors.AbstractProcessor
      extended by org.apache.servicemix.http.processors.ProviderProcessor
All Implemented Interfaces:
org.apache.servicemix.soap.SoapExchangeProcessor

public class ProviderProcessor
extends AbstractProcessor
implements org.apache.servicemix.soap.SoapExchangeProcessor

Since:
3.0
Version:
$Revision: 370186 $
Author:
Guillaume Nodet

Nested Class Summary
static class ProviderProcessor.StreamingRequestEntity
           
 
Field Summary
protected  javax.jbi.messaging.DeliveryChannel channel
           
protected  org.apache.servicemix.soap.SoapHelper soapHelper
           
 
Fields inherited from class org.apache.servicemix.http.processors.AbstractProcessor
endpoint, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_SOAP_ACTION
 
Constructor Summary
ProviderProcessor(HttpEndpoint endpoint)
           
 
Method Summary
protected  org.apache.commons.httpclient.HttpClient getClient()
           
protected  Map<String,String> getHeaders(org.apache.commons.httpclient.HttpMethod method)
           
protected  Map<String,String> getHeaders(HttpServletRequest request)
           
 void init()
           
 void process(javax.jbi.messaging.MessageExchange exchange)
           
 void shutdown()
           
 void start()
           
 void stop()
           
protected  org.apache.commons.httpclient.methods.RequestEntity writeMessage(org.apache.servicemix.soap.marshalers.SoapWriter writer)
           
 
Methods inherited from class org.apache.servicemix.http.processors.AbstractProcessor
getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

soapHelper

protected org.apache.servicemix.soap.SoapHelper soapHelper

channel

protected javax.jbi.messaging.DeliveryChannel channel
Constructor Detail

ProviderProcessor

public ProviderProcessor(HttpEndpoint endpoint)
Method Detail

process

public void process(javax.jbi.messaging.MessageExchange exchange)
             throws Exception
Specified by:
process in interface org.apache.servicemix.soap.SoapExchangeProcessor
Throws:
Exception

init

public void init()
          throws Exception
Specified by:
init in interface org.apache.servicemix.soap.SoapExchangeProcessor
Throws:
Exception

start

public void start()
           throws Exception
Specified by:
start in interface org.apache.servicemix.soap.SoapExchangeProcessor
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface org.apache.servicemix.soap.SoapExchangeProcessor
Throws:
Exception

shutdown

public void shutdown()
              throws Exception
Specified by:
shutdown in interface org.apache.servicemix.soap.SoapExchangeProcessor
Throws:
Exception

getHeaders

protected Map<String,String> getHeaders(HttpServletRequest request)

getHeaders

protected Map<String,String> getHeaders(org.apache.commons.httpclient.HttpMethod method)

writeMessage

protected org.apache.commons.httpclient.methods.RequestEntity writeMessage(org.apache.servicemix.soap.marshalers.SoapWriter writer)
                                                                    throws Exception
Throws:
Exception

getClient

protected org.apache.commons.httpclient.HttpClient getClient()


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.