Tag

HttpClient

0 views collected around this technical thread.

Top Architect
Top Architect
Aug 16, 2024 · Backend Development

Calling External APIs in Spring Boot: HttpClient, RestTemplate, and Feign Approaches

This article demonstrates three methods for invoking external services in a Spring Boot application—using raw HttpClient, the RestTemplate utility, and Feign clients—providing code examples, configuration steps, and tips for handling headers and tokens.

APIHttpClientJava
0 likes · 11 min read
Calling External APIs in Spring Boot: HttpClient, RestTemplate, and Feign Approaches
Java Architect Essentials
Java Architect Essentials
Jun 8, 2024 · Backend Development

Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign

This article demonstrates three approaches for invoking external services in Spring Boot applications—using raw HttpClient, the RestTemplate utility, and Feign clients—providing code samples, configuration steps, and tips for handling headers and tokens.

HttpClientJavaRestTemplate
0 likes · 10 min read
Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign
Top Architect
Top Architect
May 7, 2024 · Backend Development

Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign

This article demonstrates three practical approaches for invoking external services in a Spring Boot application—using a raw HttpClient, the RestTemplate utility, and the Feign declarative client—complete with code examples, configuration steps, and tips for handling headers and tokens.

API IntegrationHttpClientJava
0 likes · 11 min read
Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign
macrozheng
macrozheng
Apr 22, 2024 · Backend Development

Mastering Retry Strategies in Java: 8 Practical Implementations

This article explains why retry mechanisms are essential for unreliable network calls in distributed systems and presents eight concrete Java implementations—including loop, recursion, HttpClient built‑in, Spring Retry, Resilience4j, custom utilities, asynchronous thread‑pool, and message‑queue approaches—plus best‑practice guidelines to avoid common pitfalls.

HttpClientJavaResilience4j
0 likes · 16 min read
Mastering Retry Strategies in Java: 8 Practical Implementations
Java Architect Essentials
Java Architect Essentials
Feb 23, 2024 · Backend Development

Optimizing Apache HttpClient for High-Concurrency Scenarios

This article explains how to improve a high‑traffic Java service by reusing a singleton HttpClient, enabling keep‑alive, configuring a pooling connection manager, and adding an idle‑connection monitor, which reduces average request latency from 250 ms to about 80 ms.

ConnectionPoolingHttpClientJava
0 likes · 11 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
Java Captain
Java Captain
Jan 31, 2024 · Backend Development

Replacing OpenFeign with Apache HttpClient, OkHttp, and RestTemplate in Spring Applications

This article explains why and how to replace OpenFeign with native Spring HttpInterface alternatives such as Apache HttpClient, OkHttp, and RestTemplate, covering security motivations, configuration details, code examples, and practical recommendations for microservice remote calls.

HttpClientJavaOkHttp
0 likes · 12 min read
Replacing OpenFeign with Apache HttpClient, OkHttp, and RestTemplate in Spring Applications
Architect
Architect
Jan 1, 2024 · Backend Development

Optimizing Apache HttpClient for High-Concurrency Scenarios

This article details a step‑by‑step optimization of Apache HttpClient—including connection pooling, keep‑alive, singleton client usage, timeout tuning, and response handling—to reduce average request latency from 250 ms to about 80 ms in a high‑throughput Java service.

ConnectionPoolingHttpClientJava
0 likes · 12 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
macrozheng
macrozheng
Dec 12, 2023 · Backend Development

Mastering Retry Strategies in Java: 8 Proven Methods for Reliable API Calls

This article explains why retry mechanisms are essential for distributed Java applications and walks through eight practical implementations—including loop, recursion, Apache HttpClient, Spring Retry, Resilience4j, custom utilities, asynchronous thread‑pool retries, and message‑queue based retries—plus best‑practice guidelines to avoid common pitfalls.

HttpClientJavaResilience4j
0 likes · 17 min read
Mastering Retry Strategies in Java: 8 Proven Methods for Reliable API Calls
Java Architect Essentials
Java Architect Essentials
Nov 28, 2023 · Backend Development

Various Ways to Send HTTP Requests in Java

This article introduces multiple Java approaches for sending HTTP GET and POST requests, covering the built‑in HttpURLConnection class, Apache HttpClient, Square's OkHttp, and Spring's RestTemplate, with step‑by‑step explanations and complete code examples for each method.

HTTPHttpClientJava
0 likes · 8 min read
Various Ways to Send HTTP Requests in Java
Sanyou's Java Diary
Sanyou's Java Diary
Oct 30, 2023 · Backend Development

Mastering API Retry Strategies in Java: 8 Proven Techniques

This article presents eight practical ways to implement retry mechanisms for third‑party API calls in Java, covering simple loops, recursion, built‑in HttpClient handlers, Spring Retry, Resilience4j, custom utilities, asynchronous thread‑pool retries, and message‑queue based retries, plus best‑practice guidelines.

HttpClientJavaMessageQueue
0 likes · 17 min read
Mastering API Retry Strategies in Java: 8 Proven Techniques
Java Architect Essentials
Java Architect Essentials
Oct 26, 2023 · Backend Development

Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign

This article demonstrates how to invoke external services from a Spring Boot application by using raw HttpClient, the RestTemplate utility, and Feign client, providing complete code examples, configuration steps, and tips for handling headers and tokens.

APIHttpClientJava
0 likes · 9 min read
Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign
Java Architect Essentials
Java Architect Essentials
Sep 30, 2023 · Backend Development

Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration

This article explains how to dramatically improve the performance of a high‑traffic Java service by reusing a singleton HttpClient, enabling connection pooling and keep‑alive, tuning timeout and retry settings, and adding an idle‑connection monitor to reduce average request latency from 250 ms to about 80 ms.

ConnectionPoolingHttpClientJava
0 likes · 13 min read
Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration
Top Architect
Top Architect
Sep 12, 2023 · Backend Development

Optimizing HttpClient for High‑Concurrency Scenarios: Pooling, Keep‑Alive, and Configuration

This article explains how to dramatically reduce HttpClient request latency from 250 ms to about 80 ms in a high‑traffic service by using a singleton client, connection pooling, keep‑alive strategies, proper timeout settings, and efficient response handling, complete with code examples.

ConnectionPoolingHttpClientJava
0 likes · 15 min read
Optimizing HttpClient for High‑Concurrency Scenarios: Pooling, Keep‑Alive, and Configuration
Architecture Digest
Architecture Digest
Sep 11, 2023 · Backend Development

Optimizing Apache HttpClient for High-Concurrency Scenarios

This article details practical optimization techniques for Apache HttpClient—including connection pooling, keep-alive, singleton client usage, proper timeout settings, and asynchronous handling—to reduce average request latency from 250 ms to about 80 ms in a ten-million-calls-per-day service.

HttpClientJavabackend development
0 likes · 11 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
Top Architect
Top Architect
Aug 16, 2023 · Backend Development

Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign

This article explains how to invoke external services from a Spring Boot application using three approaches—raw HttpClient, Spring's RestTemplate, and Feign—providing detailed code examples, configuration steps, and tips for handling headers and tokens.

HttpClientJavaRestTemplate
0 likes · 12 min read
Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign
Architect's Guide
Architect's Guide
Aug 6, 2023 · Backend Development

Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign

This article demonstrates three methods for invoking external services in Spring Boot applications—using raw HttpClient, the RestTemplate utility, and Feign clients—providing code examples, configuration steps, and usage details for each approach in production.

API IntegrationHttpClientRestTemplate
0 likes · 11 min read
Three Ways to Call External APIs in Spring Boot: HttpClient, RestTemplate, and Feign
Architecture Digest
Architecture Digest
Jul 10, 2023 · Backend Development

Calling External APIs in Spring Boot: HttpClient, RestTemplate, and Feign

This article explains how to invoke external services from a Spring Boot application using three approaches—raw HttpClient requests, Spring's RestTemplate utilities, and Feign clients—providing code examples, configuration steps, and tips for handling headers and tokens.

API IntegrationHttpClientJava
0 likes · 9 min read
Calling External APIs in Spring Boot: HttpClient, RestTemplate, and Feign
Architect's Guide
Architect's Guide
Jun 5, 2023 · Backend Development

SpringBoot External API Calls: HttpClient, RestTemplate, and Feign Integration

This article explains how to invoke external APIs in a SpringBoot application using three approaches—raw HttpClient, RestTemplate, and Feign—detailing configuration, code examples for GET and POST requests, token handling, and header interception.

HttpClientJavaRestTemplate
0 likes · 9 min read
SpringBoot External API Calls: HttpClient, RestTemplate, and Feign Integration
IT Architects Alliance
IT Architects Alliance
Apr 20, 2023 · Backend Development

Using Spring Boot to Call External APIs: HttpClient, RestTemplate, and Feign

This article explains how to invoke external services from a Spring Boot application using three approaches—raw HttpClient, Spring's RestTemplate, and Feign client—providing detailed code examples, configuration steps, and tips for handling headers and tokens.

HttpClientJavaRestTemplate
0 likes · 10 min read
Using Spring Boot to Call External APIs: HttpClient, RestTemplate, and Feign