public class GetPatch extends java.lang.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(java.lang.String path) |
public BinaryResult apply(RevisionResource rsrc) throws ResourceConflictException, java.io.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.java.io.IOException
ResourceNotFoundException
public GetPatch setPath(java.lang.String path)