public class GetContent extends Object implements com.google.gerrit.extensions.restapi.RestReadView<FileResource>
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.restapi.BinaryResult |
apply(FileResource rsrc) |
com.google.gerrit.extensions.restapi.BinaryResult |
apply(com.google.gerrit.reviewdb.client.Project.NameKey project,
String revstr,
String path) |
public com.google.gerrit.extensions.restapi.BinaryResult apply(FileResource rsrc) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException, IOException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<FileResource>
com.google.gerrit.extensions.restapi.ResourceNotFoundException
IOException
public com.google.gerrit.extensions.restapi.BinaryResult apply(com.google.gerrit.reviewdb.client.Project.NameKey project, String revstr, String path) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException, IOException
com.google.gerrit.extensions.restapi.ResourceNotFoundException
IOException