public class GetArchive 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.
|
public BinaryResult apply(RevisionResource rsrc) throws BadRequestException, java.io.IOException, MethodNotAllowedException
RestReadView
apply
in interface RestReadView<RevisionResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.java.io.IOException
MethodNotAllowedException