org.apache.synapse.transport.passthru
Class PassThroughHttpSender

java.lang.Object
  extended by org.apache.axis2.handlers.AbstractHandler
      extended by org.apache.synapse.transport.passthru.PassThroughHttpSender
All Implemented Interfaces:
org.apache.axis2.engine.Handler, org.apache.axis2.transport.TransportSender
Direct Known Subclasses:
PassThroughHttpSSLSender

public class PassThroughHttpSender
extends org.apache.axis2.handlers.AbstractHandler
implements org.apache.axis2.transport.TransportSender

PassThroughHttpSender for Synapse based on HttpCore and NIO extensions


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
org.apache.axis2.engine.Handler.InvocationResponse
 
Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc
 
Constructor Summary
PassThroughHttpSender()
           
 
Method Summary
 void cleanup(org.apache.axis2.context.MessageContext messageContext)
           
protected  Scheme getScheme()
           
 void init(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.TransportOutDescription transportOutDescription)
           
protected  ClientConnFactoryBuilder initConnFactoryBuilder(org.apache.axis2.description.TransportOutDescription transportOut)
           
 org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext)
           
 void maintenanceShutdown(long millis)
           
 void pause()
           
 void resume()
           
 void stop()
           
 void submitResponse(org.apache.axis2.context.MessageContext msgContext)
           
 
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.engine.Handler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init
 

Field Detail

log

protected org.apache.commons.logging.Log log
Constructor Detail

PassThroughHttpSender

public PassThroughHttpSender()
Method Detail

getScheme

protected Scheme getScheme()

initConnFactoryBuilder

protected ClientConnFactoryBuilder initConnFactoryBuilder(org.apache.axis2.description.TransportOutDescription transportOut)
                                                   throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

init

public void init(org.apache.axis2.context.ConfigurationContext configurationContext,
                 org.apache.axis2.description.TransportOutDescription transportOutDescription)
          throws org.apache.axis2.AxisFault
Specified by:
init in interface org.apache.axis2.transport.TransportSender
Throws:
org.apache.axis2.AxisFault

cleanup

public void cleanup(org.apache.axis2.context.MessageContext messageContext)
             throws org.apache.axis2.AxisFault
Specified by:
cleanup in interface org.apache.axis2.transport.TransportSender
Throws:
org.apache.axis2.AxisFault

stop

public void stop()
Specified by:
stop in interface org.apache.axis2.transport.TransportSender

invoke

public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext)
                                                          throws org.apache.axis2.AxisFault
Specified by:
invoke in interface org.apache.axis2.engine.Handler
Throws:
org.apache.axis2.AxisFault

submitResponse

public void submitResponse(org.apache.axis2.context.MessageContext msgContext)
                    throws IOException,
                           org.apache.http.HttpException
Throws:
IOException
org.apache.http.HttpException

pause

public void pause()
           throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

resume

public void resume()
            throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

maintenanceShutdown

public void maintenanceShutdown(long millis)
                         throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault


Copyright © 2005–2015 Apache Software Foundation. All rights reserved.