5 مستودعات
Frameworks for defining network endpoints via annotations.
Distinguishing note: Focuses on the declarative interface style.
Explore 5 awesome GitHub repositories matching web development · Declarative API Clients. Refine with filters or upvote what's useful.
Retrofit is a type-safe HTTP client that simplifies network communication by allowing developers to define API endpoints as interface methods. By using annotation-driven request mapping, it automatically translates these interface definitions into structured HTTP requests, ensuring consistent data structures and reducing manual configuration when interacting with remote web services. The project distinguishes itself through a highly modular architecture that separates network transport from data handling. It utilizes dynamic proxy generation to process method calls at runtime and offers a plu
Defines HTTP endpoints using annotations for clean networking code.
PiggyMetrics is a demonstration project that illustrates a complete microservice architecture built with Spring Boot, Spring Cloud, and Docker, centered around a personal finance tracking application. It records incomes, expenses, and savings for individual accounts while computing spending statistics and time-series data to track cash flow dynamics over time. The project showcases a full Spring Cloud service mesh, including an API gateway for request routing, service discovery for dynamic instance location, and a centralized configuration server that manages application settings from a singl
Declares REST clients as Java interfaces that automatically integrate with load balancing and circuit breaking.
Feign هو عميل HTTP تعريفي (declarative) بلغة Java يقوم بأتمتة إنشاء عملاء خدمات الويب. يسمح للمطورين بتعريف نقاط نهاية REST API باستخدام الواجهات والتعليقات التوضيحية (annotations)، مما يلغي الحاجة إلى كتابة كود متكرر (boilerplate) للطلبات والاستجابات يدوياً. يستخدم المشروع وكلاء ديناميكيين (dynamic proxies) لتعيين استدعاءات الأساليب إلى قوالب طلبات HTTP. يتميز بخط أنابيب قابل للتوصيل من المشفرات وفك التشفير لتحويل كائنات Java إلى أجسام طلبات وتحويل أجسام الاستجابة مرة أخرى إلى كائنات آمنة النوع (type-safe). تغطي المكتبة مجموعة واسعة من قدرات التكامل، بما في ذلك اعتراض الطلبات لإدارة الرؤوس، ومنطق إعادة المحاولة القائم على الاستراتيجية لاستهلاك الخدمة المرن، وتوسيع القوالب لعناوين URI. كما توفر أدوات لتسجيل سجلات حركة مرور HTTP وجمع مقاييس أداء العميل.
Allows the definition of network endpoints using a declarative interface style with annotations.
Feign is a declarative Java HTTP client framework that maps method signatures to REST API requests. It functions as an HTTP interface mapper, allowing the creation of type-safe clients by defining service interfaces with annotations to eliminate manual request logic. The framework features a pluggable HTTP transport layer, which decouples request definition from execution by routing network traffic through interchangeable underlying HTTP engines. It provides a comprehensive request management pipeline including interceptors for modifying headers, policy-driven retry logic for failure recover
Implements a declarative style for defining network endpoints and mapping method signatures to REST API requests via annotations.
SpringCloud-Learning is an educational project that demonstrates how to build microservices using Spring Cloud, covering the core patterns of service discovery, centralized configuration management, and API gateway routing. The project provides hands-on examples for registering and discovering microservice instances with Nacos, Eureka, or Consul, and for routing external API requests through Spring Cloud Gateway with support for filters and load balancing. The tutorials explore service resilience through circuit breakers and rate limiting with Sentinel and Hystrix, including custom fallback l
Defines Java interfaces annotated with HTTP method mappings that generate remote API client implementations.