org.cometd.server.filter
Interface DataFilter

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

public interface DataFilter


Nested Class Summary
static class DataFilter.Abort
          Abort the message by throwing this exception
 
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-2011 Dojo Foundation. All Rights Reserved.