path
, supplying missing elements to make it an absolute URL (i.e., specifying scheme, server, port, etc.). The 2.2 Servlet API will do this automatically, and a little more, according to the early documentation.
A subclass may override this method to implement redirection. Subclasses which have no need to do redirection may choose not to override this default implementation, which does nothing. For example, if a subclass wishes to write output to a file or is part of a testing harness, there may be no meaning to redirection.
Framework users who want to redirect should use a construction like RequestCycle.get().setRequestTarget(new RedirectRequestTarget(...));
or setResponsePage(new RedirectPage(...));
Redirects to the given url. Implementations should encode the URL to make sure cookie-less operation is supported in case clients forgot.
@param url The URL to redirect to
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|