使用 AWS SDK for Java 2.x
本章介绍了如何高效使用AWS SDK for Java 2.x。了解创建服务客户端、发出请求、处理响应和管理错误。本章介绍了同步和异步编程、分页结果、资源监视 Waiter 以及性能优化。
您还将找到客户端重复使用、故障排除指导、Lambda 启动优化、HTTP/2 支持和 DNS 配置的最佳实践。
目录
如何修复“java.net.SocketException: Connection reset”或“server failed to complete the response”错误?
如何修复“Unable to execute HTTP request: Timeout waiting for connection from pool”错误?
我该如何修复 NoClassDefFoundError、NoSuchMethodError 或 NoSuchFieldError?
如何修复“java.lang.IllegalStateException: Connection pool shut down”错误?
如何修复“Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain”?