Tag

Retrofit

1 views collected around this technical thread.

Code Ape Tech Column
Code Ape Tech Column
Jun 8, 2025 · Backend Development

Boost Your Spring Boot HTTP Calls with retrofit‑spring‑boot‑starter – A Complete Guide

This article introduces the lightweight retrofit‑spring‑boot‑starter for Spring Boot, explains its key features such as custom OkHttpClient, annotation‑based interceptors, logging, retry, circuit‑breaker support, and shows step‑by‑step configuration, dependency setup, and code examples for building robust HTTP client services.

HTTP ClientInterceptorJava
0 likes · 23 min read
Boost Your Spring Boot HTTP Calls with retrofit‑spring‑boot‑starter – A Complete Guide
Architect's Tech Stack
Architect's Tech Stack
Jun 4, 2025 · Backend Development

Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features

This article introduces the Retrofit Spring Boot Starter, a lightweight HTTP client framework for Spring Boot that simplifies HTTP request handling, supports custom OkHttpClient injection, annotation‑based interceptors, logging, retry, error decoding, circuit‑breaker integration, connection‑pool management, global interceptors, microservice calls, and flexible call adapters and converters.

HTTPJavaMicroservices
0 likes · 19 min read
Retrofit Spring Boot Starter: Lightweight HTTP Client Integration with Advanced Features
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 23, 2025 · Mobile Development

Advanced Repository and Network Layer Automation in Kotlin Using Annotation Processors, Dynamic Proxies, and Flow

This article presents a comprehensive guide on building a highly modular Android network layer by leveraging Kotlin coroutines, Flow, Retrofit, annotation processors, dynamic proxies, and dependency‑injection frameworks to automatically generate Repository classes and streamline MVVM data flow.

Annotation ProcessorDynamic ProxyFlow
0 likes · 16 min read
Advanced Repository and Network Layer Automation in Kotlin Using Annotation Processors, Dynamic Proxies, and Flow
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 30, 2024 · Mobile Development

Dynamic Base URL Switching in Retrofit Using Interceptor and Custom Annotations

This article explains the limitations of the default Retrofit baseUrl configuration, reviews three existing solutions, and presents a comprehensive interceptor‑based approach that leverages custom @BaseUrl annotations to dynamically switch base URLs at runtime while handling @Url full‑path parameters correctly.

AnnotationDynamicBaseUrlInterceptor
0 likes · 20 min read
Dynamic Base URL Switching in Retrofit Using Interceptor and Custom Annotations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 10, 2024 · Mobile Development

Using Kotlin Coroutines, Flow, Retrofit, and OkHttp for Network Requests in Android

This article explains how to combine Kotlin coroutines, Flow, Retrofit, and OkHttp to create a clean, reactive, and maintainable network request framework for Android applications, covering concepts, core principles, and practical code examples.

CoroutinesFlowKotlin
0 likes · 16 min read
Using Kotlin Coroutines, Flow, Retrofit, and OkHttp for Network Requests in Android
Architect
Architect
Jun 30, 2024 · Backend Development

Introducing retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot

retrofit-spring-boot-starter is a lightweight, type‑safe HTTP client framework for Spring Boot that integrates Retrofit with Spring, offering features such as custom OkHttpClient injection, annotation‑based interceptors, connection pool management, logging, retry, error decoding, circuit‑breaker support, and flexible configuration via YAML.

HTTP ClientJavaMicroservices
0 likes · 21 min read
Introducing retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
May 15, 2024 · Backend Development

retrofit-spring-boot-starter: A Lightweight HTTP Client Integration for Spring Boot

This article introduces retrofit-spring-boot-starter, a lightweight, type‑safe HTTP client starter that seamlessly integrates Retrofit into Spring Boot projects, outlines its key features, provides quick usage examples with Maven/Gradle dependencies, interface definitions, injection, configuration options, and advanced capabilities such as custom OkHttpClient injection, annotation‑based interceptors, connection‑pool management, logging, and retry mechanisms.

ConfigurationHTTP ClientJava
0 likes · 13 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Integration for Spring Boot
Architecture Digest
Architecture Digest
May 13, 2024 · Backend Development

retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot

The article introduces retrofit-spring-boot-starter, a lightweight HTTP client library for Spring Boot that simplifies HTTP calls, offers extensive features such as custom OkHttpClient injection, annotation‑based interceptors, retry, logging, circuit‑breaker, and provides detailed usage examples, configuration options, and advanced customization techniques.

ConfigurationHTTP ClientJava
0 likes · 22 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 23, 2023 · Mobile Development

Building a Kotlin Retrofit Network Request Framework for Android with Token Interceptors, File Upload/Download, and ViewModel Integration

This article demonstrates how to create a clean, reusable network request layer for Android using Kotlin, Retrofit, and OkHttp, covering dependency setup, custom token interceptors, Retrofit utility creation, request/result handling with ViewModel extensions, and comprehensive file upload and download implementations.

File UploadKotlinNetwork
0 likes · 17 min read
Building a Kotlin Retrofit Network Request Framework for Android with Token Interceptors, File Upload/Download, and ViewModel Integration
Code Ape Tech Column
Code Ape Tech Column
Aug 8, 2023 · Backend Development

Introducing retrofit-spring-boot-starter: A Lightweight HTTP Client for Spring Boot

This article presents retrofit-spring-boot-starter, a lightweight Spring Boot starter that simplifies HTTP calls by integrating Retrofit with customizable OkHttpClient, annotation‑driven interceptors, logging, retry, circuit‑breaker, error decoding, and flexible converters, along with detailed usage examples and configuration guidelines.

HTTP ClientJavaMicroservices
0 likes · 20 min read
Introducing retrofit-spring-boot-starter: A Lightweight HTTP Client for Spring Boot
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 15, 2022 · Mobile Development

Analyzing and Optimizing Retrofit Performance in Android Applications

The article uncovers a lock‑induced latency in Retrofit’s service‑method cache during cold‑start, demonstrates how moving the synchronization to a class‑level lock and customizing Retrofit.create eliminates the bottleneck, and then shows how dynamic‑proxy hooks combined with Kotlin coroutines can add transparent caching and low‑intrusion BFF aggregation without altering the library.

BFFCachingCoroutines
0 likes · 21 min read
Analyzing and Optimizing Retrofit Performance in Android Applications
Beike Product & Technology
Beike Product & Technology
Apr 8, 2022 · Mobile Development

Design and Implementation of a Non‑Intrusive Page Network Request Preloading Framework for Android

The article presents a non‑intrusive Android framework that preloads page network requests in parallel with page initialization, describing its three‑part architecture, routing and network interceptors, code implementation, and performance gains that can reduce overall page load time by up to 100 ms.

Network PreloadingOkHttpRetrofit
0 likes · 12 min read
Design and Implementation of a Non‑Intrusive Page Network Request Preloading Framework for Android
macrozheng
macrozheng
Feb 10, 2022 · Backend Development

Using Retrofit with Spring Cloud Alibaba for Seamless Microservice Calls

This guide demonstrates how to integrate Retrofit into a Spring Cloud Alibaba environment, covering Nacos registration, Sentinel fault‑tolerance, service discovery, load balancing, and detailed code examples for building, configuring, and testing microservice communication, rate limiting, and circuit‑breaker features.

MicroservicesNacosRetrofit
0 likes · 13 min read
Using Retrofit with Spring Cloud Alibaba for Seamless Microservice Calls
Selected Java Interview Questions
Selected Java Interview Questions
Dec 13, 2021 · Backend Development

Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter

This article introduces the retrofit‑spring‑boot‑starter library, shows how to add the Maven dependency, configure @RetrofitScan, define HTTP interfaces, inject them into services, and demonstrates advanced features such as annotation‑based interceptors, custom interceptors, connection‑pool management, logging, exception formatting, call adapters, converters, and global interceptors for Spring Boot projects.

HTTP ClientInterceptorJava
0 likes · 14 min read
Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter
Snowball Engineer Team
Snowball Engineer Team
Oct 28, 2021 · Mobile Development

Redesigning Snowball's Android Network Framework with OkHttp and Retrofit: Architecture, Issues, and Migration

This article details the redesign of Snowball's Android network framework using OkHttp and Retrofit, covering motivations, architectural layers, solutions for domain switching, custom annotations, data validation, migration strategy, and the resulting performance and maintainability improvements.

KotlinNetworkOkHttp
0 likes · 17 min read
Redesigning Snowball's Android Network Framework with OkHttp and Retrofit: Architecture, Issues, and Migration
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Oct 26, 2021 · Mobile Development

Encapsulating Retrofit with Kotlin Coroutines in Android: Two Approaches

This article explains how to combine Retrofit with Kotlin coroutines on Android, compares the traditional RxJava method with coroutine-based implementations, and presents two encapsulation techniques—using a DSL and leveraging CoroutineExceptionHandler—to simplify asynchronous network calls and centralize error handling.

CoroutinesDSLException Handling
0 likes · 14 min read
Encapsulating Retrofit with Kotlin Coroutines in Android: Two Approaches
Sohu Tech Products
Sohu Tech Products
Oct 20, 2021 · Mobile Development

Kotlin Network Request Wrappers with LiveData: Two Approaches, Code Samples, and Comparison

This article explains two Kotlin‑based network request wrappers for Android that reduce boilerplate by using LiveData, Retrofit, OkHttp and coroutines, compares their design trade‑offs, provides complete Activity, ViewModel, Repository and BaseRepository code samples, and shows how to handle loading, success, error and multiple data sources in a clean MVVM architecture.

CoroutinesKotlinLiveData
0 likes · 10 min read
Kotlin Network Request Wrappers with LiveData: Two Approaches, Code Samples, and Comparison
Sohu Tech Products
Sohu Tech Products
Sep 15, 2021 · Mobile Development

Eliminate BaseResponse Wrapper in Retrofit Using a Custom Converter.Factory

This article presents a Kotlin‑based technique for removing the repetitive BaseResponse wrapper from Retrofit calls by introducing a custom Converter.Factory and annotation‑driven ConvexTransformer that automatically extracts the data payload.

ConverterCustomAnnotationKotlin
0 likes · 7 min read
Eliminate BaseResponse Wrapper in Retrofit Using a Custom Converter.Factory
Top Architect
Top Architect
Sep 10, 2021 · Backend Development

retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot

The article introduces retrofit-spring-boot-starter, a Spring Boot‑compatible lightweight HTTP client library that integrates Retrofit with extensive features such as custom OkHttpClient injection, annotation‑driven interceptors, logging, retry, error decoding, circuit‑breaker support, connection‑pool management, call adapters and data converters, providing a concise way to perform HTTP calls in Java backend projects.

HTTP ClientInterceptorJava
0 likes · 21 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot
Sohu Tech Products
Sohu Tech Products
Aug 11, 2021 · Mobile Development

Encapsulating Retrofit with Kotlin Coroutines in Android MVVM Architecture

This article explains how to integrate Retrofit with Kotlin coroutines following Google’s Android architecture guidelines, covering coroutine basics, OkHttp and Retrofit setup, generic response handling, repository abstraction, ViewModel usage, and lifecycle‑aware coroutine scopes to achieve clean, asynchronous network calls.

Kotlin CoroutinesLiveDataMVVM
0 likes · 13 min read
Encapsulating Retrofit with Kotlin Coroutines in Android MVVM Architecture