Class KoraAwsSdkHttpClient

java.lang.Object
ru.tinkoff.kora.s3.client.aws.KoraAwsSdkHttpClient
All Implemented Interfaces:
AutoCloseable, software.amazon.awssdk.http.async.SdkAsyncHttpClient, software.amazon.awssdk.http.SdkHttpClient, software.amazon.awssdk.utils.SdkAutoCloseable

@Experimental public final class KoraAwsSdkHttpClient extends Object implements software.amazon.awssdk.http.SdkHttpClient, software.amazon.awssdk.http.async.SdkAsyncHttpClient
  • Nested Class Summary

    Nested classes/interfaces inherited from interface software.amazon.awssdk.http.async.SdkAsyncHttpClient

    software.amazon.awssdk.http.async.SdkAsyncHttpClient.Builder<T extends software.amazon.awssdk.http.async.SdkAsyncHttpClient.Builder<T>>

    Nested classes/interfaces inherited from interface software.amazon.awssdk.http.SdkHttpClient

    software.amazon.awssdk.http.SdkHttpClient.Builder<T extends software.amazon.awssdk.http.SdkHttpClient.Builder<T>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    KoraAwsSdkHttpClient(ru.tinkoff.kora.http.client.common.HttpClient httpClient, AwsS3ClientConfig clientConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    execute(software.amazon.awssdk.http.async.AsyncExecuteRequest asyncExecuteRequest)
     
    software.amazon.awssdk.http.ExecutableHttpRequest
    prepareRequest(software.amazon.awssdk.http.HttpExecuteRequest httpExecuteRequest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KoraAwsSdkHttpClient

      public KoraAwsSdkHttpClient(ru.tinkoff.kora.http.client.common.HttpClient httpClient, AwsS3ClientConfig clientConfig)
  • Method Details

    • clientName

      public String clientName()
      Specified by:
      clientName in interface software.amazon.awssdk.http.async.SdkAsyncHttpClient
      Specified by:
      clientName in interface software.amazon.awssdk.http.SdkHttpClient
    • prepareRequest

      public software.amazon.awssdk.http.ExecutableHttpRequest prepareRequest(software.amazon.awssdk.http.HttpExecuteRequest httpExecuteRequest)
      Specified by:
      prepareRequest in interface software.amazon.awssdk.http.SdkHttpClient
    • execute

      public CompletableFuture<Void> execute(software.amazon.awssdk.http.async.AsyncExecuteRequest asyncExecuteRequest)
      Specified by:
      execute in interface software.amazon.awssdk.http.async.SdkAsyncHttpClient
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface software.amazon.awssdk.utils.SdkAutoCloseable