| 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 | Field and Description |
|---|---|
static MethodResult |
MethodResult.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
MethodResult |
SyncApiProvider.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx)
Invokes the specified operation using the provided input and
execution context.
|
MethodResult |
ApiProviderStubImpl.invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx)
Synchronous variant of
ApiProviderStubImpl.invoke(String, String, DataValue, ExecutionContext, AsyncHandle) |
static MethodResult |
MethodResult.newErrorResult(ErrorValue error)
Static factory method for creating
MethodResult instance
for error reported by method invocation |
static MethodResult |
MethodResult.newResult(DataValue output)
Static factory method for creating
MethodResult instance
for normal return value (as opposed to error) |
| 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 |
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.
|
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 |
|---|---|
MethodResult |
ResponsePostProcessor.handle(String serviceId,
String operationId,
MethodResult result,
com.vmware.vapi.internal.protocol.client.rpc.HttpResponse response)
Post-process
MethodResult before using it to complete operation invocation. |
| Modifier and Type | Method and Description |
|---|---|
MethodResult |
ResponsePostProcessor.handle(String serviceId,
String operationId,
MethodResult result,
com.vmware.vapi.internal.protocol.client.rpc.HttpResponse response)
Post-process
MethodResult before using it to complete operation invocation. |
| 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 |
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 |
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) |
Copyright © 2023. All rights reserved.