Class SoundCloudClientIdTracker
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.source.soundcloud.SoundCloudClientIdTracker
-
public class SoundCloudClientIdTracker extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SoundCloudClientIdTracker(HttpInterfaceManager httpInterfaceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClientId()booleanisIdFetchContext(org.apache.http.client.protocol.HttpClientContext context)voidupdateClientId()Updates the clientID if more thanCLIENT_ID_REFRESH_INTERVALtime has passed since last updated.
-
-
-
Constructor Detail
-
SoundCloudClientIdTracker
public SoundCloudClientIdTracker(HttpInterfaceManager httpInterfaceManager)
-
-
Method Detail
-
updateClientId
public void updateClientId()
Updates the clientID if more thanCLIENT_ID_REFRESH_INTERVALtime has passed since last updated.
-
getClientId
public java.lang.String getClientId()
-
isIdFetchContext
public boolean isIdFetchContext(org.apache.http.client.protocol.HttpClientContext context)
-
-