org.apache.wicket.ajax
Class AjaxChannel
java.lang.Object
org.apache.wicket.ajax.AjaxChannel
- All Implemented Interfaces:
- Serializable, IClusterable
public class AjaxChannel
- extends Object
- implements IClusterable
A Channel used to define how Ajax requests are processed at the client side.
Channels are either:
- queueing - Ajax requests are kept in a Queue at the client side and processed one at a time.
Default.
- dropping - only the last Ajax request is processed, all previously scheduled requests are discarded
- active - discards any Ajax requests if there is a running Ajax request on the same channel
- Author:
- Martin Dilger
- See Also:
- Serialized Form
AjaxChannel
public AjaxChannel(String name)
- Construct.
- Parameters:
name
-
AjaxChannel
public AjaxChannel(String name,
AjaxChannel.Type type)
- Construct.
- Parameters:
name
- the name of the channeltype
- the behavior type of this channel
getName
public String getName()
- Returns:
- the name
getType
public AjaxChannel.Type getType()
- Returns:
- the type of this channel
- See Also:
AjaxChannel.Type
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.