org.apache.wicket.ajax
Class AjaxChannel

java.lang.Object
  extended by 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:

Author:
Martin Dilger
See Also:
Serialized Form

Nested Class Summary
static class AjaxChannel.Type
          The type of an AjaxChannel
 
Constructor Summary
AjaxChannel(String name)
          Construct.
AjaxChannel(String name, AjaxChannel.Type type)
          Construct.
 
Method Summary
 String getName()
           
 AjaxChannel.Type getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AjaxChannel

public AjaxChannel(String name)
Construct.

Parameters:
name -

AjaxChannel

public AjaxChannel(String name,
                   AjaxChannel.Type type)
Construct.

Parameters:
name - the name of the channel
type - the behavior type of this channel
Method Detail

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-2013 Apache Software Foundation. All Rights Reserved.