se.michaelthelin.spotify.requests.data.AbstractDataPagingRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-web-api-java Show documentation
Show all versions of spotify-web-api-java Show documentation
A Java client for Spotify's Web API
package se.michaelthelin.spotify.requests.data;
import se.michaelthelin.spotify.model_objects.specification.Paging;
public abstract class AbstractDataPagingRequest extends AbstractDataRequest {
protected AbstractDataPagingRequest(final AbstractDataRequest.Builder builder) {
super(builder);
}
public static abstract class Builder>
extends AbstractDataRequest.Builder, BT>
implements IPagingRequestBuilder {
protected Builder(String accessToken) {
super(accessToken);
assert (!accessToken.equals(""));
setHeader("Authorization", "Bearer " + accessToken);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy