REQ - The type of the requestpublic class RedirectPage<REQ extends Request> extends Object implements Page<REQ>
| Constructor and Description |
|---|
RedirectPage(String originalPath,
String newPath)
Creates a new redirect page.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPath()
Returns the path of this page.
|
Response |
handleRequest(REQ request,
Response response)
Handles a request.
|
boolean |
isPrefixPage()
Returns whether this page handles all paths beginning with
Page.getPath() or whether this page only handles a single path. |
public String getPath()
public boolean isPrefixPage()
Page.getPath() or whether this page only handles a single path.isPrefixPage in interface Page<REQ extends Request>true if this page can handle multiple paths,
false if it handles only a single pathCopyright © 2026. All rights reserved.