Skip navigation links
A B C E G H I M N O S T U 

A

apiKey(String) - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
Uses an API key when making requests Your API key defines your rate limit, however it is not required to use the API

B

build() - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
Builds a new MCLeaks API
builder() - Static method in interface me.gong.mcleaks.MCLeaksAPI
Begins building a new MCLeaks API
Builder() - Constructor for class me.gong.mcleaks.MCLeaksAPI.Builder
 

C

checkAccount(String, Consumer<Boolean>, Consumer<Throwable>) - Method in interface me.gong.mcleaks.MCLeaksAPI
Checks whether the specified name is an MCLeaks account
Recommended to use MCLeaksAPI.checkAccount(UUID)
checkAccount(String) - Method in interface me.gong.mcleaks.MCLeaksAPI
Checks an account blocking the thread that invoked the method
Recommended to use MCLeaksAPI.checkAccount(UUID)
checkAccount(UUID, Consumer<Boolean>, Consumer<Throwable>) - Method in interface me.gong.mcleaks.MCLeaksAPI
Checks whether the specified name is an MCLeaks account
checkAccount(UUID) - Method in interface me.gong.mcleaks.MCLeaksAPI
Checks an account blocking the thread that invoked the method

E

equals(Object) - Method in class me.gong.mcleaks.MCLeaksAPI.Result
 
expireAfter(long, TimeUnit) - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
How long to keep data before requiring re-fetching.

G

getCachedCheck(String) - Method in interface me.gong.mcleaks.MCLeaksAPI
Gets either a boolean from the cache or null if not yet cache'd Will also return null if the nocache() option was used
getCachedCheck(UUID) - Method in interface me.gong.mcleaks.MCLeaksAPI
Gets either a boolean from the cache or null if not yet cache'd Will also return null if the nocache() option was used
getError() - Method in class me.gong.mcleaks.MCLeaksAPI.Result
 

H

hasError() - Method in class me.gong.mcleaks.MCLeaksAPI.Result
Checks whether any error was thrown during checking
hashCode() - Method in class me.gong.mcleaks.MCLeaksAPI.Result
 

I

isMCLeaks() - Method in class me.gong.mcleaks.MCLeaksAPI.Result
 

M

MCLeaksAPI - Interface in me.gong.mcleaks
Interface for requesting whether accounts are MCLeaks or not
MCLeaksAPI.Builder - Class in me.gong.mcleaks
Builder for creating a MCLeaks checker
MCLeaksAPI.Result - Class in me.gong.mcleaks
Data storage for the response of the MCLeaks API
me.gong.mcleaks - package me.gong.mcleaks
 

N

nocache() - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
Makes it so a cache is not used.

O

okHttpClient(OkHttpClient) - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
Used to implement your own built client

S

shutdown() - Method in interface me.gong.mcleaks.MCLeaksAPI
Shuts down the API and prevents further requests

T

testing() - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
Marks requests coming from the service for testing
threadCount(int) - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
The amount of threads to use for concurrent requests
toString() - Method in class me.gong.mcleaks.MCLeaksAPI.Result
 

U

userAgent(String) - Method in class me.gong.mcleaks.MCLeaksAPI.Builder
Changes the user agent used in requests
A B C E G H I M N O S T U 
Skip navigation links

Copyright © 2017. All rights reserved.