Tag

API Wrapper

1 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 17, 2024 · Backend Development

How to Use Spring Boot’s ResponseBodyAdvice for Unified API Responses

This tutorial explains how to create a global response wrapper in Spring Boot 3.2.5 using ResponseBodyAdvice, covering the pros and cons of controller‑level wrapping, custom annotations, code examples, handling of String responses, and testing the unified output with sample requests.

API WrapperResponseBodyAdviceSpring Boot
0 likes · 10 min read
How to Use Spring Boot’s ResponseBodyAdvice for Unified API Responses
Architect's Guide
Architect's Guide
May 14, 2023 · Backend Development

OKHttpUtil: A Lightweight HTTP Client Wrapper for Java and Spring Boot

This article introduces OKHttpUtil, a concise Java wrapper for the OkHttp library, outlines its key features, provides Maven dependency instructions, demonstrates GET, POST, file upload, download, and chained request usage, and shows how to integrate and configure it in Spring Boot as well as quickly build external API clients such as eBay.

API WrapperBackend DevelopmentHTTP Client
0 likes · 11 min read
OKHttpUtil: A Lightweight HTTP Client Wrapper for Java and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Nov 29, 2022 · Backend Development

Simplified HTTP Requests with OKHttpUtil in Java and Spring Boot

This article introduces OKHttpUtil, a lightweight wrapper for OkHttp that simplifies HTTP GET, POST, file upload/download, and chainable requests in Java, provides Maven integration, Spring Boot configuration, and demonstrates how to encapsulate external APIs such as eBay with concise code examples.

API WrapperHTTP ClientOkHttp
0 likes · 10 min read
Simplified HTTP Requests with OKHttpUtil in Java and Spring Boot