org.kohsuke.stapler.jelly
Class RedirectTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by org.kohsuke.stapler.jelly.RedirectTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

@NoContent
public class RedirectTag
extends org.apache.commons.jelly.TagSupport

Sends HTTP redirect.

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, parent
 
Constructor Summary
RedirectTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 void setUrl(java.lang.String url)
          Sets the target URL to redirect to.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectTag

public RedirectTag()
Method Detail

setUrl

@Required
public void setUrl(java.lang.String url)
Sets the target URL to redirect to. This just gets passed to StaplerResponse.sendRedirect2(String).


doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException


Copyright © 2011. All Rights Reserved.