public class GetCommit extends Object implements RestReadView<RevisionResource>
Modifier and Type | Method and Description |
---|---|
Response<CommitInfo> |
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.
|
public Response<CommitInfo> apply(RevisionResource rsrc) throws IOException
RestReadView
apply
in interface RestReadView<RevisionResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.IOException