Class HttpExchange

    • Method Detail

      • getRequestFailure

        public java.lang.Throwable getRequestFailure()
      • getResponseFailure

        public java.lang.Throwable getResponseFailure()
      • getExpireNanoTime

        public long getExpireNanoTime()
        Description copied from interface: CyclicTimeouts.Expirable

        Returns the expiration time in nanoseconds.

        The value to return must be calculated taking into account System.nanoTime(), for example:

        expireNanoTime = System.nanoTime() + timeoutNanos

        Returning Long.MAX_VALUE indicates that this entity does not expire.

        Specified by:
        getExpireNanoTime in interface CyclicTimeouts.Expirable
        the expiration time in nanoseconds, or Long.MAX_VALUE if this entity does not expire
      • requestComplete

        public boolean requestComplete​(java.lang.Throwable failure)
      • responseComplete

        public boolean responseComplete​(java.lang.Throwable failure)
      • terminateRequest

        public Result terminateRequest()
      • terminateResponse

        public Result terminateResponse()
      • abort

        public boolean abort​(java.lang.Throwable failure)
      • resetResponse

        public void resetResponse()
      • proceed

        public void proceed​(java.lang.Throwable failure)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object