public class AddSshKey extends Object implements RestCollectionModifyView<AccountResource,AccountResource.SshKey,SshKeyInput>
Modifier and Type | Method and Description |
---|---|
Response<SshKeyInfo> |
apply(AccountResource rsrc,
SshKeyInput input) |
Response<SshKeyInfo> |
apply(IdentifiedUser user,
SshKeyInput input) |
public Response<SshKeyInfo> apply(AccountResource rsrc, SshKeyInput input) throws AuthException, BadRequestException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
apply
in interface RestCollectionModifyView<AccountResource,AccountResource.SshKey,SshKeyInput>
AuthException
BadRequestException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
public Response<SshKeyInfo> apply(IdentifiedUser user, SshKeyInput input) throws BadRequestException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
BadRequestException
IOException
org.eclipse.jgit.errors.ConfigInvalidException