| Modifier and Type | Method and Description |
|---|---|
void |
DynamicAuthnFilter.invoke(String service,
String operation,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle)
Invokes the decorated provider and in case of
Unauthenticated
error retries the request with refreshed ExecutionContext.SecurityContext. |
protected void |
DynamicAuthnFilter.invokeNext(String service,
String operation,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> handle) |
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncHandleSyncAdapter<T>
This utility provides a synchronous view of an
AsyncHandle. |
| Modifier and Type | Method and Description |
|---|---|
Consumer<AsyncHandle<MethodResult>> |
MethodResult.getNext()
Returns the handle to receive the next
AsyncHandle or
null. |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiProviderStubImpl.getDefinition(ExecutionContext ctx,
AsyncHandle<ProviderDefinition> asyncHandle) |
void |
ApiProviderStubImpl.getInterface(ExecutionContext ctx,
InterfaceIdentifier iface,
AsyncHandle<InterfaceDefinition> asyncHandle) |
void |
ApiProviderStubImpl.getInterfaceIdentifiers(ExecutionContext ctx,
AsyncHandle<Set<InterfaceIdentifier>> asyncHandle) |
void |
ApiProviderStubImpl.getMethod(ExecutionContext ctx,
MethodIdentifier method,
AsyncHandle<MethodDefinition> asyncHandle) |
void |
DecoratorApiProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
void |
ApiProviderStubImpl.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
void |
ApiProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle)
Invokes the specified operation using the provided input and
execution context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MethodResult.setNext(Consumer<AsyncHandle<MethodResult>> next)
Sets the
Consumer for the next frame of the result |
| Constructor and Description |
|---|
MethodResult(DataValue output,
ErrorValue error,
Consumer<AsyncHandle<MethodResult>> next)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApiMethodBasedApiInterface.invoke(ExecutionContext ctx,
MethodIdentifier methodId,
DataValue input,
AsyncHandle<MethodResult> asyncHandle) |
void |
ApiInterface.invoke(ExecutionContext ctx,
MethodIdentifier methodId,
DataValue input,
AsyncHandle<MethodResult> asyncHandle)
Invokes a method and returns the result of that method invocation.
|
void |
ApiMethod.invoke(InvocationContext ctx,
DataValue input,
AsyncHandle<MethodResult> asyncHandle)
Invokes a method and returns the result of that method invocation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApiAggregator.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiIntrospection.getDefinition(ExecutionContext ctx,
AsyncHandle<ProviderDefinition> asyncHandle)
Returns the definition for this API provider.
|
void |
ApiIntrospection.getInterface(ExecutionContext ctx,
InterfaceIdentifier ifaceId,
AsyncHandle<InterfaceDefinition> asyncHandle)
Returns interface definition for a given interface identifier.
|
void |
ApiIntrospection.getInterfaceIdentifiers(ExecutionContext ctx,
AsyncHandle<Set<InterfaceIdentifier>> asyncHandle)
Returns the set of interface identifiers supported by this provider.
|
void |
ApiIntrospection.getMethod(ExecutionContext ctx,
MethodIdentifier methodId,
AsyncHandle<MethodDefinition> asyncHandle)
Returns method definitions for a given method identifier.
|
void |
ErrorAugmentingFilter.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
LocalProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationHandler.authenticate(ExecutionContext.SecurityContext ctx,
AsyncHandle<AuthenticationHandler.AuthenticationResult> asyncHandle)
Verifies the provided authentication data against the relevant identity
source.
|
void |
AuthenticationFilter.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
ActivationFilter.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle) |
| Modifier and Type | Class and Description |
|---|---|
class |
DecoratorAsyncHandle<T>
Utility which decorates an existing async handle.
|
| Modifier and Type | Field and Description |
|---|---|
protected AsyncHandle<T> |
DecoratorAsyncHandle.decorated |
| Constructor and Description |
|---|
DecoratorAsyncHandle(AsyncHandle<T> decorated)
Creates a decorator around the specified handle.
|
Copyright © 2023. All rights reserved.