REQ - The type of the requestpublic interface Page<REQ extends Request>
| 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
getPath() or whether this page only handles a single path. |
String getPath()
boolean isPrefixPage()
getPath() or whether this page only handles a single path.true if this page can handle multiple paths,
false if it handles only a single pathResponse handleRequest(REQ request, Response response) throws IOException
request - The request to handleresponse - The responseIOException - if an I/O error occursCopyright © 2026. All rights reserved.