public class SetHead extends java.lang.Object implements RestModifyView<ProjectResource,HeadInput>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(ProjectResource rsrc,
HeadInput input)
Process the view operation by altering the resource.
|
public java.lang.String apply(ProjectResource rsrc, HeadInput input) throws AuthException, ResourceNotFoundException, BadRequestException, UnprocessableEntityException, java.io.IOException, PermissionBackendException
RestModifyView
apply
in interface RestModifyView<ProjectResource,HeadInput>
rsrc
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.ResourceNotFoundException
UnprocessableEntityException
java.io.IOException
PermissionBackendException