org.atmosphere.client
Class FormParamFilter
java.lang.Object
org.atmosphere.client.FormParamFilter
- All Implemented Interfaces:
- BroadcastFilter
public class FormParamFilter
- extends Object
- implements BroadcastFilter
Simple Form param filter that remove the first part of the request body.
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormParamFilter
public FormParamFilter()
filter
public BroadcastFilter.BroadcastAction filter(Object originalMessage,
Object message)
- Description copied from interface:
BroadcastFilter
- Transform or Filter a message. Return BroadcastAction(ACTION.ABORT, message)
Broadcaster to discard the message, e.g to not broadcast it.
- Specified by:
filter in interface BroadcastFilter
- Parameters:
originalMessage - The original message which was Broadcaster.broadcast(Object);message - The transformed or not message.
- Returns:
- a transformed message.
Copyright © 2012. All Rights Reserved.