Skip navigation links
A B C D E G H I L M N Q R S T U V W 

A

addJson(JsonValue) - Method in class net.wildfyre.http.Request
Adds JSON parameters to this request.
addToken(String) - Method in class net.wildfyre.http.Request
Makes the request authenticated by adding the token of the user.
asLogged() - Method in class net.wildfyre.users.User
This object, as a LoggedUser.
avatar - Variable in class net.wildfyre.users.User
 

B

bio - Variable in class net.wildfyre.users.User
 

C

canEdit() - Method in class net.wildfyre.users.LoggedUser
 
canEdit() - Method in class net.wildfyre.users.User
Can this user be edited?
CHARSET - Static variable in class net.wildfyre.http.Request
 
clean() - Static method in class net.wildfyre.api.Internal
Cleans the cache -- that is, removes every object that is not valid anymore from it (see isValid()).
clear() - Static method in class net.wildfyre.api.Internal
Fully clears the cache, but keeps the token.
connect(String, String) - Static method in class net.wildfyre.api.WildFyre
Connects to the server with the specified user.
connect(String) - Static method in class net.wildfyre.api.WildFyre
Connects to the server with the specified token.

D

DataType - Enum in net.wildfyre.http
 
Descriptor - Class in net.wildfyre.descriptors
Descriptors represent the raw data from the server, and are used by the internal cache.
Descriptor() - Constructor for class net.wildfyre.descriptors.Descriptor
 
disconnect() - Static method in class net.wildfyre.api.WildFyre
Disconnects the API from the currently-logged-in user.

E

equals(Object) - Method in class net.wildfyre.users.User
 

G

get() - Method in class net.wildfyre.http.Request
Accesses the JSON response from the server.
getAvatar() - Method in class net.wildfyre.users.User
The avatar of this user: the raw URL written in a String object, as specified by the server.
getAvatarUrl() - Method in class net.wildfyre.users.User
The avatar of this user: a URL object is created and points to the location of the avatar picture.
getBio() - Method in class net.wildfyre.users.User
The bio of this user.
getCachedUser(int) - Static method in class net.wildfyre.api.Internal
Gets the cached version of a user.
getID() - Method in class net.wildfyre.users.User
The ID of this user.
getJson() - Method in exception net.wildfyre.http.IssueInTransferException
Get the JSON sent by the server (if any).
getMe() - Static method in class net.wildfyre.api.Internal
Gets the current user, that is, the user that corresponds to the saved token.
getMe() - Static method in class net.wildfyre.api.WildFyre
Returns the logged-in user of the API, that is, the user corresponding to the saved-token.
getMyId() - Static method in class net.wildfyre.api.Internal
The ID of the logged-in user.
getName() - Method in class net.wildfyre.users.User
The name of this user.
getToken() - Static method in class net.wildfyre.api.Internal
Returns the token used for authentication.

H

hashCode() - Method in class net.wildfyre.users.User
 

I

ID - Variable in class net.wildfyre.users.User
 
init() - Static method in class net.wildfyre.api.Internal
Connects to the server & tries to access the logged-user's ID.
Internal - Class in net.wildfyre.api
This class represents the internals of the WildFyre Java Client Library.
Internal() - Constructor for class net.wildfyre.api.Internal
 
isBanned - Variable in class net.wildfyre.users.User
 
isBanned() - Method in class net.wildfyre.users.User
Is this user banned?
isConnected() - Static method in class net.wildfyre.api.WildFyre
Is the user connected?
isMyId(int) - Static method in class net.wildfyre.api.Internal
Checks whether a user ID is the ID of the current user.
isNew() - Method in class net.wildfyre.descriptors.Descriptor
Permits to know if this object was ever used before.
IssueInTransferException - Exception in net.wildfyre.http
Signifies that the server refused the data.
IssueInTransferException(String, InputStream) - Constructor for exception net.wildfyre.http.IssueInTransferException
Creates a new IssueInTransferException.
IssueInTransferException(String, Exception) - Constructor for exception net.wildfyre.http.IssueInTransferException
Creates a new IssueInTransferException.
isValid(long) - Method in class net.wildfyre.descriptors.Descriptor
Checks if this descriptor is still valid.
isValid() - Method in class net.wildfyre.descriptors.Descriptor
Checks if this descriptor is still valid.

L

LoggedUser - Class in net.wildfyre.users
Represents the user you are logging-in with.

M

Method - Enum in net.wildfyre.http
The HTTP method used to connect to the server.

N

name - Variable in class net.wildfyre.users.User
 
net.wildfyre.api - package net.wildfyre.api
 
net.wildfyre.descriptors - package net.wildfyre.descriptors
 
net.wildfyre.http - package net.wildfyre.http
 
net.wildfyre.users - package net.wildfyre.users
 

Q

query(int) - Static method in class net.wildfyre.users.User
Retrieves a specific user by ID.

R

Request - Class in net.wildfyre.http
Wrapper around the HTTP requests.
Request(Method, String) - Constructor for class net.wildfyre.http.Request
Creates a new request to the server, and starts to execute it.
Request.CantConnectException - Exception in net.wildfyre.http
Thrown when the request failed because the requested could not connect to the server.
requestToken(String, String) - Static method in class net.wildfyre.api.Internal
Requests a token using a username and a password.
reset() - Static method in class net.wildfyre.api.Internal
Resets the API.

S

set(String, String, String) - Method in class net.wildfyre.users.LoggedUser
Changes the username, bio or avatar of the user.
setAvatar(String) - Method in class net.wildfyre.users.LoggedUser
Sets this user's avatar.
setBio(String) - Method in class net.wildfyre.users.LoggedUser
Sets this user's bio.
setTimeBeforeRemoval(long) - Static method in class net.wildfyre.descriptors.Descriptor
Set the time of validation of the cache.
setToken(String) - Static method in class net.wildfyre.api.Internal
Sets the token used by the API.
setUsername(String) - Method in class net.wildfyre.users.LoggedUser
Sets this user's name.
submit(Runnable) - Static method in class net.wildfyre.api.Internal
Submits a new task to be executed concurrently.

T

toString() - Method in enum net.wildfyre.http.Method
 
toString() - Method in class net.wildfyre.users.User
 

U

update() - Method in class net.wildfyre.descriptors.Descriptor
Updates this Descriptor.
update() - Method in class net.wildfyre.users.User
 
use() - Method in class net.wildfyre.descriptors.Descriptor
Marks this descriptors' last usage as now.
User - Class in net.wildfyre.users
 

V

valueOf(String) - Static method in enum net.wildfyre.http.DataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.wildfyre.http.Method
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.wildfyre.http.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.wildfyre.http.Method
Returns an array containing the constants of this enum type, in the order they are declared.

W

WildFyre - Class in net.wildfyre.api
The primary means of interaction with the API.
WildFyre() - Constructor for class net.wildfyre.api.WildFyre
 
A B C D E G H I L M N Q R S T U V W 
Skip navigation links