Package io.servicetalk.http.api
Class HttpExecutionStrategies.Builder
java.lang.Object
io.servicetalk.http.api.HttpExecutionStrategies.Builder
- Enclosing class:
- HttpExecutionStrategies
A builder to build an
HttpExecutionStrategy.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newHttpExecutionStrategy.Enable all offloads.Enables offloading for asynchronous close.Enables offloading for events.Disable all offloads.Enables offloading for receiving of data.Enables offloading for receiving of metadata.Enables offloading for sending.
-
Method Details
-
offloadReceiveMetadata
Enables offloading for receiving of metadata.- Returns:
this.
-
offloadReceiveData
Enables offloading for receiving of data.- Returns:
this.
-
offloadSend
Enables offloading for sending.- Returns:
this.
-
offloadEvent
Enables offloading for events.- Returns:
this.
-
offloadClose
Enables offloading for asynchronous close.- Returns:
this.
-
offloadAll
Enable all offloads.- Returns:
this.
-
offloadNone
Disable all offloads.- Returns:
this.
-
build
Builds a newHttpExecutionStrategy.- Returns:
- New
HttpExecutionStrategy.
-