public class GetArchive extends 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, IOException, MethodNotAllowedException
RestReadViewapply 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.IOExceptionMethodNotAllowedException