Class Stars.Post
- java.lang.Object
-
- com.google.gerrit.server.restapi.account.Stars.Post
-
- All Implemented Interfaces:
RestModifyView<AccountResource.Star,StarsInput>
,RestView<AccountResource.Star>
- Enclosing class:
- Stars
public static class Stars.Post extends Object implements RestModifyView<AccountResource.Star,StarsInput>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
apply(AccountResource.Star rsrc, StarsInput in)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Collection<String> apply(AccountResource.Star rsrc, StarsInput in) throws AuthException, BadRequestException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<AccountResource.Star,StarsInput>
- Parameters:
rsrc
- resource to modify.in
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this view.
-
-