Class H1SpecExceptions


  • public final class H1SpecExceptions
    extends java.lang.Object
    Additional exceptions for HTTP/1.1 specification.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean allowPrematureClosureBeforePayloadBody()
      Allows interpreting connection closures as the end of HTTP/1.1 messages if the receiver did not receive any part of the payload body before the connection closure.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • allowPrematureClosureBeforePayloadBody

        public boolean allowPrematureClosureBeforePayloadBody()
        Allows interpreting connection closures as the end of HTTP/1.1 messages if the receiver did not receive any part of the payload body before the connection closure.
        Returns:
        true if the receiver should interpret connection closures as the end of HTTP/1.1 messages if it did not receive any part of the payload body before the connection closure