public class GetBranch extends java.lang.Object implements RestReadView<BranchResource>
| Modifier and Type | Method and Description |
|---|---|
BranchInfo |
apply(BranchResource rsrc)
Process the view operation by reading from the resource.
|
public BranchInfo apply(BranchResource rsrc) throws ResourceNotFoundException, java.io.IOException, PermissionBackendException
RestReadViewapply in interface RestReadView<BranchResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.ResourceNotFoundExceptionjava.io.IOExceptionPermissionBackendException