info.magnolia.cms.util
Class RequestDispatchUtil

java.lang.Object
  extended by info.magnolia.cms.util.RequestDispatchUtil

public class RequestDispatchUtil
extends Object

Provides support for a simple syntax form of doing redirects and forwards. You pass it a url prefixed with either "redirect:", "permanent:" or "forward:". The context path is added to the url.

Author:
tmattsson

Constructor Summary
RequestDispatchUtil()
           
 
Method Summary
static boolean dispatch(String targetUri, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns true if processing took place, even if it fails.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestDispatchUtil

public RequestDispatchUtil()
Method Detail

dispatch

public static boolean dispatch(String targetUri,
                               javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
Returns true if processing took place, even if it fails.



Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.