Tag

RestClient

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 17, 2025 · Backend Development

Mastering @HttpExchange in Spring Boot 3: Real‑World Cases & Advanced Tips

This article compares Feign and Spring 6's @HttpExchange for remote service calls, walks through practical examples—including interface definition, proxy creation, various client options, testing, reactive returns, custom argument resolvers, and error handling—while providing complete code snippets for Spring Boot 3.4.2.

JavaReactiveRestClient
0 likes · 9 min read
Mastering @HttpExchange in Spring Boot 3: Real‑World Cases & Advanced Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 15, 2024 · Backend Development

Spring Boot 3.2.5 New Features: Multithreaded Bean Init, @Fallback, RestClient & More

This article walks through Spring Boot 3.2.5 enhancements including multithreaded bean initialization, the new @Fallback annotation, handling duplicate bean names, RestClient.create(URI) usage, header binding to records, expanded task‑scheduler metadata, and a host of other backend improvements.

AnnotationsBackend DevelopmentJava
0 likes · 9 min read
Spring Boot 3.2.5 New Features: Multithreaded Bean Init, @Fallback, RestClient & More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 30, 2024 · Backend Development

Mastering Spring Boot RestClient: When to Choose RestTemplate, WebClient, or RestClient

This article introduces Spring Boot's new RestClient, compares it with RestTemplate and WebClient, and provides detailed code examples for creating clients, performing GET/POST/PUT/DELETE requests, handling errors, customizing interceptors, and enabling load‑balanced service discovery.

HTTP ClientJavaRestClient
0 likes · 11 min read
Mastering Spring Boot RestClient: When to Choose RestTemplate, WebClient, or RestClient
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 8, 2024 · Backend Development

Mastering Spring Boot RestClient: Build Synchronous HTTP Clients Efficiently

This guide explains how to create and configure Spring Boot's RestClient, covering instance creation, request building, header and body handling, response retrieval, error processing, the exchange method, and available client request factories for robust synchronous HTTP communication.

APIHTTPJava
0 likes · 7 min read
Mastering Spring Boot RestClient: Build Synchronous HTTP Clients Efficiently
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 16, 2024 · Backend Development

Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads

This guide walks through Spring 6’s new capabilities—including Java 17 baseline, Jakarta namespace migration, HTTP interface proxies with @HttpExchange, WebClient integration via JDK HttpClient, internationalized ProblemDetail handling, the RestClient API, and executing asynchronous tasks on virtual threads—all demonstrated with concise code examples.

HTTPJavaProblemDetail
0 likes · 7 min read
Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 11, 2023 · Backend Development

Mastering Spring 6 REST Calls: WebClient, RestTemplate, HTTP Interface & RestClient

Spring 6 offers four powerful ways to perform remote HTTP calls—WebClient, RestTemplate, HTTP Interface, and RestClient—each with distinct APIs, configuration options, and usage patterns, and this guide walks through their setup, method signatures, request handling, and error management for Java developers.

Http InterfaceJavaREST
0 likes · 12 min read
Mastering Spring 6 REST Calls: WebClient, RestTemplate, HTTP Interface & RestClient
HelloTech
HelloTech
Sep 19, 2023 · Databases

Deep Dive into Elasticsearch RestClient Sniffer and Node Discovery Mechanism

The article explains how our driver‑passenger matching service migrated from load‑balanced Elasticsearch access to a direct RestClient, then automated node discovery using the built‑in Sniffer and SniffOnFailureListener, detailing its scheduling, request logic, and how this eliminates manual IP management while keeping the client in sync with cluster topology.

ElasticsearchJavaNode Discovery
0 likes · 11 min read
Deep Dive into Elasticsearch RestClient Sniffer and Node Discovery Mechanism
macrozheng
macrozheng
Sep 6, 2023 · Backend Development

Master Spring 6.1 RestClient: Build, Retrieve, and Manage HTTP Calls

This guide explains how to use Spring 6.1's new RestClient for synchronous HTTP calls, covering setup, request building, response handling, data conversion, error processing, and advanced exchange methods with full code examples.

HTTPJavaRestClient
0 likes · 10 min read
Master Spring 6.1 RestClient: Build, Retrieve, and Manage HTTP Calls
Java Architecture Diary
Java Architecture Diary
Aug 28, 2023 · Backend Development

Master Spring 6.1 RestClient: From Setup to Advanced Error Handling

This guide walks you through Spring 6.1's new RestClient, covering project setup, global client creation, data retrieval, posting, deletion, error handling, and advanced exchange methods with clear code examples for modern Java backend development.

HTTPJavaRestClient
0 likes · 9 min read
Master Spring 6.1 RestClient: From Setup to Advanced Error Handling