public interface PageResolver
for larger depth resolution than 1.
Modifier and Type | Method and Description |
---|---|
default boolean |
isAuthorized(Authentication auth,
RequestTarget target) |
Response |
resolve(Request request,
RequestTarget target)
Resolve the request to a response.
|
Response resolve(Request request, RequestTarget target) throws WebException
request
- Request in case it is useful for choosing page.target
- Rest of the target coordinates after this page has been solved.WebException
default boolean isAuthorized(Authentication auth, RequestTarget target) throws WebUserAuthException
WebUserAuthException