Class GetEpisodeRequest
- java.lang.Object
-
- se.michaelthelin.spotify.requests.AbstractRequest<T>
-
- se.michaelthelin.spotify.requests.data.AbstractDataRequest<Episode>
-
- se.michaelthelin.spotify.requests.data.episodes.GetEpisodeRequest
-
public class GetEpisodeRequest extends AbstractDataRequest<Episode>
Get Spotify catalog information for a single episode identified by its unique Spotify ID.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetEpisodeRequest.BuilderBuilder class for building aGetEpisodeRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Episodeexecute()Get an episode-
Methods inherited from class se.michaelthelin.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
-
-
-
Method Detail
-
execute
public Episode execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
Get an episode- Returns:
- An
Episode. - 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
-
-