Package io.servicetalk.http.netty
Class H1SpecExceptions
- java.lang.Object
-
- io.servicetalk.http.netty.H1SpecExceptions
-
public final class H1SpecExceptions extends java.lang.ObjectAdditional exceptions for HTTP/1.1 specification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classH1SpecExceptions.BuilderBuilder forH1SpecExceptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowPrematureClosureBeforePayloadBody()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.
-
-
-
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:
trueif 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
-
-