Class ResCUVividSeatsClient

java.lang.Object
org.oxerr.vividseats.client.rescu.impl.v1.ResCUVividSeatsClient
All Implemented Interfaces:
org.oxerr.vividseats.client.v1.VividSeatsClient

public class ResCUVividSeatsClient extends Object implements org.oxerr.vividseats.client.v1.VividSeatsClient
  • Constructor Details

    • ResCUVividSeatsClient

      public ResCUVividSeatsClient(String token, si.mazi.rescu.Interceptor... interceptors)
      Constructs a client with the specified token.
      Parameters:
      token - the token to access the API.
      interceptors - the interceptors to intercept the requests.
    • ResCUVividSeatsClient

      public ResCUVividSeatsClient(String baseUrl, String token, si.mazi.rescu.Interceptor... interceptors)
      Constructs a client with the specified base URL and token.
      Parameters:
      baseUrl - the base URL of the API.
      token - the token to access the API.
      interceptors - the interceptors to intercept the requests.
    • ResCUVividSeatsClient

      public ResCUVividSeatsClient(Supplier<String> token, si.mazi.rescu.Interceptor... interceptors)
      Constructs a client with the specified token.
      Parameters:
      token - the token to access the API.
      interceptors - the interceptors to intercept the requests.
    • ResCUVividSeatsClient

      public ResCUVividSeatsClient(String baseUrl, Supplier<String> tokenSupplier, si.mazi.rescu.Interceptor... interceptors)
      Constructs a client with the specified base URL and token.
      Parameters:
      baseUrl - the base URL of the API.
      tokenSupplier - the token supplier to access the API.
      interceptors - the interceptors to intercept the requests.
    • ResCUVividSeatsClient

      public ResCUVividSeatsClient(String baseUrl, Supplier<String> tokenSupplier, io.github.poshjosh.ratelimiter.store.BandwidthsStore<String> bandwidthsStore, si.mazi.rescu.Interceptor... interceptors)
      Constructs a client with the specified base URL, token supplier, bandwidths store and interceptors.
      Parameters:
      baseUrl - the base URL of the API.
      tokenSupplier - the token supplier to access the API.
      bandwidthsStore - the bandwidths store to store the bandwidth.
      interceptors - the interceptors to intercept the requests.
  • Method Details

    • getListingService

      public org.oxerr.vividseats.client.v1.ListingService getListingService()
      Specified by:
      getListingService in interface org.oxerr.vividseats.client.v1.VividSeatsClient
    • createProxy

      protected <I> I createProxy(Class<I> restInterface, si.mazi.rescu.Interceptor... interceptors)