Package org.apache.myfaces.push.cdi
Class PushContextImpl
- java.lang.Object
- 
- org.apache.myfaces.push.cdi.PushContextImpl
 
- 
- All Implemented Interfaces:
- PushContext,- Serializable
 
 public class PushContextImpl extends Object implements PushContext - See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from interface jakarta.faces.push.PushContextENABLE_WEBSOCKET_ENDPOINT_PARAM_NAME, URI_PREFIX, WEBSOCKET_ENDPOINT_PORT_PARAM_NAME
 
- 
 - 
Constructor SummaryConstructors Constructor Description PushContextImpl(String channel)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetChannel()Set<Future<Void>>send(Object message)<S extends Serializable>
 Map<S,Set<Future<Void>>>send(Object message, Collection<S> users)<S extends Serializable>
 Set<Future<Void>>send(Object message, S user)
 
- 
- 
- 
Constructor Detail- 
PushContextImplpublic PushContextImpl(String channel) 
 
- 
 - 
Method Detail- 
getChannelpublic String getChannel() 
 - 
sendpublic <S extends Serializable> Set<Future<Void>> send(Object message, S user) - Specified by:
- sendin interface- PushContext
 
 - 
sendpublic <S extends Serializable> Map<S,Set<Future<Void>>> send(Object message, Collection<S> users) - Specified by:
- sendin interface- PushContext
 
 
- 
 
-