org.apache.http.nio
Interface NHttpServerIOTarget
- All Superinterfaces:
- HttpConnection, IOControl, NHttpConnection, NHttpServerConnection
- All Known Implementing Classes:
- DefaultNHttpServerConnection
public interface NHttpServerIOTarget
- extends NHttpServerConnection
Extended version of the NHttpServerConnection
used by
IOEventDispatch
implementations to inform server-side connection
objects of I/O events.
- Since:
- 4.0
consumeInput
void consumeInput(NHttpServiceHandler handler)
- Triggered when the connection is ready to consume input.
- Parameters:
handler
- the server protocol handler.
produceOutput
void produceOutput(NHttpServiceHandler handler)
- Triggered when the connection is ready to produce output.
- Parameters:
handler
- the server protocol handler.
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.