SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

JSCH / NOTES</>↗
JSch27 May 2025

How do I transfer files with resume support over SFTP using JSch?

When transferring files over SFTP using JSch, resuming partially transferred files (either uploads or downloads) can be implemented by handling offsets for files that are already partially transferred. This guide explains how to: Resume downloads by continuing from the last transferred byte of a local file. Resume uploads by appending to a remote file. Handling […]

Wayan · 4 min read
HTTPCLIENT / NOTES</>↗
HttpClient27 May 2025

How do I secure API requests with OAuth2 using Java 11 HttpClient?

Securing API requests with OAuth2 using Java 11’s HttpClient involves obtaining an access token from the OAuth2 provider and including it in the header of your HTTP requests. Here’s a step-by-step guide: 1. Understand OAuth2 Flow OAuth2 involves several flows (e.g., Authorization Code, Client Credentials, etc.). For simplicity, we’ll focus on the Client Credentials Grant […]

Wayan · 4 min read
HTTPCLIENT / NOTES</>↗
HttpClient26 May 2025

How do I log request and response details using Java 11 HttpClient?

If you are using Java 11’s HttpClient and want to log request and response details, you can achieve this by implementing a custom utility. Java 11’s HttpClient provides flexibility to log and inspect both requests and responses using its APIs. Here’s how you can log them: Full Implementation for Logging Request and Response Below is […]

Wayan · 4 min read
HTTPCLIENT / NOTES</>↗
HttpClient26 May 2025

How do I Parse JSON Responses from Java 11 HttpClient Easily?

To parse JSON responses easily using Java 11’s HttpClient, you can use libraries like Jackson or Gson that help in converting a JSON string to Java objects (POJOs) without hassle. Here’s a step-by-step guide: Step 1: Create a Java 11 HttpClient request Use Java’s HttpClient to make an HTTP request and get the JSON response […]

Wayan · 4 min read
HTTPCLIENT / NOTES</>↗
HttpClient25 May 2025

How do I Implement Connection Pooling in Java 11 HttpClient?

Java 11 introduced the HttpClient API as part of java.net.http. By default, the HttpClient implementation provides connection pooling, so you don’t usually need to manually enable or build it. However, you do need to configure it effectively to manage connection pooling and ensure it aligns with your performance and scalability requirements. Here’s how you can […]

Wayan · 4 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.