Class DefaultConnectionListener
java.lang.Object
org.apache.axis2.transport.http.server.DefaultConnectionListener
- All Implemented Interfaces:
Runnable,IOProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultConnectionListener(String scheme, int port, HttpConnectionManager connmanager, ConnectionListenerFailureHandler failureHandler, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.io.SocketConfig socketConfig) Use this constructor to provide a custom ConnectionListenerFailureHandler, e.g. by subclassing DefaultConnectionListenerFailureHandler -
Method Summary
-
Constructor Details
-
DefaultConnectionListener
public DefaultConnectionListener(String scheme, int port, HttpConnectionManager connmanager, ConnectionListenerFailureHandler failureHandler, org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.io.SocketConfig socketConfig) throws IOException Use this constructor to provide a custom ConnectionListenerFailureHandler, e.g. by subclassing DefaultConnectionListenerFailureHandler- Throws:
IOException
-
-
Method Details
-
run
public void run() -
awaitSocketOpen
- Throws:
InterruptedException
-
getPort
public int getPort() -
close
- Specified by:
closein interfaceIOProcessor- Throws:
IOException
-
destroy
public void destroy()- Specified by:
destroyin interfaceIOProcessor
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceIOProcessor
-