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