Package io.servicetalk.http.netty
Class H1SpecExceptions.Builder
- java.lang.Object
-
- io.servicetalk.http.netty.H1SpecExceptions.Builder
-
- Enclosing class:
- H1SpecExceptions
public static final class H1SpecExceptions.Builder extends java.lang.Object
Builder forH1SpecExceptions
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description H1SpecExceptions.Builder
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.H1SpecExceptions
build()
BuildsH1SpecExceptions
.
-
-
-
Method Detail
-
allowPrematureClosureBeforePayloadBody
public H1SpecExceptions.Builder 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:
this
-
build
public H1SpecExceptions build()
BuildsH1SpecExceptions
.- Returns:
- a new
H1SpecExceptions
-
-