info.magnolia.cms.util
Class RequestDispatchUtil
java.lang.Object
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.
- Version:
- $Id$
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 |
REDIRECT_PREFIX
public static final String REDIRECT_PREFIX
- See Also:
- Constant Field Values
PERMANENT_PREFIX
public static final String PERMANENT_PREFIX
- See Also:
- Constant Field Values
FORWARD_PREFIX
public static final String FORWARD_PREFIX
- See Also:
- Constant Field Values
RequestDispatchUtil
public RequestDispatchUtil()
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–2014 Magnolia International Ltd.. All rights reserved.