Interface Connection

    • Method Detail

      • send

        void send​(Request request,
                  Response.CompleteListener listener)
        Deprecated.
        Sends a request with an associated response listener.

        Request.send(Response.CompleteListener) will eventually call this method to send the request. It is exposed to allow applications to send requests via unpooled connections.

        Parameters:
        request - the request to send
        listener - the response listener
      • close

        void close()
        Deprecated.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • isClosed

        boolean isClosed()
        Deprecated.
        Returns:
        whether this connection has been closed
        See Also:
        close()