Annotation Interface HttpRoute
Русский: Аннотация указывает что метод является HTTP операцией и определяет ее путь и тип
English: Annotation specifies that the method is an HTTP operation and defines its path and type
Пример / Example:
English: Annotation specifies that the method is an HTTP operation and defines its path and type
Пример / Example:
@HttpClient("my.config")
public interface MyHttpClient {
@HttpRoute(method = "GET", path = "/username")
String getUserCode();
}
-
Required Element Summary
Required Elements