Class AbstractYandexMusicApiLoader
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.source.yamusic.AbstractYandexMusicApiLoader
-
- All Implemented Interfaces:
YandexMusicApiLoader
- Direct Known Subclasses:
DefaultYandexMusicDirectUrlLoader,DefaultYandexMusicTrackLoader,DefaultYandexSearchProvider
public abstract class AbstractYandexMusicApiLoader extends java.lang.Object implements YandexMusicApiLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceAbstractYandexMusicApiLoader.ApiExtractor<T>
-
Field Summary
Fields Modifier and Type Field Description protected HttpInterfaceManagerhttpInterfaceManager
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> TextractFromApi(java.lang.String url, AbstractYandexMusicApiLoader.ApiExtractor<T> extractor)ExtendedHttpConfigurablegetHttpConfiguration()voidshutdown()
-
-
-
Field Detail
-
httpInterfaceManager
protected HttpInterfaceManager httpInterfaceManager
-
-
Method Detail
-
extractFromApi
protected <T> T extractFromApi(java.lang.String url, AbstractYandexMusicApiLoader.ApiExtractor<T> extractor)
-
getHttpConfiguration
public ExtendedHttpConfigurable getHttpConfiguration()
- Specified by:
getHttpConfigurationin interfaceYandexMusicApiLoader
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceYandexMusicApiLoader
-
-