public class ServerFCGIConnection extends AbstractConnection
Modifier and Type | Class and Description |
---|---|
private class |
ServerFCGIConnection.ServerListener |
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<java.lang.Integer,HttpChannelOverFCGI> |
channels |
private HttpConfiguration |
configuration |
private Connector |
connector |
private Flusher |
flusher |
private static Logger |
LOG |
private ServerParser |
parser |
private boolean |
sendStatus200 |
Constructor and Description |
---|
ServerFCGIConnection(Connector connector,
EndPoint endPoint,
HttpConfiguration configuration,
boolean sendStatus200) |
Modifier and Type | Method and Description |
---|---|
void |
onFillable()
Callback method invoked when the endpoint is ready to be read.
|
void |
onOpen()
Callback method invoked when this connection is opened.
|
private void |
parse(java.nio.ByteBuffer buffer) |
private void |
shutdown() |
addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterested
private static final Logger LOG
private final java.util.concurrent.ConcurrentMap<java.lang.Integer,HttpChannelOverFCGI> channels
private final Connector connector
private final boolean sendStatus200
private final Flusher flusher
private final HttpConfiguration configuration
private final ServerParser parser
public ServerFCGIConnection(Connector connector, EndPoint endPoint, HttpConfiguration configuration, boolean sendStatus200)
public void onOpen()
Connection
Callback method invoked when this connection is opened.
Creators of the connection implementation are responsible for calling this method.
onOpen
in interface Connection
onOpen
in class AbstractConnection
public void onFillable()
AbstractConnection
Callback method invoked when the endpoint is ready to be read.
onFillable
in class AbstractConnection
AbstractConnection.fillInterested()
private void parse(java.nio.ByteBuffer buffer)
private void shutdown()