Class Index
- java.lang.Object
-
- com.google.gerrit.server.restapi.group.Index
-
- All Implemented Interfaces:
RestModifyView<GroupResource,Input>
,RestView<GroupResource>
public class Index extends Object implements RestModifyView<GroupResource,Input>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<?>
apply(GroupResource rsrc, Input input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response<?> apply(GroupResource rsrc, Input input) throws IOException, AuthException, UnprocessableEntityException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<GroupResource,Input>
- Parameters:
rsrc
- resource to modify.input
- 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.IOException
UnprocessableEntityException
-
-