Class GetCategoryRequest
- java.lang.Object
-
- com.wrapper.spotify.requests.AbstractRequest
-
- com.wrapper.spotify.requests.data.AbstractDataRequest
-
- com.wrapper.spotify.requests.data.browse.GetCategoryRequest
-
- All Implemented Interfaces:
IRequest
public class GetCategoryRequest extends AbstractDataRequest
Get a single category used to tag items in Spotify (on, for example, the Spotify player’s "Browse" tab).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetCategoryRequest.BuilderBuilder class for building aGetCategoryRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Categoryexecute()Get aCategory.-
Methods inherited from class com.wrapper.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
-
-
-
Method Detail
-
execute
public Category execute() throws IOException, SpotifyWebApiException
Get aCategory.- Returns:
- A
Category. - Throws:
IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.
-
-