Registry / http-client / http-client-spi

http-client-spi

JSON →
library2.37.1javamavenunverified

Service Provider Interface for pluggable HTTP clients in the AWS SDK for Java.

<dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>http-client-spi</artifactId> <version>2.37.1</version> </dependency>
INSTALL
IMPORT
SIG · HTTP-CLIENT-SPI
H
http-client-spi
http-clientjavav2.37.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SdkHttpClient
software.amazon.awssdk.http.SdkHttpClient

Create a default Apache-based HTTP client using the SPI.

import software.amazon.awssdk.http.SdkHttpClient; import software.amazon.awssdk.http.apache.ApacheHttpClient; SdkHttpClient client = ApacheHttpClient.builder().build(); System.out.println("HTTP client created: " + client);
Debug
Known issues
breakingBreaking changes in HTTP client SPI between SDK v1 and v2.
fix
Use SDK v2 specific imports and configuration; do not mix v1 and v2 HTTP client classes.
affects: >=2.0.0
Upgrade
Version history
2.37.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Resources
http-client-spi — mvn dependency:get http-client-spi · libregistry