Correct Javadoc of RestReadView in extension API
The resource parameter specifies the resource to be read, not the resource to be modified. Change-Id: I4010674a348cefad02c234118ff25cf332dd76b4
This commit is contained in:
@@ -23,7 +23,7 @@ public interface RestReadView<R extends RestResource> extends RestView<R> {
|
||||
/**
|
||||
* Process the view operation by reading from the resource.
|
||||
*
|
||||
* @param resource resource to modify.
|
||||
* @param resource resource to read.
|
||||
* @return result to return to the client. Use {@link BinaryResult} to avoid
|
||||
* automatic conversion to JSON.
|
||||
* @throws AuthException the client is not permitted to access this view.
|
||||
|
||||
Reference in New Issue
Block a user