SPT Core API

com.sptci.echo2
Class RedirectListener

java.lang.Object
  extended by com.sptci.echo2.RedirectListener
All Implemented Interfaces:
Serializable, EventListener, ActionListener
Direct Known Subclasses:
LogoutListener

public class RedirectListener
extends Object
implements ActionListener

An action listener to redirect the client browser to url.

Copyright 2006 Sans Pareil Technologies, Inc.

Version:
$Id: RedirectListener.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2006-12-28
See Also:
Serialized Form

Constructor Summary
RedirectListener(String url)
          Create a new instance of the listener for the specified url.
 
Method Summary
 void actionPerformed(ActionEvent event)
          The action listener implementation.
protected  void redirect()
          Redirect the client browser to url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectListener

public RedirectListener(String url)
Create a new instance of the listener for the specified url.

Parameters:
url - The url to use.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
The action listener implementation. Redirect the client browser to url.

Specified by:
actionPerformed in interface ActionListener
See Also:
redirect()

redirect

protected void redirect()
Redirect the client browser to url.


SPT Core API