Package de.xima.fc.proma.context
Interface IPublicSyncWebSocketContext
-
- All Superinterfaces:
IPublicPromaInvocationContext
,IPublicPromaInvocationContextSync
public interface IPublicSyncWebSocketContext extends IPublicPromaInvocationContextSync
A specific type ofIPublicPromaInvocationContext
intended UI handling code within the Java Server Faces framework. It uses web sockets to send HTTP requests via the browser. Instances of this invocation context MUST not be cached or reused, create a new instance when you need a new context.Furthermore, this invocation context must be created within an active Faces context, e.g. within a view bean etc. Failure to do so will result in an exception. However, the resulting invocation context can be used to handle the response of a PROMA API call result, even if that response is received within a different thread (as long as the web socket session to the user is still active, which it needs to be or no response would have been received).
- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
-
Methods inherited from interface de.xima.fc.proma.context.IPublicPromaInvocationContext
binaryTimeout, bundle, combinedTimeout, entityContextFactory, sendsRequestsViaClient, stages, timeout, userContext
-
Methods inherited from interface de.xima.fc.proma.context.IPublicPromaInvocationContextSync
invoker
-
-