Class GetChapterRequest
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest<Chapter>
se.michaelthelin.spotify.requests.data.AbstractDataRequest<Chapter>
se.michaelthelin.spotify.requests.data.chapters.GetChapterRequest
Get Spotify catalog information for a single audiobook chapter. Chapters are only available within the US, UK,
Ireland, New Zealand and Australia markets.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
Method Details
-
execute
public Chapter execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseExceptionGet aChaptersynchronously.- Returns:
- A
Chapter. - Throws:
IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.org.apache.hc.core5.http.ParseException- If a parsing error occurs.
-