Class ChangeEdits.Get
- java.lang.Object
-
- com.google.gerrit.server.restapi.change.ChangeEdits.Get
-
- All Implemented Interfaces:
RestReadView<ChangeEditResource>
,RestView<ChangeEditResource>
- Enclosing class:
- ChangeEdits
public static class ChangeEdits.Get extends Object implements RestReadView<ChangeEditResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<BinaryResult>
apply(ChangeEditResource rsrc)
Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public Response<BinaryResult> apply(ChangeEditResource rsrc) throws AuthException, IOException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<ChangeEditResource>
- Parameters:
rsrc
- resource to read.- 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
-
-