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