org.atmosphere.websocket
Class WebSocketResponseFilter.NoOpsWebSocketResponseFilter

java.lang.Object
  extended by org.atmosphere.websocket.WebSocketResponseFilter.NoOpsWebSocketResponseFilter
All Implemented Interfaces:
WebSocketResponseFilter
Enclosing interface:
WebSocketResponseFilter

public static final class WebSocketResponseFilter.NoOpsWebSocketResponseFilter
extends Object
implements WebSocketResponseFilter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.atmosphere.websocket.WebSocketResponseFilter
WebSocketResponseFilter.NoOpsWebSocketResponseFilter
 
Field Summary
 
Fields inherited from interface org.atmosphere.websocket.WebSocketResponseFilter
NOOPS_WebSocketResponseFilter
 
Constructor Summary
WebSocketResponseFilter.NoOpsWebSocketResponseFilter()
           
 
Method Summary
 byte[] filter(AtmosphereResponse r, byte[] message)
          Transform of filter the message, return a new one or the same
 byte[] filter(AtmosphereResponse r, byte[] message, int offset, int length)
          Transform of filter the message, return a new one or the same
 String filter(AtmosphereResponse r, String message)
          Transform of filter the message, return a new one or the same
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocketResponseFilter.NoOpsWebSocketResponseFilter

public WebSocketResponseFilter.NoOpsWebSocketResponseFilter()
Method Detail

filter

public String filter(AtmosphereResponse r,
                     String message)
Description copied from interface: WebSocketResponseFilter
Transform of filter the message, return a new one or the same

Specified by:
filter in interface WebSocketResponseFilter
message - the Websocket text message
Returns:
a new message

filter

public byte[] filter(AtmosphereResponse r,
                     byte[] message)
Description copied from interface: WebSocketResponseFilter
Transform of filter the message, return a new one or the same

Specified by:
filter in interface WebSocketResponseFilter
message - the Websocket bytes message
Returns:
a new message

filter

public byte[] filter(AtmosphereResponse r,
                     byte[] message,
                     int offset,
                     int length)
Description copied from interface: WebSocketResponseFilter
Transform of filter the message, return a new one or the same

Specified by:
filter in interface WebSocketResponseFilter
message - the Websocket bytes message
Returns:
a new message


Copyright © 2012. All Rights Reserved.