public interface WebSocketFilter
Modifier and Type | Method and Description |
---|---|
void |
afterProcessingMessage(javax.websocket.Session websocketSession,
javax.servlet.http.HttpSession httpSession,
Map<Object,Object> sharedProperties,
String message)
Invoked after Errai has finished processing of the message.
|
void |
beforeProcessingMessage(javax.websocket.Session websocketSession,
javax.servlet.http.HttpSession httpSession,
Map<Object,Object> sharedProperties,
String message)
Invoked before Errai continues processing of the message.
|
void beforeProcessingMessage(javax.websocket.Session websocketSession, javax.servlet.http.HttpSession httpSession, Map<Object,Object> sharedProperties, String message)
websocketSession
- actual websocket sessionhttpSession
- actual http sessionsharedProperties
- map of user defined properties, they are kept alive during before
and after filter method invocation of all filters.message
- unaltered Errai message from the websocket text framevoid afterProcessingMessage(javax.websocket.Session websocketSession, javax.servlet.http.HttpSession httpSession, Map<Object,Object> sharedProperties, String message)
websocketSession
- actual websocket sessionhttpSession
- actual http sessionsharedProperties
- map of user defined properties, they are kept alive during before
and after filter method invocation of all filters.message
- unaltered Errai message from the websocket text frameCopyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.