Class AsyncConnectionHelper

java.lang.Object
com.logicommerce.sdktest.resources.AsyncConnectionHelper
All Implemented Interfaces:
com.logicommerce.sdk.resources.AsyncConnection

public class AsyncConnectionHelper extends Object implements com.logicommerce.sdk.resources.AsyncConnection
  • Constructor Details

    • AsyncConnectionHelper

      public AsyncConnectionHelper()
  • Method Details

    • init

      public com.logicommerce.sdk.resources.AsyncConnection init(String endPoint)
      Specified by:
      init in interface com.logicommerce.sdk.resources.AsyncConnection
    • get

      public CompletableFuture<com.logicommerce.sdk.resources.Response> get()
      Specified by:
      get in interface com.logicommerce.sdk.resources.AsyncConnection
    • post

      public CompletableFuture<com.logicommerce.sdk.resources.Response> post(String body)
      Specified by:
      post in interface com.logicommerce.sdk.resources.AsyncConnection
    • put

      public CompletableFuture<com.logicommerce.sdk.resources.Response> put(String body)
      Specified by:
      put in interface com.logicommerce.sdk.resources.AsyncConnection
    • patch

      public CompletableFuture<com.logicommerce.sdk.resources.Response> patch(String body)
      Specified by:
      patch in interface com.logicommerce.sdk.resources.AsyncConnection
    • delete

      public CompletableFuture<com.logicommerce.sdk.resources.Response> delete()
      Specified by:
      delete in interface com.logicommerce.sdk.resources.AsyncConnection
    • getClient

      public AsyncClient getClient()
    • authorization

      public com.logicommerce.sdk.resources.AsyncConnection authorization(String authorization)
      Specified by:
      authorization in interface com.logicommerce.sdk.resources.AsyncConnection
    • path

      public com.logicommerce.sdk.resources.AsyncConnection path(String path)
      Specified by:
      path in interface com.logicommerce.sdk.resources.AsyncConnection
    • contentType

      public com.logicommerce.sdk.resources.AsyncConnection contentType(String contentType)
      Specified by:
      contentType in interface com.logicommerce.sdk.resources.AsyncConnection
    • acceptType

      public com.logicommerce.sdk.resources.AsyncConnection acceptType(String acceptType)
      Specified by:
      acceptType in interface com.logicommerce.sdk.resources.AsyncConnection
    • header

      public com.logicommerce.sdk.resources.AsyncConnection header(String name, String value)
      Specified by:
      header in interface com.logicommerce.sdk.resources.AsyncConnection
    • cookie

      public com.logicommerce.sdk.resources.AsyncConnection cookie(String name, String value)
      Specified by:
      cookie in interface com.logicommerce.sdk.resources.AsyncConnection
    • queryParam

      public com.logicommerce.sdk.resources.AsyncConnection queryParam(String name, String value)
      Specified by:
      queryParam in interface com.logicommerce.sdk.resources.AsyncConnection
    • params

      public com.logicommerce.sdk.resources.AsyncConnection params(String params)
      Specified by:
      params in interface com.logicommerce.sdk.resources.AsyncConnection
    • timeout

      public com.logicommerce.sdk.resources.AsyncConnection timeout(int timeout)
      Specified by:
      timeout in interface com.logicommerce.sdk.resources.AsyncConnection