Help Center/ Object Storage Service/ Java SDK Developer Guide (Ally Region)/ Before You Start (SDK for Java)
Updated on 2026-11-16 GMT+08:00
Before You Start (SDK for Java)
This section describes version compatibility and important notes about Object Storage Service (OBS) SDK for Java.
Compatibility
- Recommended JDK versions: JDK 8 or later
- Third-party dependencies: This version is not completely compatible with earlier versions (2.1.x). OkHttp 3 should be used to replace HttpClient4.x.
- Namespace: This version is compatible with earlier versions (2.1.x). All external APIs are contained in the com.obs.services, com.obs.services.model, and com.obs.services.exception packages.
- API functions: This version is compatible with earlier versions (2.1.x).
- The earlier 2.X versions are no longer maintained. You are advised to upgrade them to the latest version as soon as possible.
Important Notes
- Make sure that you are familiar with OBS basic concepts in Help Center, such as buckets, objects, regions, and access keys (AKs/SKs).
- You can learn about how to call an API through the OBS SDK for Java by referring to Using an OBS Client.
- After an API is called using an instance of ObsClient, if no exception is thrown, the return value is valid. If an exception is thrown, the operation fails. For details about errors, see SDK Error Codes (SDK for Java).
- After an API is successfully called using an instance of ObsClient, a class or sub-class instance of HeaderResponse that contains response headers will be returned.
- Some features are available only in certain regions. If the HTTP status code 405 is returned when you call an API, check whether the feature is supported in the region.
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot