public class EndpointIfAlreadyExists extends Object implements Fallback<URI>, InvocationContext<EndpointIfAlreadyExists>
| Constructor and Description |
|---|
EndpointIfAlreadyExists() |
| Modifier and Type | Method and Description |
|---|---|
URI |
createOrPropagate(Throwable t)
The exception is provided so that the
Fallback implementation can
conditionally determine whether to propagate the exception or to attempt
to recover. |
EndpointIfAlreadyExists |
setContext(HttpRequest request) |
public URI createOrPropagate(Throwable t) throws Exception
FallbackFallback implementation can
conditionally determine whether to propagate the exception or to attempt
to recover.createOrPropagate in interface Fallback<URI>t - the exception that made the call fail.Exceptionpublic EndpointIfAlreadyExists setContext(HttpRequest request)
setContext in interface InvocationContext<EndpointIfAlreadyExists>Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.