org.riotfamily.website.misc
Class QuickjumpController
java.lang.Object
org.riotfamily.website.misc.QuickjumpController
- All Implemented Interfaces:
- Controller
public class QuickjumpController
- extends Object
- implements Controller
Controller that can be used as action for a quick-jump form.
The controller reads a URL from a request parameter and send a redirect to
that URL. If the parameter is either null
, an empty string or
starts with with a hash character ('#'), a 204 No Content
response is sent.
- Author:
- Felix Gnass [fgnass at neteye dot de]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuickjumpController
public QuickjumpController()
setUrlParameter
public void setUrlParameter(String urlParameter)
handleRequest
public ModelAndView handleRequest(HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Specified by:
handleRequest
in interface Controller
- Throws:
Exception