public class GetHead extends Object implements RestReadView<ProjectResource>
| Modifier and Type | Method and Description |
|---|---|
String |
apply(ProjectResource rsrc)
Process the view operation by reading from the resource.
|
public String apply(ProjectResource rsrc) throws AuthException, ResourceNotFoundException, IOException, PermissionBackendException
RestReadViewapply in interface RestReadView<ProjectResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.AuthException - the client is not permitted to access this view.ResourceNotFoundExceptionIOExceptionPermissionBackendException