org.cometd.server.filter
Interface DataFilter

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

public interface DataFilter


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

Method Detail

filter

Object filter(ServerSession from,
              ServerChannel channel,
              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.