public class ServerTabJSONResolver<T> extends java.lang.Object implements PageResolver
Constructor and Description |
---|
ServerTabJSONResolver(DataID dataID,
Identifiers identifiers,
ServerTabJSONCreator<T> jsonCreator) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAuthorized(Authentication auth,
RequestTarget target) |
Response |
resolve(Request request,
RequestTarget target)
Resolve the request to a response.
|
public ServerTabJSONResolver(DataID dataID, Identifiers identifiers, ServerTabJSONCreator<T> jsonCreator)
public Response resolve(Request request, RequestTarget target) throws WebException
PageResolver
resolve
in interface PageResolver
request
- Request in case it is useful for choosing page.target
- Rest of the target coordinates after this page has been solved.WebException
public boolean isAuthorized(Authentication auth, RequestTarget target) throws WebUserAuthException
isAuthorized
in interface PageResolver
WebUserAuthException