Uses of Class
com.sap.cloud.sdk.cloudplatform.thread.exception.ThreadContextExecutionException
Packages that use ThreadContextExecutionException
Package
Description
- 
Uses of ThreadContextExecutionException in com.sap.cloud.sdk.cloudplatform.requestheader
Methods in com.sap.cloud.sdk.cloudplatform.requestheader that throw ThreadContextExecutionExceptionModifier and TypeMethodDescriptionstatic voidRequestHeaderAccessor.executeWithFallbackHeaderContainer(Supplier<RequestHeaderContainer> headers, Executable executable) Runs the givenexecutablewith the givenheadersas a fallback option that should be used in case there is no currentRequestHeaderContainer.static <T> TRequestHeaderAccessor.executeWithFallbackHeaderContainer(Supplier<RequestHeaderContainer> headers, Callable<T> callable) Runs the givencallablewith the givenheadersas a fallback option that should be used in case there is no currentRequestHeaderContainer.static voidRequestHeaderAccessor.executeWithHeaderContainer(RequestHeaderContainer headers, Executable executable) Runs the givenexecutablewith the givenheadersavailable.static <T> TRequestHeaderAccessor.executeWithHeaderContainer(RequestHeaderContainer headers, Callable<T> callable) Runs the givencallablewith the givenheadersavailable and returns the result.static voidRequestHeaderAccessor.executeWithHeaderContainer(Map<String, String> headers, Executable executable) Runs the givenexecutablewith the givenheadersavailable.static <T> TRequestHeaderAccessor.executeWithHeaderContainer(Map<String, String> headers, Callable<T> callable) Runs the givencallablewith the givenheadersavailable and returns the result. - 
Uses of ThreadContextExecutionException in com.sap.cloud.sdk.cloudplatform.security
Methods in com.sap.cloud.sdk.cloudplatform.security that throw ThreadContextExecutionExceptionModifier and TypeMethodDescriptionstatic voidAuthTokenAccessor.executeWithAuthToken(AuthToken authToken, Executable executable) Execute the givenExecutablewith a given token.static <T> TAuthTokenAccessor.executeWithAuthToken(AuthToken authToken, Callable<T> callable) Execute the givenCallablewith a given token.protected <T> TDefaultAuthTokenFacade.executeWithAuthToken(AuthToken authToken, Callable<T> callable) static voidAuthTokenAccessor.executeWithFallbackAuthToken(Supplier<AuthToken> fallbackAuthToken, Executable executable) Execute the givenExecutable, using the given token as fallback if there is no other token available.static <T> TAuthTokenAccessor.executeWithFallbackAuthToken(Supplier<AuthToken> fallbackAuthToken, Callable<T> callable) Execute the givenCallable, using the given token as fallback if there is no other token available. - 
Uses of ThreadContextExecutionException in com.sap.cloud.sdk.cloudplatform.security.principal
Methods in com.sap.cloud.sdk.cloudplatform.security.principal that throw ThreadContextExecutionExceptionModifier and TypeMethodDescriptionstatic voidPrincipalAccessor.executeWithFallbackPrincipal(Supplier<Principal> fallbackPrincipal, Executable executable) Execute the givenExecutable, using the given principal as fallback if there is no other principal available.static <T> TPrincipalAccessor.executeWithFallbackPrincipal(Supplier<Principal> fallbackPrincipal, Callable<T> callable) Execute the givenCallable, using the given principal as fallback if there is no other principal available.static voidPrincipalAccessor.executeWithPrincipal(Principal principal, Executable executable) Execute the givenExecutableon behalf of a given principal.static <T> TPrincipalAccessor.executeWithPrincipal(Principal principal, Callable<T> callable) Execute the givenCallableon behalf of a given principal. - 
Uses of ThreadContextExecutionException in com.sap.cloud.sdk.cloudplatform.tenant
Methods in com.sap.cloud.sdk.cloudplatform.tenant that throw ThreadContextExecutionExceptionModifier and TypeMethodDescriptionstatic voidTenantAccessor.executeWithFallbackTenant(Supplier<Tenant> fallbackTenant, Executable executable) Execute the givenExecutable, using the given tenant as fallback if there is no other tenant available.static <T> TTenantAccessor.executeWithFallbackTenant(Supplier<Tenant> fallbackTenant, Callable<T> callable) Execute the givenCallable, using the given tenant as fallback if there is no other tenant available.static voidTenantAccessor.executeWithTenant(Tenant tenant, Executable executable) Execute the givenExecutableon behalf of a given tenant.static <T> TTenantAccessor.executeWithTenant(Tenant tenant, Callable<T> callable) Execute the givenCallableon behalf of a given tenant. - 
Uses of ThreadContextExecutionException in com.sap.cloud.sdk.cloudplatform.thread
Methods in com.sap.cloud.sdk.cloudplatform.thread that throw ThreadContextExecutionExceptionModifier and TypeMethodDescriptionvoidThreadContextExecutor.execute(Executable executable) Executes the givenExecutableas if it was called inside aThreadContext.<T> TExecutes the givenCallableas if it was called inside aThreadContext.