public static final class InterceptorInvocationResult.InProgress extends InterceptorInvocationResult
InterceptorInvocationCompletedEvent
will be fired on the InterceptorInvocationActivity
when the interceptor completes.InterceptorInvocationResult.Completed, InterceptorInvocationResult.Failed, InterceptorInvocationResult.InProgress, InterceptorInvocationResult.Outcome
Constructor and Description |
---|
InterceptorInvocationResult.InProgress(int invocationID,
InterceptorInvocationActivity activity)
Create a new interceptor invocation in-progress result.
|
Modifier and Type | Method and Description |
---|---|
InterceptorInvocationActivity |
getActivity()
Get the
InterceptorInvocationActivity on which the InterceptorInvocationCompletedEvent
will be fired on when the interceptor completes. |
int |
getInvocationID()
Get the invocation id of this interceptor invocation.
|
String |
toString() |
getOutcome
public InterceptorInvocationResult.InProgress(int invocationID, InterceptorInvocationActivity activity)
invocationID
- interceptor invocation id.public int getInvocationID()
InterceptorInvocationCompletedEvent
fired when this interceptor invocation completes.public InterceptorInvocationActivity getActivity()
InterceptorInvocationActivity
on which the InterceptorInvocationCompletedEvent
will be fired on when the interceptor completes. If a non-null activity was passed to
InterceptorExtensionsProvider.invokeInterceptor(String, Object, InterceptorInvocationActivity)
then the same activity will be returned here. Otherwise, the calling SBB should attach to this activity
to received the event.InterceptorInvocationCompletedEvent
will be fired on when the
interceptor completed.