public class PassThroughHttpListener extends Object implements org.apache.axis2.transport.TransportListener
Modifier and Type | Field and Description |
---|---|
static long |
ACTIVE_CONNECTION_MONITOR_DELAY
Delay for ActiveConnectionMonitor
|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
PassThroughHttpListener() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
org.apache.axis2.addressing.EndpointReference |
getEPRForService(String serviceName,
String ip) |
org.apache.axis2.addressing.EndpointReference[] |
getEPRsForService(String serviceName,
String ip)
Return the EPRs for the given service over this transport
|
org.apache.axis2.context.SessionContext |
getSessionContext(org.apache.axis2.context.MessageContext messageContext) |
String |
getTransportName() |
void |
init(org.apache.axis2.context.ConfigurationContext cfgCtx,
org.apache.axis2.description.TransportInDescription transportInDescription) |
protected ServerConnFactoryBuilder |
initConnFactoryBuilder(org.apache.axis2.description.TransportInDescription transportIn,
org.apache.http.HttpHost host) |
protected Scheme |
initScheme() |
void |
maintenanceShutdown(long milliSecs)
Stop accepting new connections, and wait the maximum specified time for in-flight
requests to complete before a controlled shutdown for maintenance
|
void |
pause()
Pause the listener - Stops accepting new connections, but continues processing existing
connections until they complete.
|
void |
reload(org.apache.axis2.description.TransportInDescription transportIn) |
void |
reloadDynamicSSLConfig(org.apache.axis2.description.TransportInDescription transportInDescription)
Reload SSL configurations from configurations and reset all connections
|
void |
reloadSpecificEndPoints(org.apache.axis2.description.TransportInDescription transportIn)
Re-load specific end points given in Transport In Description
|
void |
resume()
Resume the lister - Brings the lister into active mode back from a paused state
|
void |
start() |
void |
stop() |
protected org.apache.commons.logging.Log log
public static final long ACTIVE_CONNECTION_MONITOR_DELAY
protected Scheme initScheme()
protected ServerConnFactoryBuilder initConnFactoryBuilder(org.apache.axis2.description.TransportInDescription transportIn, org.apache.http.HttpHost host) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void init(org.apache.axis2.context.ConfigurationContext cfgCtx, org.apache.axis2.description.TransportInDescription transportInDescription) throws org.apache.axis2.AxisFault
init
in interface org.apache.axis2.transport.TransportListener
org.apache.axis2.AxisFault
public void start() throws org.apache.axis2.AxisFault
start
in interface org.apache.axis2.transport.TransportListener
org.apache.axis2.AxisFault
public org.apache.axis2.addressing.EndpointReference getEPRForService(String serviceName, String ip) throws org.apache.axis2.AxisFault
getEPRForService
in interface org.apache.axis2.transport.TransportListener
org.apache.axis2.AxisFault
public org.apache.axis2.addressing.EndpointReference[] getEPRsForService(String serviceName, String ip) throws org.apache.axis2.AxisFault
getEPRsForService
in interface org.apache.axis2.transport.TransportListener
serviceName
- name of the serviceip
- IP addressorg.apache.axis2.AxisFault
- on errorpublic org.apache.axis2.context.SessionContext getSessionContext(org.apache.axis2.context.MessageContext messageContext)
getSessionContext
in interface org.apache.axis2.transport.TransportListener
public void stop() throws org.apache.axis2.AxisFault
stop
in interface org.apache.axis2.transport.TransportListener
org.apache.axis2.AxisFault
public void destroy()
destroy
in interface org.apache.axis2.transport.TransportListener
public void pause() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
- if pausing failspublic void resume() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
- if the resume failspublic void reload(org.apache.axis2.description.TransportInDescription transportIn) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void reloadSpecificEndPoints(org.apache.axis2.description.TransportInDescription transportIn) throws org.apache.axis2.AxisFault
transportIn
- TransportInDescriptions of the new configurationorg.apache.axis2.AxisFault
public void maintenanceShutdown(long milliSecs) throws org.apache.axis2.AxisFault
milliSecs
- number of milliseconds to wait until pending requests completeorg.apache.axis2.AxisFault
- if the shutdown failspublic String getTransportName()
public void reloadDynamicSSLConfig(org.apache.axis2.description.TransportInDescription transportInDescription) throws org.apache.axis2.AxisFault
transportInDescription
- TransportInDescription of the configurationorg.apache.axis2.AxisFault
Copyright © 2005–2017 Apache Software Foundation. All rights reserved.