Global Path Annotation in Interface ? #3548
soumyadeep-ghosh
started this conversation in
General
Replies: 1 comment
-
|
thanks you ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Well I searched but was unable to get any as of now, but is it possible to add a Global Path like we can see in SpringBoot Controllers, where we annotate the class with @RequestMapping and all the functions are preeceded internally by the value mentioned in the parameters of @RequestMapping(value) ?
Something like this :
@global("user/")
public interface IService{
@get("details") ----> Internally would be like "user/details"
public Call getUserDetails();
@post("update") ----> Internally would be like "user/update"
public CallupdateUserDetails(@Body UpdateModel um);
}
Beta Was this translation helpful? Give feedback.
All reactions