org.cometd.server.filter
Interface DataFilter

All Known Implementing Classes:
JSONDataFilter, NoMarkupFilter, NoScriptsFilter, RegexFilter

public interface DataFilter


Method Summary
 java.lang.Object filter(ServerSession from, ServerChannel channel, java.lang.Object data)
           
 

Method Detail

filter

java.lang.Object filter(ServerSession from,
                        ServerChannel channel,
                        java.lang.Object data)
Parameters:
from - the Client that sends the data
channel - the channel the data is being sent to
data - the data being sent
Returns:
the transformed data or null if the message should be aborted


Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.