public class PutOptions extends java.lang.Object implements RestModifyView<GroupResource,GroupOptionsInfo>
Modifier and Type | Method and Description |
---|---|
GroupOptionsInfo |
apply(GroupResource resource,
GroupOptionsInfo input)
Process the view operation by altering the resource.
|
public GroupOptionsInfo apply(GroupResource resource, GroupOptionsInfo input) throws MethodNotAllowedException, AuthException, BadRequestException, ResourceNotFoundException, com.google.gwtorm.server.OrmException, java.io.IOException
RestModifyView
apply
in interface RestModifyView<GroupResource,GroupOptionsInfo>
resource
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.MethodNotAllowedException
ResourceNotFoundException
com.google.gwtorm.server.OrmException
java.io.IOException