public class GetBranch extends 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, IOException, PermissionBackendException
RestReadViewapply in interface RestReadView<BranchResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.ResourceNotFoundExceptionIOExceptionPermissionBackendException