public interface HttpExecutionStrategy
extends ExecutionStrategy
HttpExecutionStrategyInfluencer| Modifier and Type | Method and Description |
|---|---|
static HttpExecutionStrategy |
from(ExecutionStrategy strategy)
Convert from any
ExecutionStrategy to the most appropriate compatible safe HttpExecutionStrategy. |
default boolean |
hasOffloads() |
boolean |
isDataReceiveOffloaded()
Returns
true if data receive offloading is enabled for this HttpExecutionStrategy. |
boolean |
isEventOffloaded()
Returns
true if event offloading is enabled for this HttpExecutionStrategy. |
boolean |
isMetadataReceiveOffloaded()
Returns
true if metadata receive offloading is enabled for this HttpExecutionStrategy. |
default boolean |
isRequestResponseOffloaded()
Returns
true if any portion of request/response path is offloaded for this HttpExecutionStrategy. |
boolean |
isSendOffloaded()
Returns
true if send offloading is enabled for this HttpExecutionStrategy. |
HttpExecutionStrategy |
merge(HttpExecutionStrategy other)
Merges the passed
HttpExecutionStrategy with this HttpExecutionStrategy and return the
merged result. |
default HttpExecutionStrategy |
missing(HttpExecutionStrategy other)
Returns an execution strategy which contains only the additional offloads present in other that were not present
in this execution strategy.
|
default boolean hasOffloads()
hasOffloads in interface ExecutionStrategydefault boolean isRequestResponseOffloaded()
true if any portion of request/response path is offloaded for this HttpExecutionStrategy.true if any portion of request/response path is offloaded for this HttpExecutionStrategy.boolean isMetadataReceiveOffloaded()
true if metadata receive offloading is enabled for this HttpExecutionStrategy.true if metadata receive offloading is enabled for this HttpExecutionStrategy.boolean isDataReceiveOffloaded()
true if data receive offloading is enabled for this HttpExecutionStrategy.true if data receive offloading is enabled for this HttpExecutionStrategy.boolean isSendOffloaded()
true if send offloading is enabled for this HttpExecutionStrategy.true if send offloading is enabled for this HttpExecutionStrategy.boolean isEventOffloaded()
true if event offloading is enabled for this HttpExecutionStrategy.true if event offloading is enabled for this HttpExecutionStrategy.HttpExecutionStrategy merge(HttpExecutionStrategy other)
HttpExecutionStrategy with this HttpExecutionStrategy and return the
merged result.other - HttpExecutionStrategy to merge with this.HttpExecutionStrategy.default HttpExecutionStrategy missing(HttpExecutionStrategy other)
other - An execution strategystatic HttpExecutionStrategy from(ExecutionStrategy strategy)
ExecutionStrategy to the most appropriate compatible safe HttpExecutionStrategy.strategy - The strategy to convertHttpExecutionStrategy.