List of usage examples for org.apache.http.nio NHttpServerEventHandler connected
void connected(NHttpServerConnection conn) throws IOException, HttpException;
From source file:org.apache.synapse.transport.passthru.core.MultiListenerServerIODispatch.java
@Override protected void onConnected(final DefaultNHttpServerConnection defaultNHttpServerConnection) { int localPort = defaultNHttpServerConnection.getLocalPort(); NHttpServerEventHandler handler = handlers.get(localPort); try {/* ww w. j av a 2 s . c o m*/ handler.connected(defaultNHttpServerConnection); } catch (final Exception ex) { handler.exception(defaultNHttpServerConnection, ex); } }