Class ServerFCGIConnection

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, Connection

    public class ServerFCGIConnection
    extends AbstractConnection
    • Field Detail

      • LOG

        private static final Logger LOG
      • channels

        private final java.util.concurrent.ConcurrentMap<java.lang.Integer,​HttpChannelOverFCGI> channels
      • connector

        private final Connector connector
      • sendStatus200

        private final boolean sendStatus200
      • flusher

        private final Flusher flusher
    • Method Detail

      • onOpen

        public void onOpen()
        Description copied from interface: Connection

        Callback method invoked when this connection is opened.

        Creators of the connection implementation are responsible for calling this method.

        Specified by:
        onOpen in interface Connection
        Overrides:
        onOpen in class AbstractConnection
      • onReadTimeout

        protected boolean onReadTimeout​(java.lang.Throwable timeout)
        Description copied from class: AbstractConnection

        Callback method invoked when the endpoint failed to be ready to be read after a timeout

        Overrides:
        onReadTimeout in class AbstractConnection
        Parameters:
        timeout - the cause of the read timeout
        Returns:
        true to signal that the endpoint must be closed, false to keep the endpoint open
      • parse

        private void parse​(java.nio.ByteBuffer buffer)
      • shutdown

        private void shutdown()