java - Cloud enpoints methods visibility -


i'm developing android app google cloud endpoints, have read lot of documentation , tutorials it, there still 1 information missing: how can choose backend's methods visible android client ?
let's have friendshipendpoint, friendshipendpoint has method:

@apimethod(name = "listfriendship", path = "listfriendship") public collectionresponse<friendship> listfriendship(         @nullable @named("cursor") string cursorstring,         @nullable @named("limit") integer limit) 

edit friendshipendpoint annotated @api annotation

this method should visible in backend (not android client).

i have tried remove @apimethod anotation -> doesn't work, method still visible in api explorer in browser.
setting access modifier private not solution me, because want call method other endpoint.
removing access modifier no solution me, because need method visible other packages (test package).

is there solution problem @ ?

thank you

unfortunately, scenario not supported right now. best solution move method helper class , have shared among endpoint classes.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -