public static class ServiceEndpoint.ServiceEndpointBuilder extends Object implements ServiceEndpointMediators.FromCreate, ServiceEndpointMediators.FromAt, ServiceEndpointMediators.FromDestination, ServiceEndpointMediators.FromPath, ServiceEndpointMediators.FromCodeChecker, ServiceEndpointMediators.FromRetry, ServiceEndpointMediators.FromReturnCodes, ServiceEndpointMediators.FromConfig, ServiceEndpointMediators.FromDoNotRetry, ServiceEndpointMediators.End
| Modifier and Type | Method and Description |
|---|---|
ServiceEndpointMediators.FromAt |
at(String baseUrl) |
ServiceEndpointMediators.FromConfig |
config(ResilienceConfig resilienceConfig) |
static ServiceEndpointMediators.FromCreate |
createBuilder() |
ServiceEndpointMediators.FromDestination |
destinationName(String destinationName) |
ServiceEndpointMediators.FromDoNotRetry |
doNotRetry() |
ServiceEndpoint |
end() |
ServiceEndpointMediators.FromReturnCodes |
forReturnCodes(Integer... returnCodes) |
ServiceEndpointMediators.FromReturnCodes |
forReturnCodes(List<Integer> returnCodes) |
ServiceEndpointMediators.FromReturnCodes |
forReturnCodes(Set<Integer> returnCodes) |
ServiceEndpointMediators.FromPath |
path(String path) |
ServiceEndpointMediators.FromRetry |
retry() |
ServiceEndpointMediators.FromCodeChecker |
returnCodeChecker(IntFunction<Exception> checkFunction) |
ServiceEndpointMediators.FromCodeChecker |
throwNoExceptionForReturnCode() |
public static ServiceEndpointMediators.FromCreate createBuilder()
public ServiceEndpointMediators.FromAt at(String baseUrl)
at in interface ServiceEndpointMediators.FromCreatepublic ServiceEndpointMediators.FromDestination destinationName(String destinationName)
destinationName in interface ServiceEndpointMediators.FromAtpublic ServiceEndpointMediators.FromPath path(String path)
path in interface ServiceEndpointMediators.FromDestinationpublic ServiceEndpointMediators.FromCodeChecker returnCodeChecker(IntFunction<Exception> checkFunction)
returnCodeChecker in interface ServiceEndpointMediators.FromPathpublic ServiceEndpointMediators.FromCodeChecker throwNoExceptionForReturnCode()
throwNoExceptionForReturnCode in interface ServiceEndpointMediators.FromPathpublic ServiceEndpointMediators.FromRetry retry()
retry in interface ServiceEndpointMediators.FromCodeCheckerpublic ServiceEndpointMediators.FromDoNotRetry doNotRetry()
doNotRetry in interface ServiceEndpointMediators.FromCodeCheckerpublic ServiceEndpointMediators.FromReturnCodes forReturnCodes(Set<Integer> returnCodes)
forReturnCodes in interface ServiceEndpointMediators.FromRetrypublic ServiceEndpointMediators.FromReturnCodes forReturnCodes(List<Integer> returnCodes)
forReturnCodes in interface ServiceEndpointMediators.FromRetrypublic ServiceEndpointMediators.FromReturnCodes forReturnCodes(Integer... returnCodes)
forReturnCodes in interface ServiceEndpointMediators.FromRetrypublic ServiceEndpointMediators.FromConfig config(ResilienceConfig resilienceConfig)
config in interface ServiceEndpointMediators.FromReturnCodespublic ServiceEndpoint end() throws InternalException
end in interface ServiceEndpointMediators.EndInternalExceptionCopyright © 2022 SAP. All rights reserved.