ExecutionStrategy directly instead.@Deprecated public final class StrategyInfluencerChainBuilder extends Object implements ExecutionStrategyInfluencer<HttpExecutionStrategy>
ExecutionStrategyInfluencer.| Constructor and Description |
|---|
StrategyInfluencerChainBuilder()
Deprecated.
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(ExecutionStrategyInfluencer<?> next)
Deprecated.
Append another
ExecutionStrategyInfluencer to this chain. |
void |
append(HttpExecutionStrategyInfluencer next)
Deprecated.
Append another
HttpExecutionStrategyInfluencer to this chain. |
boolean |
appendIfInfluencer(Object mayBeInfluencer)
Deprecated.
If the passed
mayBeInfluencer is an ExecutionStrategyInfluencer then add it to this chain. |
HttpExecutionStrategyInfluencer |
build()
Deprecated.
Builds this chain and returns a computed
HttpExecutionStrategyInfluencer that reflects the strategy of
the entire chain. |
HttpExecutionStrategyInfluencer |
build(HttpExecutionStrategy transportStrategy)
Deprecated.
Builds this chain and returns the head
HttpExecutionStrategyInfluencer for the chain. |
StrategyInfluencerChainBuilder |
copy()
Deprecated.
Creates a deep copy of this
StrategyInfluencerChainBuilder. |
void |
prepend(ExecutionStrategyInfluencer<?> influencer)
Deprecated.
Adds the passed
ExecutionStrategyInfluencer to the head of this chain. |
void |
prepend(HttpExecutionStrategyInfluencer influencer)
Deprecated.
Adds the passed
HttpExecutionStrategyInfluencer to the head of this chain. |
boolean |
prependIfInfluencer(Object mayBeInfluencer)
Deprecated.
If the passed
mayBeInfluencer is an HttpExecutionStrategyInfluencer then add it to the head of
this chain. |
HttpExecutionStrategy |
requiredOffloads()
Deprecated.
Builds this chain and returns computed
HttpExecutionStrategy for the entire chain. |
public StrategyInfluencerChainBuilder()
public void prepend(ExecutionStrategyInfluencer<?> influencer)
ExecutionStrategyInfluencer to the head of this chain.influencer - HttpExecutionStrategyInfluencer to add.public void prepend(HttpExecutionStrategyInfluencer influencer)
HttpExecutionStrategyInfluencer to the head of this chain.influencer - HttpExecutionStrategyInfluencer to add.public boolean prependIfInfluencer(Object mayBeInfluencer)
mayBeInfluencer is an HttpExecutionStrategyInfluencer then add it to the head of
this chain.mayBeInfluencer - An object which may be an ExecutionStrategyInfluencer.true if the passed mayBeInfluencer was added to the chain.public void append(ExecutionStrategyInfluencer<?> next)
ExecutionStrategyInfluencer to this chain.next - ExecutionStrategyInfluencer to append.public void append(HttpExecutionStrategyInfluencer next)
HttpExecutionStrategyInfluencer to this chain.next - HttpExecutionStrategyInfluencer to append.public boolean appendIfInfluencer(Object mayBeInfluencer)
mayBeInfluencer is an ExecutionStrategyInfluencer then add it to this chain.mayBeInfluencer - A reference which may be an ExecutionStrategyInfluencer.true if the passed mayBeInfluencer was added to the chain.public StrategyInfluencerChainBuilder copy()
StrategyInfluencerChainBuilder.StrategyInfluencerChainBuilder containing all the influencers added to this
StrategyInfluencerChainBuilder.public HttpExecutionStrategyInfluencer build(HttpExecutionStrategy transportStrategy)
HttpExecutionStrategyInfluencer for the chain. Invoking
HttpExecutionStrategyInfluencer.requiredOffloads() on the returned
HttpExecutionStrategyInfluencer will invoke the method on the entire chain before returning.transportStrategy - HttpExecutionStrategy for the transport, typically specified by the user in the
builders.HttpExecutionStrategyInfluencer which is the head of the influencer chain.public HttpExecutionStrategyInfluencer build()
HttpExecutionStrategyInfluencer that reflects the strategy of
the entire chain.HttpExecutionStrategyInfluencer which is the head of the influencer chain.public HttpExecutionStrategy requiredOffloads()
HttpExecutionStrategy for the entire chain.requiredOffloads in interface ExecutionStrategyInfluencer<HttpExecutionStrategy>HttpExecutionStrategy of the influencer chain.