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
      • isClosed

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