info.magnolia.cms.util
Class RequestDispatchUtil
java.lang.Object
info.magnolia.cms.util.RequestDispatchUtil
public class RequestDispatchUtil
- extends java.lang.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
Method Summary |
static boolean |
dispatch(java.lang.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 |
REDIRECT_PREFIX
public static final java.lang.String REDIRECT_PREFIX
- See Also:
- Constant Field Values
PERMANENT_PREFIX
public static final java.lang.String PERMANENT_PREFIX
- See Also:
- Constant Field Values
FORWARD_PREFIX
public static final java.lang.String FORWARD_PREFIX
- See Also:
- Constant Field Values
RequestDispatchUtil
public RequestDispatchUtil()
dispatch
public static boolean dispatch(java.lang.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.