Class ServerFCGIConnection

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

    public class ServerFCGIConnection
    extends AbstractConnection
    • 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