Class HttpChannel

    • Method Detail

      • destroy

        public void destroy()
        Deprecated.
      • getHttpDestination

        public HttpDestination getHttpDestination()
        Deprecated.
      • associate

        public boolean associate​(HttpExchange exchange)
        Deprecated.

        Associates the given exchange to this channel in order to be sent over the network.

        If the association is successful, the exchange can be sent. Otherwise, the channel must be disposed because whoever terminated the exchange did not do it - it did not have the channel yet.

        Parameters:
        exchange - the exchange to associate
        Returns:
        true if the association was successful, false otherwise
      • disassociate

        public boolean disassociate​(HttpExchange exchange)
        Deprecated.
      • getHttpExchange

        public HttpExchange getHttpExchange()
        Deprecated.
      • send

        public void send()
        Deprecated.
      • send

        public abstract void send​(HttpExchange exchange)
        Deprecated.
      • release

        public abstract void release()
        Deprecated.
      • abortResponse

        public boolean abortResponse​(HttpExchange exchange,
                                     Throwable failure)
        Deprecated.
      • exchangeTerminated

        public void exchangeTerminated​(HttpExchange exchange,
                                       Result result)
        Deprecated.