Class Axis2HttpTransportListener
- java.lang.Object
-
- org.apache.synapse.transport.netty.listener.Axis2HttpTransportListener
-
- All Implemented Interfaces:
org.apache.axis2.transport.TransportListener
- Direct Known Subclasses:
Axis2HttpSSLTransportListener
public class Axis2HttpTransportListener extends Object implements org.apache.axis2.transport.TransportListener
Axis2HttpTransportListener
is the Axis2 Transport Listener implementation for HTTP transport based on Netty.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<org.apache.synapse.commons.handlers.MessagingHandler>
messagingHandlers
protected SourceConfiguration
sourceConfiguration
protected org.apache.axis2.description.TransportInDescription
transportInDescription
-
Constructor Summary
Constructors Constructor Description Axis2HttpTransportListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
org.apache.axis2.addressing.EndpointReference
getEPRForService(String s, String s1)
org.apache.axis2.addressing.EndpointReference[]
getEPRsForService(String s, String s1)
org.apache.axis2.context.SessionContext
getSessionContext(org.apache.axis2.context.MessageContext messageContext)
void
init(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.TransportInDescription transportInDescription)
protected org.wso2.transport.http.netty.contract.config.ListenerConfiguration
initListenerConfiguration()
protected Scheme
initScheme()
void
setMessagingHandlers(List<org.apache.synapse.commons.handlers.MessagingHandler> messagingHandlers)
void
start()
void
stop()
-
-
-
Field Detail
-
sourceConfiguration
protected SourceConfiguration sourceConfiguration
-
messagingHandlers
protected List<org.apache.synapse.commons.handlers.MessagingHandler> messagingHandlers
-
transportInDescription
protected org.apache.axis2.description.TransportInDescription transportInDescription
-
-
Method Detail
-
init
public void init(org.apache.axis2.context.ConfigurationContext configurationContext, org.apache.axis2.description.TransportInDescription transportInDescription) throws org.apache.axis2.AxisFault
- Specified by:
init
in interfaceorg.apache.axis2.transport.TransportListener
- Throws:
org.apache.axis2.AxisFault
-
start
public void start() throws org.apache.axis2.AxisFault
- Specified by:
start
in interfaceorg.apache.axis2.transport.TransportListener
- Throws:
org.apache.axis2.AxisFault
-
stop
public void stop() throws org.apache.axis2.AxisFault
- Specified by:
stop
in interfaceorg.apache.axis2.transport.TransportListener
- Throws:
org.apache.axis2.AxisFault
-
getEPRForService
public org.apache.axis2.addressing.EndpointReference getEPRForService(String s, String s1)
- Specified by:
getEPRForService
in interfaceorg.apache.axis2.transport.TransportListener
-
getEPRsForService
public org.apache.axis2.addressing.EndpointReference[] getEPRsForService(String s, String s1)
- Specified by:
getEPRsForService
in interfaceorg.apache.axis2.transport.TransportListener
-
getSessionContext
public org.apache.axis2.context.SessionContext getSessionContext(org.apache.axis2.context.MessageContext messageContext)
- Specified by:
getSessionContext
in interfaceorg.apache.axis2.transport.TransportListener
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.apache.axis2.transport.TransportListener
-
initScheme
protected Scheme initScheme()
-
initListenerConfiguration
protected org.wso2.transport.http.netty.contract.config.ListenerConfiguration initListenerConfiguration() throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
setMessagingHandlers
public void setMessagingHandlers(List<org.apache.synapse.commons.handlers.MessagingHandler> messagingHandlers)
-
-