Class GetSshKey
- java.lang.Object
-
- com.google.gerrit.server.restapi.account.GetSshKey
-
- All Implemented Interfaces:
RestReadView<AccountResource.SshKey>
,RestView<AccountResource.SshKey>
public class GetSshKey extends Object implements RestReadView<AccountResource.SshKey>
-
-
Constructor Summary
Constructors Constructor Description GetSshKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SshKeyInfo
apply(AccountResource.SshKey rsrc)
Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public SshKeyInfo apply(AccountResource.SshKey rsrc)
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<AccountResource.SshKey>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON.
-
-