public class SetHead extends Object implements RestModifyView<ProjectResource,HeadInput>
Modifier and Type | Method and Description |
---|---|
String |
apply(ProjectResource rsrc,
HeadInput input)
Process the view operation by altering the resource.
|
public String apply(ProjectResource rsrc, HeadInput input) throws AuthException, ResourceNotFoundException, BadRequestException, UnprocessableEntityException, 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
IOException
PermissionBackendException