com.lajospolya.spotifyapiwrapper.request.CacheableRequestBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-api-wrapper Show documentation
Show all versions of spotify-api-wrapper Show documentation
This project wraps the Spotify public API in order to allow users to intuitively use it
package com.lajospolya.spotifyapiwrapper.request;
public abstract class CacheableRequestBuilder extends AbstractBuilder
{
String etag = null;
public abstract CacheableRequestBuilder etag(String etag);
void addEtagHeader(SpotifyRequestBuilder requestBuilder)
{
if(etag != null)
{
requestBuilder.etag(etag);
}
}
}