Package org.zalando.riptide.failsafe
Class FailsafePlugin
java.lang.Object
org.zalando.riptide.failsafe.FailsafePlugin
- All Implemented Interfaces:
Plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaroundAsync(RequestExecution execution) withDecorator(TaskDecorator decorator) withExecutor(ExecutorService executorService) withPolicy(dev.failsafe.Policy<org.springframework.http.client.ClientHttpResponse> policy) withPolicy(dev.failsafe.Policy<org.springframework.http.client.ClientHttpResponse> policy, Predicate<RequestArguments> predicate) withPolicy(RequestPolicy policy) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zalando.riptide.Plugin
aroundDispatch, aroundNetwork, aroundSerialization
-
Constructor Details
-
FailsafePlugin
public FailsafePlugin()
-
-
Method Details
-
withPolicy
public FailsafePlugin withPolicy(dev.failsafe.Policy<org.springframework.http.client.ClientHttpResponse> policy) -
withPolicy
public FailsafePlugin withPolicy(dev.failsafe.Policy<org.springframework.http.client.ClientHttpResponse> policy, Predicate<RequestArguments> predicate) -
withPolicy
-
withExecutor
-
withDecorator
-
aroundAsync
- Specified by:
aroundAsyncin interfacePlugin
-