Class RestrictedHttpAudioSourceManager
java.lang.Object
com.sedmelluq.discord.lavaplayer.source.ProbingAudioSourceManager
com.sedmelluq.discord.lavaplayer.source.http.HttpAudioSourceManager
de.presti.ree6.audio.music.source.RestrictedHttpAudioSourceManager
- All Implemented Interfaces:
com.sedmelluq.discord.lavaplayer.source.AudioSourceManager
,com.sedmelluq.discord.lavaplayer.tools.io.HttpConfigurable
public class RestrictedHttpAudioSourceManager
extends com.sedmelluq.discord.lavaplayer.source.http.HttpAudioSourceManager
A restricted version of
HttpAudioSourceManager
.-
Field Summary
Fields inherited from class com.sedmelluq.discord.lavaplayer.source.ProbingAudioSourceManager
containerRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.sedmelluq.discord.lavaplayer.track.AudioReference
checkWhitelisting
(com.sedmelluq.discord.lavaplayer.track.AudioReference reference) A method used to check everythingcom.sedmelluq.discord.lavaplayer.track.AudioItem
loadItem
(com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager manager, com.sedmelluq.discord.lavaplayer.track.AudioReference reference) Methods inherited from class com.sedmelluq.discord.lavaplayer.source.http.HttpAudioSourceManager
configureBuilder, configureRequests, createTrack, decodeTrack, encodeTrack, getAsHttpReference, getHttpInterface, getSourceName, isTrackEncodable, shutdown
Methods inherited from class com.sedmelluq.discord.lavaplayer.source.ProbingAudioSourceManager
decodeTrackFactory, encodeTrackFactory, handleLoadResult
-
Constructor Details
-
RestrictedHttpAudioSourceManager
public RestrictedHttpAudioSourceManager()
-
-
Method Details
-
loadItem
public com.sedmelluq.discord.lavaplayer.track.AudioItem loadItem(com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager manager, com.sedmelluq.discord.lavaplayer.track.AudioReference reference) - Specified by:
loadItem
in interfacecom.sedmelluq.discord.lavaplayer.source.AudioSourceManager
- Overrides:
loadItem
in classcom.sedmelluq.discord.lavaplayer.source.http.HttpAudioSourceManager
-
checkWhitelisting
public com.sedmelluq.discord.lavaplayer.track.AudioReference checkWhitelisting(com.sedmelluq.discord.lavaplayer.track.AudioReference reference) A method used to check everything- Parameters:
reference
- theAudioReference
parsed from above.- Returns:
- either the invalid Reference or the input back.
-