imitatefeign
Imitatefeign is a library that provides a declarative HTTP client pattern inspired by Netflix Feign. It allows developers to declare interfaces whose methods correspond to HTTP endpoints; at runtime, a dynamic proxy generates implementation that constructs and sends HTTP requests and deserializes responses into domain types. The primary goal is to reduce boilerplate code when integrating with remote REST services and to promote consistent error handling and configuration across clients.
Design and implementation: It uses interface-based contracts augmented with annotations to specify method, path, query, headers,
Features and scope: Common features include declarative method annotations, configurable HTTP timeouts, retry and circuit-breakers, custom
Usage and adoption: Often used in microservice architectures to generate REST clients with minimal code, enabling
See also: Feign, Retrofit, HTTP client libraries, declarative REST clients.