Class JsonTextureProvider
java.lang.Object
pro.gravit.launchserver.auth.texture.TextureProvider
pro.gravit.launchserver.auth.texture.JsonTextureProvider
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class pro.gravit.launchserver.auth.texture.TextureProvider
TextureProvider.SkinAndCloakTextures -
Field Summary
FieldsFields inherited from class pro.gravit.launchserver.auth.texture.TextureProvider
providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()pro.gravit.launcher.profiles.TexturegetCloakTexture(UUID uuid, String username, String client)pro.gravit.launcher.profiles.TexturegetSkinTexture(UUID uuid, String username, String client)getTextures(UUID uuid, String username, String client)Methods inherited from class pro.gravit.launchserver.auth.texture.TextureProvider
registerProviders
-
Field Details
-
url
-
-
Constructor Details
-
JsonTextureProvider
public JsonTextureProvider()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classTextureProvider- Throws:
IOException
-
getCloakTexture
public pro.gravit.launcher.profiles.Texture getCloakTexture(UUID uuid, String username, String client) throws IOException- Specified by:
getCloakTexturein classTextureProvider- Throws:
IOException
-
getSkinTexture
public pro.gravit.launcher.profiles.Texture getSkinTexture(UUID uuid, String username, String client) throws IOException- Specified by:
getSkinTexturein classTextureProvider- Throws:
IOException
-
getTextures
- Overrides:
getTexturesin classTextureProvider
-