GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — HTTP Clients

HTTP Clients

Jump to bottom
Srikanta edited this page May 28, 2025 · 4 revisions

HTTP Client Implementations for Azure V2 Libraries

Azure SDK for Java V2 libraries support multiple HTTP client implementations. Depending on your Java version and requirements, you can choose one of the following:

1. JDK HttpClient

  • Description: Built-in Java HTTP client, available from Java 12 onwards.

2. Netty

  • Description: Netty based HTTP client implementation, available from Java 8 onwards.
  • Dependency:
    <dependency>
      <groupId>io.clientcore</groupId>
      <artifactId>http-netty4</artifactId>
      <version>LATEST</version>
    </dependency>

3. OkHttp

  • Description: OkHttp3 based HTTP client implementation, available from Java 8 onwards.
  • Dependency:
    <dependency>
      <groupId>io.clientcore</groupId>
      <artifactId>http-okhttp3</artifactId>
      <version>LATEST</version>
    </dependency>
  • See instructions to add this library as dependency.

4. Custom implementation

Refer to this wiki to implement a custom HTTP client

Client Library

User Guides

  • Frequently Asked Questions
  • Azure Identity Examples
  • Configuration
    • Configure HTTP Clients
  • Performance Tuning
  • Android Support
  • Unit Testing
    • Parameterized test for SDK live test
  • Test Proxy Migration
  • Azure Json Migration
  • New Checkstyle and Spotbugs pattern migration
  • Protocol Methods
    • Protocol Methods - Evolving
    • Protocol Methods - Quickstart with AutoRest
  • TypeSpec-Java Quickstart

Extension Points

  • Custom HTTP clients
  • Custom JSON serializer

Contributor Guides

  • Getting Started Guidance
  • Adding a Module
  • Building
  • Writing Performance Tests
  • Deprecation
  • BOM guidelines
  • Release process
  • Access helpers

Management Library

User Guides

  • Authentication
  • Client configuration
  • Synchronous calls
  • Asynchronous calls
  • Generate code from TypeSpec

Spring Cloud Azure

Azure V2

  • Logging Best Practices
  • HTTP Clients
    • Add OkHttp dependency

Clone this wiki locally

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.