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