public class PassThroughInboundEndpointHandler extends Object
| Constructor and Description |
|---|
PassThroughInboundEndpointHandler() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
closeEndpoint(int port)
Close ListeningEndpoint running on the given port
|
static SourceConfiguration |
getPassThroughSourceConfiguration() |
static SourceConfiguration |
getPassThroughSSLSourceConfiguration() |
static boolean |
isEndpointRunning(int port)
Check Whether inbound endpoint is running for a particular port
|
static boolean |
startEndpoint(InetSocketAddress inetSocketAddress,
org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler,
String endpointName)
Start Endpoint Listen and events related to Endpoint handle by given NHttpServerEventHandler
|
static boolean |
startSSLEndpoint(InetSocketAddress inetSocketAddress,
org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler,
String endpointName,
SSLConfiguration sslConfiguration)
Start SSL Endpoint Listen and events related to Endpoint handle by given NHttpServerEventHandler
|
public static boolean startEndpoint(InetSocketAddress inetSocketAddress, org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler, String endpointName)
inetSocketAddress - Socket Address of the Endpoint need to be start by underlying IOReactornHttpServerEventHandler - Event Handler for handle events for EndpointendpointName - Name of the Endpointpublic static boolean closeEndpoint(int port)
port - Port of ListeningEndpoint to be closedpublic static SourceConfiguration getPassThroughSourceConfiguration() throws Exception
Exceptionpublic static SourceConfiguration getPassThroughSSLSourceConfiguration() throws Exception
Exceptionpublic static boolean isEndpointRunning(int port)
port - portpublic static boolean startSSLEndpoint(InetSocketAddress inetSocketAddress, org.apache.http.nio.NHttpServerEventHandler nHttpServerEventHandler, String endpointName, SSLConfiguration sslConfiguration)
inetSocketAddress - Socket Address of the Endpoint need to be start by underlying IOReactornHttpServerEventHandler - Event Handler for handle events for EndpointendpointName - Name of the EndpointsslConfiguration - SSL ConfigurationCopyright © 2005–2019 Apache Software Foundation. All rights reserved.