|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
AsyncIOWriter} and AtmosphereInterceptor instead.
public interface WebSocketResponseFilter
Implementation of this interface allow the customization of the WebSocket message before it gets send.
| Nested Class Summary | |
|---|---|
static class |
WebSocketResponseFilter.NoOpsWebSocketResponseFilter
Deprecated. |
| Field Summary | |
|---|---|
static WebSocketResponseFilter |
NOOPS_WebSocketResponseFilter
Deprecated. |
| Method Summary | |
|---|---|
byte[] |
filter(AtmosphereResponse r,
byte[] message)
Deprecated. Transform of filter the message, return a new one or the same |
byte[] |
filter(AtmosphereResponse r,
byte[] message,
int offset,
int length)
Deprecated. Transform of filter the message, return a new one or the same |
String |
filter(AtmosphereResponse r,
String message)
Deprecated. Transform of filter the message, return a new one or the same |
| Field Detail |
|---|
static final WebSocketResponseFilter NOOPS_WebSocketResponseFilter
| Method Detail |
|---|
String filter(AtmosphereResponse r,
String message)
message - the Websocket text message
byte[] filter(AtmosphereResponse r,
byte[] message)
message - the Websocket bytes message
byte[] filter(AtmosphereResponse r,
byte[] message,
int offset,
int length)
message - the Websocket bytes message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||