Package de.xima.fc.proma.context
Class PromaInvocationContexts
- java.lang.Object
-
- de.xima.fc.proma.context.PromaInvocationContexts
-
public final class PromaInvocationContexts extends Object
Static factory methods for various differentIPublicPromaInvocationContext
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPublicNativeSyncContext
publicNative(UserContext uc)
static IPublicNativeSyncContextBuilder
publicNativeBuilder()
static IPublicAsyncWebSocketContext
publicWebSocketAsync(UserContext uc)
static IPublicAsyncWebSocketContextBuilder
publicWebSocketBuilderAsync()
static IPublicSyncWebSocketContextBuilder
publicWebSocketBuilderSync()
static IPublicSyncWebSocketContext
publicWebSocketSync(UserContext uc)
-
-
-
Method Detail
-
publicNative
public static IPublicNativeSyncContext publicNative(UserContext uc)
- Parameters:
uc
- User context of the user who initiated the interaction with the PROMA API.- Returns:
- A new native sync invocation context with the default settings, plus the given user context
- See Also:
IPublicNativeSyncContext
-
publicNativeBuilder
public static IPublicNativeSyncContextBuilder publicNativeBuilder()
- Returns:
- A new builder for configuring and creating an instance of a native sync invocation context.
- See Also:
IPublicNativeSyncContext
-
publicWebSocketAsync
public static IPublicAsyncWebSocketContext publicWebSocketAsync(UserContext uc)
- Parameters:
uc
- User context of the user who initiated the interaction with the PROMA API.- Returns:
- A new web socket sync invocation context with the default settings, plus the given user context
- See Also:
IPublicAsyncWebSocketContext
-
publicWebSocketBuilderAsync
public static IPublicAsyncWebSocketContextBuilder publicWebSocketBuilderAsync()
- Returns:
- A new builder for configuring and creating an instance of a native async web socket invocation context.
- See Also:
IPublicAsyncWebSocketContext
-
publicWebSocketSync
public static IPublicSyncWebSocketContext publicWebSocketSync(UserContext uc)
- Parameters:
uc
- User context of the user who initiated the interaction with the PROMA API.- Returns:
- A new web socket sync invocation context with the default settings, plus the given user context
- See Also:
IPublicAsyncWebSocketContext
-
publicWebSocketBuilderSync
public static IPublicSyncWebSocketContextBuilder publicWebSocketBuilderSync()
- Returns:
- A new builder for configuring and creating an instance of a native async web socket invocation context.
- See Also:
IPublicAsyncWebSocketContext
-
-