public class GetPatch extends Object implements RestReadView<RevisionResource>
Modifier and Type | Method and Description |
---|---|
BinaryResult |
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.
|
GetPatch |
setPath(String path) |
public BinaryResult apply(RevisionResource rsrc) throws ResourceConflictException, IOException, ResourceNotFoundException
RestReadView
apply
in interface RestReadView<RevisionResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.IOException
ResourceNotFoundException