I am using OAuth with my app-engine server. It's rather simple to do, simple add User
as one of the parameters. But when I do I get the compile error
Multiple entity parameters. there can only be a single entity parameter per method...
@ApiMethod(path = "updateDocument", name = "updateDocument", httpMethod = ApiMethod.HttpMethod.POST)
public void updateDocument(User user, MyDocument input){
...
}
It works fine for the methods of the form
public MyBean sayHiUser(@Named("name") String name, User user)
It just doesn't work when I have custom objects like MyDocument
.