All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wrapper.spotify.requests.data.AbstractDataPagingCursorbasedRequest Maven / Gradle / Ivy

package com.wrapper.spotify.requests.data;

import com.wrapper.spotify.model_objects.specification.PagingCursorbased;

public abstract class AbstractDataPagingCursorbasedRequest extends AbstractDataRequest {
  protected AbstractDataPagingCursorbasedRequest(final AbstractDataRequest.Builder builder) {
    super(builder);
  }

  public static abstract class Builder> extends AbstractDataRequest.Builder, BuilderType> implements IPagingCursorbasedRequestBuilder {
    protected Builder(String accessToken) {
      super(accessToken);

      assert (!accessToken.equals(""));

      setHeader("Authorization", "Bearer " + accessToken);
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy