Interface IRequest<T>
- All Known Implementing Classes:
AbstractAuthorizationRequest
,AbstractDataPagingCursorbasedRequest
,AbstractDataPagingRequest
,AbstractDataRequest
,AbstractRequest
,AddItemsToPlaylistRequest
,AddItemToUsersPlaybackQueueRequest
,AuthorizationCodePKCERefreshRequest
,AuthorizationCodePKCERequest
,AuthorizationCodeRefreshRequest
,AuthorizationCodeRequest
,AuthorizationCodeUriRequest
,ChangePlaylistsDetailsRequest
,CheckCurrentUserFollowsArtistsOrUsersRequest
,CheckUsersFollowPlaylistRequest
,CheckUsersSavedAlbumsRequest
,CheckUsersSavedEpisodesRequest
,CheckUsersSavedShowsRequest
,CheckUsersSavedTracksRequest
,ClientCredentialsRequest
,CreatePlaylistRequest
,FollowArtistsOrUsersRequest
,FollowPlaylistRequest
,FollowPlaylistRequest
,GetAlbumRequest
,GetAlbumsTracksRequest
,GetArtistRequest
,GetArtistsAlbumsRequest
,GetArtistsRelatedArtistsRequest
,GetArtistsTopTracksRequest
,GetAudioAnalysisForTrackRequest
,GetAudioFeaturesForSeveralTracksRequest
,GetAudioFeaturesForTrackRequest
,GetAvailableGenreSeedsRequest
,GetCategoryRequest
,GetCategorysPlaylistsRequest
,GetCurrentUsersProfileRequest
,GetCurrentUsersRecentlyPlayedTracksRequest
,GetCurrentUsersSavedAlbumsRequest
,GetEpisodeRequest
,GetInformationAboutUsersCurrentPlaybackRequest
,GetListOfCategoriesRequest
,GetListOfCurrentUsersPlaylistsRequest
,GetListOfFeaturedPlaylistsRequest
,GetListOfNewReleasesRequest
,GetListOfUsersPlaylistsRequest
,GetPlaylistCoverImageRequest
,GetPlaylistRequest
,GetPlaylistsItemsRequest
,GetRecommendationsRequest
,GetSeveralAlbumsRequest
,GetSeveralArtistsRequest
,GetSeveralEpisodesRequest
,GetSeveralShowsRequest
,GetSeveralTracksRequest
,GetShowRequest
,GetShowsEpisodesRequest
,GetTheUsersQueueRequest
,GetTrackRequest
,GetUsersAvailableDevicesRequest
,GetUsersCurrentlyPlayingTrackRequest
,GetUsersFollowedArtistsRequest
,GetUsersProfileRequest
,GetUsersSavedEpisodesRequest
,GetUsersSavedShowsRequest
,GetUsersSavedTracksRequest
,GetUsersTopArtistsAndTracksRequest
,GetUsersTopArtistsRequest
,GetUsersTopTracksRequest
,PauseUsersPlaybackRequest
,RemoveAlbumsForCurrentUserRequest
,RemoveItemsFromPlaylistRequest
,RemoveUsersSavedEpisodesRequest
,RemoveUsersSavedShowsRequest
,RemoveUsersSavedTracksRequest
,ReorderPlaylistsItemsRequest
,ReplacePlaylistsItemsRequest
,SaveAlbumsForCurrentUserRequest
,SaveEpisodesForCurrentUserRequest
,SaveShowsForCurrentUserRequest
,SaveTracksForUserRequest
,SearchAlbumsRequest
,SearchAlbumsSpecialRequest
,SearchArtistsRequest
,SearchEpisodesRequest
,SearchItemRequest
,SearchPlaylistsRequest
,SearchShowsRequest
,SearchTracksRequest
,SeekToPositionInCurrentlyPlayingTrackRequest
,SetRepeatModeOnUsersPlaybackRequest
,SetVolumeForUsersPlaybackRequest
,SkipUsersPlaybackToNextTrackRequest
,SkipUsersPlaybackToPreviousTrackRequest
,StartResumeUsersPlaybackRequest
,ToggleShuffleForUsersPlaybackRequest
,TransferUsersPlaybackRequest
,UnfollowArtistsOrUsersRequest
,UnfollowPlaylistRequest
,UnfollowPlaylistRequest
,UploadCustomPlaylistCoverImageRequest
public interface IRequest<T>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
IRequest.Builder<T,
BT extends IRequest.Builder<T, ?>> -
Method Summary
-
Method Details
-
getHttpManager
IHttpManager getHttpManager() -
getUri
URI getUri() -
getHeaders
List<org.apache.hc.core5.http.Header> getHeaders() -
getContentType
org.apache.hc.core5.http.ContentType getContentType() -
getBody
org.apache.hc.core5.http.HttpEntity getBody() -
getBodyParameters
List<org.apache.hc.core5.http.NameValuePair> getBodyParameters() -
execute
- Throws:
IOException
SpotifyWebApiException
org.apache.hc.core5.http.ParseException
-
executeAsync
CompletableFuture<T> executeAsync() -
getJson
String getJson() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException- Throws:
IOException
SpotifyWebApiException
org.apache.hc.core5.http.ParseException
-
postJson
String postJson() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException- Throws:
IOException
SpotifyWebApiException
org.apache.hc.core5.http.ParseException
-
putJson
String putJson() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException- Throws:
IOException
SpotifyWebApiException
org.apache.hc.core5.http.ParseException
-
deleteJson
String deleteJson() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException- Throws:
IOException
SpotifyWebApiException
org.apache.hc.core5.http.ParseException
-