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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sedmelluq.discord.lavaplayer.track.AudioReference
    checkWhitelisting(com.sedmelluq.discord.lavaplayer.track.AudioReference reference)
    A method used to check everything
    com.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.sedmelluq.discord.lavaplayer.source.AudioSourceManager
      Overrides:
      loadItem in class com.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 - the AudioReference parsed from above.
      Returns:
      either the invalid Reference or the input back.