public class PassThroughHttpSender
extends org.apache.axis2.handlers.AbstractHandler
implements org.apache.axis2.transport.TransportSender
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
PassThroughHttpSender() |
Modifier and Type | Method and Description |
---|---|
void |
addPreserveHttpHeader(java.lang.String headerName) |
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.context.ConfigurationContext configurationContext) |
org.apache.axis2.engine.Handler.InvocationResponse |
invoke(org.apache.axis2.context.MessageContext msgContext) |
void |
maintenanceShutdown(long millis) |
void |
pause() |
void |
reloadDynamicSSLConfig(org.apache.axis2.description.TransportOutDescription transport)
Reload SSL configurations from configurations, reset all connections and restart the thread
|
void |
removePreserveHttpHeader(java.lang.String headerName) |
void |
resume() |
void |
setContentType(org.apache.axis2.context.MessageContext msgContext,
SourceResponse sourceResponse,
org.apache.axis2.transport.MessageFormatter formatter,
org.apache.axiom.om.OMOutputFormat format,
SourceConfiguration sourceConfiguration)
Set content type headers along with the charactor encoding if content type header is not preserved
|
void |
stop() |
void |
submitResponse(org.apache.axis2.context.MessageContext msgContext) |
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
protected Scheme getScheme()
protected ClientConnFactoryBuilder initConnFactoryBuilder(org.apache.axis2.description.TransportOutDescription transportOut, org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void init(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.TransportOutDescription transportOutDescription) throws org.apache.axis2.AxisFault
init
in interface org.apache.axis2.transport.TransportSender
org.apache.axis2.AxisFault
public void cleanup(org.apache.axis2.context.MessageContext messageContext) throws org.apache.axis2.AxisFault
cleanup
in interface org.apache.axis2.transport.TransportSender
org.apache.axis2.AxisFault
public void stop()
stop
in interface org.apache.axis2.transport.TransportSender
public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext) throws org.apache.axis2.AxisFault
invoke
in interface org.apache.axis2.engine.Handler
org.apache.axis2.AxisFault
public void addPreserveHttpHeader(java.lang.String headerName)
public void removePreserveHttpHeader(java.lang.String headerName)
public void submitResponse(org.apache.axis2.context.MessageContext msgContext) throws java.io.IOException, org.apache.http.HttpException
java.io.IOException
org.apache.http.HttpException
public void pause() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void resume() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void maintenanceShutdown(long millis) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void reloadDynamicSSLConfig(org.apache.axis2.description.TransportOutDescription transport) throws org.apache.axis2.AxisFault
transport
- TransportOutDescription of the configurationorg.apache.axis2.AxisFault
public void setContentType(org.apache.axis2.context.MessageContext msgContext, SourceResponse sourceResponse, org.apache.axis2.transport.MessageFormatter formatter, org.apache.axiom.om.OMOutputFormat format, SourceConfiguration sourceConfiguration)
msgContext
- message contextsourceResponse
- source responseformatter
- response formatterformat
- response formatCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.