public class GetVersion extends java.lang.Object implements RestReadView<ConfigResource>
Constructor and Description |
---|
GetVersion() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(ConfigResource resource)
Process the view operation by reading from the resource.
|
public java.lang.String apply(ConfigResource resource) throws ResourceNotFoundException
RestReadView
apply
in interface RestReadView<ConfigResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.ResourceNotFoundException