apply
public GetRelated.RelatedInfo apply(RevisionResource rsrc)
throws org.eclipse.jgit.errors.RepositoryNotFoundException,
java.io.IOException,
com.google.gwtorm.server.OrmException,
NoSuchProjectException,
PermissionBackendException
Process the view operation by reading from the resource.
- Specified by:
apply
in interface RestReadView<RevisionResource>
- Parameters:
rsrc
- resource to read.
- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion
to JSON.
- Throws:
org.eclipse.jgit.errors.RepositoryNotFoundException
java.io.IOException
com.google.gwtorm.server.OrmException
NoSuchProjectException
PermissionBackendException