Class RedirectTag

All Implemented Interfaces:
HrefAttribute, PageAttribute, ParamsAttribute, DynamicAttributes, JspTag, SimpleTag

public class RedirectTag extends DispatchTag implements HrefAttribute
AO Industries, Inc.
  • Constructor Details

    • RedirectTag

      public RedirectTag()
  • Method Details

    • isValidStatusCode

      public static boolean isValidStatusCode(String statusCode)
    • setStatusCode

      public void setStatusCode(String statusCode)
    • setHref

      public void setHref(String href)
      Specified by:
      setHref in interface HrefAttribute
    • setAbsolute

      public void setAbsolute(boolean absolute)
    • setCanonical

      public void setCanonical(boolean canonical)
    • setAddLastModified

      public void setAddLastModified(String addLastModified)
    • getClearParamsMatcher

      protected WildcardPatternMatcher getClearParamsMatcher()
      Specified by:
      getClearParamsMatcher in class DispatchTag
    • getArgs

      protected Map<String,?> getArgs()
      args will be set to null to simulate initial request conditions of a redirect as well as possible.
      Specified by:
      getArgs in class DispatchTag
    • doTag

      protected void doTag(String servletPath) throws IOException, JspException, SkipPageException
      Description copied from class: DispatchTag
      Subclass hook to intercept request after servlet paths have been determined and before dispatch is called.

      This default implementation does nothing.

      doTag in class DispatchTag
      SkipPageException - If the implementation has handled the request, must throw SkipPageException.