Annotation Interface HttpClient
Русский: Аннотация указывает что интерфейс является HTTP клиентом и отвечает за взаимодействие с внешним сервисом.
English: The annotation indicates that the interface is an HTTP client and is responsible for interacting with an external service.
Пример / Example:
English: The annotation indicates that the interface is an HTTP client and is responsible for interacting with an external service.
Пример / Example:
@HttpClient("my.config")
public interface MyHttpclient {
}
-
Element Details
-
configPath
String configPath- Returns:
- Русский: Указывает путь конфигурации HTTP клиента
English: Specifies the configuration path of the HTTP client
- Default:
- ""
-
telemetryTag
Class<?>[] telemetryTag- Returns:
- Русский: Теги
Tagдля собственной телеметрии
English: TagsTagfor your own telemetry
- Default:
- {}
-
httpClientTag
Class<?>[] httpClientTag- Default:
- {}
-