public class PutStatus extends java.lang.Object implements RestModifyView<AccountResource,StatusInput>
Modifier and Type | Method and Description |
---|---|
Response<java.lang.String> |
apply(AccountResource rsrc,
StatusInput input)
Process the view operation by altering the resource.
|
Response<java.lang.String> |
apply(IdentifiedUser user,
StatusInput input) |
public Response<java.lang.String> apply(AccountResource rsrc, StatusInput input) throws AuthException, ResourceNotFoundException, java.io.IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException
RestModifyView
apply
in interface RestModifyView<AccountResource,StatusInput>
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.ResourceNotFoundException
java.io.IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
public Response<java.lang.String> apply(IdentifiedUser user, StatusInput input) throws ResourceNotFoundException, java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
ResourceNotFoundException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException