public class GetContent extends java.lang.Object implements RestReadView<FileResource>
| Modifier and Type | Method and Description | 
|---|---|
BinaryResult | 
apply(FileResource rsrc)
Process the view operation by reading from the resource. 
 | 
public BinaryResult apply(FileResource rsrc) throws ResourceNotFoundException, BadRequestException, java.io.IOException
RestReadViewapply in interface RestReadView<FileResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
     to JSON.BadRequestException - the request was incorrectly specified and cannot be handled by this
     view.ResourceNotFoundExceptionjava.io.IOException