org.wso2.wsas.transport.http
Class AbstractGenericTransportListener
java.lang.Object
org.wso2.wsas.transport.http.AbstractGenericTransportListener
- All Implemented Interfaces:
- org.apache.axis2.transport.TransportListener
- Direct Known Subclasses:
- GenericHttpsTransportListener, GenericHttpTransportListener
- public abstract class AbstractGenericTransportListener
- extends java.lang.Object
- implements org.apache.axis2.transport.TransportListener
This is the abstract transport listener that should be used in writing generic listeners.
Fields inherited from interface org.apache.axis2.transport.TransportListener |
HOST_ADDRESS, PARAM_PORT |
Method Summary |
void |
destroy()
|
protected org.apache.axis2.addressing.EndpointReference |
genEpr(java.lang.String protocol,
java.lang.String ip,
int port,
java.lang.String serviceContextPath,
java.lang.String serviceName)
|
org.apache.axis2.context.SessionContext |
getSessionContext(org.apache.axis2.context.MessageContext messageContext)
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.axis2.transport.TransportListener |
getEPRForService, getEPRsForService, init, start |
proxyPort
protected int proxyPort
configurationContext
protected org.apache.axis2.context.ConfigurationContext configurationContext
AbstractGenericTransportListener
public AbstractGenericTransportListener()
AbstractGenericTransportListener
public AbstractGenericTransportListener(org.apache.axis2.context.ConfigurationContext configurationContext)
destroy
public void destroy()
- Specified by:
destroy
in interface org.apache.axis2.transport.TransportListener
getSessionContext
public org.apache.axis2.context.SessionContext getSessionContext(org.apache.axis2.context.MessageContext messageContext)
- Specified by:
getSessionContext
in interface org.apache.axis2.transport.TransportListener
stop
public void stop()
throws org.apache.axis2.AxisFault
- Specified by:
stop
in interface org.apache.axis2.transport.TransportListener
- Throws:
org.apache.axis2.AxisFault
genEpr
protected org.apache.axis2.addressing.EndpointReference genEpr(java.lang.String protocol,
java.lang.String ip,
int port,
java.lang.String serviceContextPath,
java.lang.String serviceName)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault