Skip navigation links
client-java
A B C E G H I J S T 

A

addCategories(List<String>) - Method in class io.chucknorris.client.Joke
Adds the categories to the list of categories associated with the joke.
addCategory(String) - Method in class io.chucknorris.client.Joke
Adds a category to the list of categories associated with the joke.

B

BASE_URL - Static variable in class io.chucknorris.client.ChuckNorrisClient
 

C

ChuckNorrisClient - Class in io.chucknorris.client
The official https://api.chucknorris.io Java client.
ChuckNorrisClient() - Constructor for class io.chucknorris.client.ChuckNorrisClient
 
ChuckNorrisException - Exception in io.chucknorris.client
ChuckNorrisClient exception in case something goes wrong.
ChuckNorrisException(String) - Constructor for exception io.chucknorris.client.ChuckNorrisException
 
ChuckNorrisException(String, Throwable) - Constructor for exception io.chucknorris.client.ChuckNorrisException
 

E

equals(Object) - Method in class io.chucknorris.client.Joke
 

G

getCategories() - Method in class io.chucknorris.client.ChuckNorrisClient
Returns a list of available categories.
getCategories() - Method in class io.chucknorris.client.Joke
Returns the categories associated with the joke.
getIconUrl() - Method in class io.chucknorris.client.Joke
Returns the icon url of the joke.
getId() - Method in class io.chucknorris.client.Joke
Returns the unique id of the joke.
getRandomJoke() - Method in class io.chucknorris.client.ChuckNorrisClient
Returns a random Chuck Norris joke.
getRandomJoke(String) - Method in class io.chucknorris.client.ChuckNorrisClient
Returns a random Chuck Norris joke for the given category.
getSourceUrl() - Method in class io.chucknorris.client.Joke
Returns the source url of the joke.
getValue() - Method in class io.chucknorris.client.Joke
Returns the actual joke.

H

hashCode() - Method in class io.chucknorris.client.Joke
 

I

io.chucknorris.client - package io.chucknorris.client
 

J

Joke - Class in io.chucknorris.client
The class representing a joke.
Joke() - Constructor for class io.chucknorris.client.Joke
 

S

searchJokes(String) - Method in class io.chucknorris.client.ChuckNorrisClient
Searches Chuck Norris jokes for the given free-text query.
setCategories(List<String>) - Method in class io.chucknorris.client.Joke
Sets the categories associated with the joke.
setIconUrl(String) - Method in class io.chucknorris.client.Joke
Sets the icon url of the joke.
setId(String) - Method in class io.chucknorris.client.Joke
Sets the unique id of the joke.
setSourceUrl(String) - Method in class io.chucknorris.client.Joke
Sets the source url of the joke.
setValue(String) - Method in class io.chucknorris.client.Joke
Sets the actual joke.

T

toString() - Method in class io.chucknorris.client.Joke
 
A B C E G H I J S T 
Skip navigation links
client-java