apply
public java.util.List<ProjectWatchInfo> apply(AccountResource rsrc)
throws AuthException,
java.io.IOException,
org.eclipse.jgit.errors.ConfigInvalidException,
PermissionBackendException,
ResourceNotFoundException
Process the view operation by reading from the resource.
- Specified by:
apply
in interface RestReadView<AccountResource>
- Parameters:
rsrc
- resource to read.
- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion
to JSON.
- Throws:
AuthException
- the client is not permitted to access this view.
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
ResourceNotFoundException