Class ServerIODispatch
- java.lang.Object
-
- org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
- org.apache.synapse.transport.passthru.ServerIODispatch
-
- All Implemented Interfaces:
org.apache.http.nio.reactor.IOEventDispatch
- Direct Known Subclasses:
MultiListenerServerIODispatch
public class ServerIODispatch extends org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
-
Constructor Summary
Constructors Constructor Description ServerIODispatch(org.apache.http.nio.NHttpServerEventHandler handler, ServerConnFactory connFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.impl.nio.DefaultNHttpServerConnection
createConnection(org.apache.http.nio.reactor.IOSession session)
protected void
onClosed(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
protected void
onConnected(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
protected void
onException(org.apache.http.impl.nio.DefaultNHttpServerConnection conn, IOException ex)
protected void
onInputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
protected void
onOutputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
protected void
onTimeout(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
void
update(ServerConnFactory connFactory)
-
-
-
Constructor Detail
-
ServerIODispatch
public ServerIODispatch(org.apache.http.nio.NHttpServerEventHandler handler, ServerConnFactory connFactory)
-
-
Method Detail
-
update
public void update(ServerConnFactory connFactory)
-
createConnection
protected org.apache.http.impl.nio.DefaultNHttpServerConnection createConnection(org.apache.http.nio.reactor.IOSession session)
- Specified by:
createConnection
in classorg.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
onConnected
protected void onConnected(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
- Specified by:
onConnected
in classorg.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
onClosed
protected void onClosed(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
- Specified by:
onClosed
in classorg.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
onException
protected void onException(org.apache.http.impl.nio.DefaultNHttpServerConnection conn, IOException ex)
- Specified by:
onException
in classorg.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
onInputReady
protected void onInputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
- Specified by:
onInputReady
in classorg.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
onOutputReady
protected void onOutputReady(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
- Specified by:
onOutputReady
in classorg.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
onTimeout
protected void onTimeout(org.apache.http.impl.nio.DefaultNHttpServerConnection conn)
- Specified by:
onTimeout
in classorg.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpServerConnection>
-
-