-
Notifications
You must be signed in to change notification settings - Fork 2k
Custom HTTP Clients
Alan Zimmer edited this page Feb 27, 2020
·
5 revisions
Azure SDKs for Java offers the capability to plug-in your own custom networking layer to allow for handling of specialized scenarios or when you don't want to use Netty or OkHttp. Providing a custom HttpClient
requires a few interfaces/classes to be implemented along with registering your implementation with Java's service provider interface.
The following is what needs to be implemented.
- HttpClient handles sending request and receiving responses.
- HttpResponse contains response information and APIs to interact with it.
-
HttpClientProvider handles creating instances of the
HttpClient
agnostic to the underlying implementation.
- Frequently Asked Questions
- Azure Identity Examples
- Configuration
- Performance Tuning
- Android Support
- Unit Testing
- Test Proxy Migration
- Azure Json Migration
- New Checkstyle and Spotbugs pattern migration
- Protocol Methods
- TypeSpec-Java Quickstart
- Getting Started Guidance
- Adding a Module
- Building
- Writing Performance Tests
- Working with AutoRest
- Deprecation
- BOM guidelines
- Release process
- Access helpers