org.mortbay.cometd
Interface DataFilter
- All Known Implementing Classes:
- JSONDataFilter, NoMarkupFilter, NoScriptsFilter, RegexFilter
public interface DataFilter
Data Filter
Data filters are used to transform data as it is sent to a Channel.
- Author:
- gregw
init
void init(Object init)
filter
Object filter(Object data,
Client from)
throws IllegalStateException
- Parameters:
data
- from
-
- Returns:
- The filtered data.
- Throws:
IllegalStateException
- If the message should be aborted
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.