@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface HttpApi
To simplified the urls, use prefix() attribute to set the prefix of url in @HttpReq. ie. http://localhost:8080
Those interfaces annotated by this annotation will be scanned by HttpApiConfigurer
so that users can autowire the interface.
public abstract java.lang.String value
prefix() is empty, this value will be usedCopyright © 2019. All Rights Reserved.