Index
All Classes and Interfaces|All Packages|Serialized Form
B
- BaseCollectionDeserializer<E> - Class in com.github.natche.gravatarjavaclient.profile.gson
-
A collection deserializer for use by
Gsonto deserialize a collection token into anImmutableList. - BaseCollectionDeserializer() - Constructor for class com.github.natche.gravatarjavaclient.profile.gson.BaseCollectionDeserializer
- BLANK - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The blank image type.
- BLANK - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageType
-
No logo or avatar.
- BLANK - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageVersion
-
A standard QR code.
- buildFrom(Collection<?>) - Method in class com.github.natche.gravatarjavaclient.profile.gson.BaseCollectionDeserializer
- buildFrom(Collection<?>) - Method in class com.github.natche.gravatarjavaclient.profile.gson.ImmutableListDeserializer
C
- collectionOf(Type) - Static method in class com.github.natche.gravatarjavaclient.profile.gson.Types
- com.github.natche.gravatarjavaclient.avatar - package com.github.natche.gravatarjavaclient.avatar
-
Classes related to the Gravatar Avatar API.
- com.github.natche.gravatarjavaclient.enums - package com.github.natche.gravatarjavaclient.enums
-
Enum types used for specifying details for a Gravatar Avatar API request such as rating levels, image types, protocols, etc.
- com.github.natche.gravatarjavaclient.exceptions - package com.github.natche.gravatarjavaclient.exceptions
-
Exceptions thrown throughout the GravatarJavaClient API.
- com.github.natche.gravatarjavaclient.profile - package com.github.natche.gravatarjavaclient.profile
-
Classes related to the Gravatar Profile API.
- com.github.natche.gravatarjavaclient.profile.gson - package com.github.natche.gravatarjavaclient.profile.gson
-
Classes related to
Gsonserialization. - com.github.natche.gravatarjavaclient.profile.serialization - package com.github.natche.gravatarjavaclient.profile.serialization
-
Classes related to serialization of the responses from the Gravatar Profile API.
- com.github.natche.gravatarjavaclient.utils - package com.github.natche.gravatarjavaclient.utils
-
Utility classes used by GravatarJavaClient.
- constructUrlParameterWithValue(T, boolean, GravatarUseFullUrlParameters) - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
Constructs a string for this URL parameter with the provided value.
- constructUrlParameterWithValue(T, GravatarUseFullUrlParameters) - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
Constructs a string for this URL parameter with the provided value.
D
- DEFAULT - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageType
-
Same as
GravatarQrImageType.BLANK. - DEFAULT_IMAGE_TYPE - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
The
GravatarDefaultImageTypetype. - DEFAULT_IMAGE_URL - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
The URL of the default image to return in the case a user email hash is invalid or results in no valid images.
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.natche.gravatarjavaclient.profile.gson.BaseCollectionDeserializer
-
Deserializes the provided JSON element.
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.github.natche.gravatarjavaclient.profile.gson.GravatarProfileDeserializer
- DoNotForce - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarForceDefaultImage
E
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns whether the provided object equals this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Returns whether the provided object equals this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileTokenProvider
-
Returns whether the provided object equals this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarCryptoWalletAddress
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileGalleryImage
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileInterest
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfilePayments
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileRequestResult
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileUrl
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Returns whether the provided object is equal to this.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.utils.Hasher
-
Returns whether the provided object equals this object.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.utils.InputValidator
-
Returns whether the provided object equals this object.
- equals(Object) - Method in class com.github.natche.gravatarjavaclient.utils.ResourceReader
-
Returns whether the provided object is equal to this.
F
- failed() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileRequestResult
-
Returns whether the request failed.
- False - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseFullUrlParameters
- False - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseJpgSuffix
- Force - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarForceDefaultImage
- FORCE_DEFAULT - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
Whether to force the default URL regardless of the validity of the user account hash.
- from(BufferedReader) - Static method in class com.github.natche.gravatarjavaclient.utils.ResourceReader
-
Constructs and returns a new ResourceReader from the provided reader.
- from(String) - Static method in class com.github.natche.gravatarjavaclient.utils.InputValidator
-
Constructs a new input validator from the provided input.
- fromAlgorithm(String) - Static method in class com.github.natche.gravatarjavaclient.utils.Hasher
-
Returns a new Hasher instance using the provided algorithm.
- fromEmail(String) - Static method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Constructs and returns a new GravatarAvatarRequest.
- fromEmail(String) - Static method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Constructs and returns a new GravatarQrCodeRequest.
- fromEmail(String) - Static method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Constructs a new GravatarProfileRequest from the provided email.
- fromHash(String) - Static method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Constructs and returns a new GravatarAvatarRequest.
- fromHash(String) - Static method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Constructs and returns a new GravatarQrCodeRequest.
- fromHashOrId(String) - Static method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Constructs a new GravatarProfileRequest from the provided hash or ID such as "nathanvcheshire".
G
- G - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarRating
-
The G rating for a Gravatar user image.
- get() - Method in enum class com.github.natche.gravatarjavaclient.profile.gson.GsonProvider
-
Returns the gson object.
- getAddress() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarCryptoWalletAddress
-
Returns the cryptocurrency wallet address.
- getAltText() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileGalleryImage
-
Returns the alternative text for the image.
- getAsUrlParameter(boolean) - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageType
-
Returns the URL parameter for this image type.
- getAsUrlParameter(boolean) - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageVersion
-
Returns the URL parameter for this image version.
- getAvatarAltText() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns alternative text describing the user’s avatar.
- getAvatarRequestBaseurl() - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarProtocol
-
Returns the base URL using this protocol to request an Avatar from Gravatar.
- getAvatarUrl() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the URL to the user’s avatar image, if set.
- getBufferedImage() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Reads and returns a
BufferedImageusing the URL constructed from the current state of this. - getBufferedImage() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Reads and returns a
BufferedImageusing the URL constructed from the current state of this. - getCalendar() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns the URL to the user's calendar.
- getCellPhone() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns the user's cell phone number.
- getCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Returns the language code.
- getCompany() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the name of the company where the user is employed.
- getContactForm() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns the URL to the user's contact form.
- getContactInfo() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the contact info object containing the contact information the user has displayed on their account.
- getCryptoWallets() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfilePayments
-
Returns the list of cryptocurrency wallet addresses.
- getDefaultImageType() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns the default image type this request will use.
- getDefaultImageUrl() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns the default image URL.
- getDescription() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns a short biography or description about the user found on their profile.
- getDisplayName() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the user’s display name that appears on their profile.
- getEmail() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns the user's email address.
- getFirstName() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the user's first name.
- getGallery() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the gallery images the user has displayed on their account.
- getHash() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns the hash for this request.
- getHash() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns the hash for this request.
- getHash() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the SHA256 hash of the user’s primary email address.
- getHashOrId() - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Returns the SHA256 hash or ID this request will use.
- getHomePhone() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns the user's home phone number.
- getId() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileInterest
-
Returns the unique ID of the interest.
- getImageIcon() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Reads and returns an
ImageIconusing the URL constructed from the current state of this. - getImageType() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns the image type this request will use.
- getInterests() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the interests the user has displayed on their profile.
- getJobTitle() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the user’s current job title.
- getLabel() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarCryptoWalletAddress
-
Returns the label for the cryptocurrency.
- getLabel() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileUrl
-
Returns the display label for this profile URL.
- getLanguages() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the languages the user has selected on their profile.
- getLastName() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the user's last name.
- getLastProfileEdit() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the last time this account was edited at.
- getLinks() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the links the user has displayed on their profile.
- getLinks() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfilePayments
-
Returns the list of links to external payment services.
- getLocation() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the user’s geographical location.
- getName() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileInterest
-
Returns the name of the interest.
- getName() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Returns the name of the language.
- getNumberVerifiedAccounts() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the number of verified accounts associated with this user.
- getOrder() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Returns the order of the language in the profile.
- getPayments() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the payments objects containing the payment data the user has displayed on their account.
- getProfile() - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Retrieves the profile using the provided email or hash from the Gravatar Profile API using HTTPS as the protocol.
- getProfileUrl() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the full URL to the user’s Gravatar profile.
- getPronouns() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the pronouns the user prefers to use.
- getPronunciation() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns a phonetic guide to pronouncing the user’s name.
- getProtocol() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns the protocol this request will use.
- getRating() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns the rating this request will use.
- getRegistrationDate() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the date this account was registered at.
- getRequestInstant() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileRequestResult
-
Returns the instant the request was made at.
- getRequestUrl() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns the URL for requesting the Avatar based on the current state of this.
- getRequestUrl() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns the URL for requesting the QR code based on the current state of this.
- getServiceIcon() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Returns the URL to the service's icon.
- getServiceLabel() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Returns the label or name of the service.
- getServiceType() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Returns the type of the service.
- getShouldAppendJpgSuffix() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns whether this request should append the jpg suffix to the hash.
- getSize() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns the length of the image this request should return.
- getSize() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns the size of the image this request should return.
- getSuffix() - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseJpgSuffix
-
Returns the suffix, ".jpg" if
GravatarUseJpgSuffix.Trueelse "". - getTimezone() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns the timezone the user has set.
- getToken() - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileTokenProvider
-
Returns the token.
- getUrl() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileGalleryImage
-
Returns the URL to the image.
- getUrl() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileUrl
-
Returns the link for this profile URL.
- getUrl() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Returns the URL to the user's profile on the service.
- getUrlParameter() - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarRating
-
Returns the URL parameter for this
GravatarRating. - getUrlParameterValue() - Method in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
Returns the URL parameter value for this
GravatarDefaultImageType. - getUseFullUrlParameters() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns whether this request will use full URL parameters.
- getVerifiedAccounts() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns a list of verified accounts the user has added to their profile.
- getVersion() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns the QR code version this request will use.
- getWorkPhone() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns the user's work phone number.
- GRAVATAR - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageType
-
The Gravatar logo.
- GravatarAvatarRequest - Class in com.github.natche.gravatarjavaclient.avatar
-
A class for building a Gravatar Avatar request, requesting the resource, and saving the resource to a
Fileor aBufferedImage. - GravatarCryptoWalletAddress - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents a cryptocurrency wallet address on a Gravatar user's profile.
- GravatarCryptoWalletAddress(String, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarCryptoWalletAddress
-
Constructs a new CryptoWalletAddress.
- GravatarDefaultImageType - Enum Class in com.github.natche.gravatarjavaclient.enums
-
The default image types supported by Gravatar for the Avatar API.
- GravatarForceDefaultImage - Enum Class in com.github.natche.gravatarjavaclient.enums
-
Whether Gravatar should force the default image for an Avatar request.
- GravatarJavaClientException - Exception in com.github.natche.gravatarjavaclient.exceptions
-
An exception thrown by the GravatarJavaClient API.
- GravatarJavaClientException(Exception) - Constructor for exception com.github.natche.gravatarjavaclient.exceptions.GravatarJavaClientException
-
Creates a new
GravatarJavaClientExceptionfrom the provided exception. - GravatarJavaClientException(String) - Constructor for exception com.github.natche.gravatarjavaclient.exceptions.GravatarJavaClientException
-
Creates a new
GravatarJavaClientExceptionwith the provided message. - GravatarProfile - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
The results of a Gravatar profile request.
- GravatarProfile(String, String, String, String, String, String, String, String, String, List<GravatarProfileVerifiedAccount>, String, String, String, List<GravatarProfileLanguage>, String, String, boolean, List<GravatarProfileUrl>, List<GravatarProfileInterest>, GravatarProfilePayments, GravatarProfileContactInfo, List<GravatarProfileGalleryImage>, int, String, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Constructs a new GravatarProfile.
- GravatarProfileContactInfo - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents a user's public contact information on a Gravatar profile.
- GravatarProfileContactInfo(String, String, String, String, String, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Constructs a new GravatarProfileContactInfo.
- GravatarProfileDeserializer - Class in com.github.natche.gravatarjavaclient.profile.gson
-
A deserializer for deserializing a
GravatarProfilefrom a JSON element. - GravatarProfileDeserializer() - Constructor for class com.github.natche.gravatarjavaclient.profile.gson.GravatarProfileDeserializer
- GravatarProfileGalleryImage - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents a gallery image on a Gravatar user's profile.
- GravatarProfileGalleryImage(String, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileGalleryImage
-
Constructs a new GravatarProfileGalleryImage.
- GravatarProfileInterest - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents an interest or hobby on a Gravatar user's profile.
- GravatarProfileInterest(int, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileInterest
-
Constructs a new GravatarProfileInterest.
- GravatarProfileLanguage - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents a language on a Gravatar user's profile.
- GravatarProfileLanguage(String, String, boolean, int) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Constructs a new GravatarProfileLanguage.
- GravatarProfilePayments - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents a user's payment options on a Gravatar profile.
- GravatarProfilePayments(List<GravatarProfileUrl>, List<GravatarCryptoWalletAddress>) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfilePayments
-
Constructs a new GravatarProfilePayments.
- GravatarProfileRequest - Class in com.github.natche.gravatarjavaclient.profile
-
A class for requesting a Profile from the Gravatar Profile API.
- GravatarProfileRequestResult - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents metadata of a Gravatar profile request.
- GravatarProfileRequestResult(Instant, boolean) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileRequestResult
-
Constructs a new GravatarProfileRequestResult.
- GravatarProfileTokenProvider - Class in com.github.natche.gravatarjavaclient.profile
-
An authentication token provider for Gravatar Profile requests.
- GravatarProfileTokenProvider(Supplier<byte[]>, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.GravatarProfileTokenProvider
-
Constructs a new token provider.
- GravatarProfileUrl - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
A link on a user's Gravatar profile page.
- GravatarProfileUrl(String, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileUrl
-
Constructs a new profile URL.
- GravatarProfileVerifiedAccount - Class in com.github.natche.gravatarjavaclient.profile.serialization
-
Represents a verified account profile for a Gravatar user.
- GravatarProfileVerifiedAccount(String, String, String, String) - Constructor for class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Constructs a new GravatarProfileVerifiedAccount.
- GravatarProtocol - Enum Class in com.github.natche.gravatarjavaclient.enums
-
Application layer protocols accepted by Gravatar for Avatar requests.
- GravatarQrCodeRequest - Class in com.github.natche.gravatarjavaclient.avatar
-
A request for a user's profile QR code from Gravatar.
- GravatarQrImageType - Enum Class in com.github.natche.gravatarjavaclient.enums
-
The valid types of QR images returned by the Gravatar API.
- GravatarQrImageVersion - Enum Class in com.github.natche.gravatarjavaclient.enums
-
The QR code version of the image returned.
- GravatarRating - Enum Class in com.github.natche.gravatarjavaclient.enums
-
Valid ratings for a Gravatar Avatar image.
- GravatarUrlParameter - Enum Class in com.github.natche.gravatarjavaclient.enums
-
A URL parameter for a Gravatar Avatar request.
- GravatarUseFullUrlParameters - Enum Class in com.github.natche.gravatarjavaclient.enums
-
Whether to use full or short URL parameter names for an Avatar request.
- GravatarUseJpgSuffix - Enum Class in com.github.natche.gravatarjavaclient.enums
-
Whether a Gravatar Avatar request should append ".jpg" to the hash.
- GsonProvider - Enum Class in com.github.natche.gravatarjavaclient.profile.gson
-
A singleton for providing a common shared
Gsoninstance for serialization/deserialization with custom registered type adapters needed for this API.
H
- hash(String) - Method in class com.github.natche.gravatarjavaclient.utils.Hasher
-
Hashes the provided input using the encapsulated algorithm.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns a hashcode of this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Returns a hashcode of this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileTokenProvider
-
Returns a hashcode representation of this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarCryptoWalletAddress
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileGalleryImage
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileInterest
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfilePayments
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileRequestResult
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileUrl
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Returns a hashcode for this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.utils.Hasher
-
Returns a hash code of this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.utils.InputValidator
-
Returns a hash code of this object.
- hashCode() - Method in class com.github.natche.gravatarjavaclient.utils.ResourceReader
-
Returns a hashcode representation of this object.
- Hasher - Class in com.github.natche.gravatarjavaclient.utils
-
A class used for hashing inputs using certain algorithms.
- HTTP - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarProtocol
-
The hypertext transfer protocol.
- HTTPS - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarProtocol
-
The hypertext transfer protocol secure.
I
- IDENT_ICON - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The ident icon image type.
- ImmutableListDeserializer - Class in com.github.natche.gravatarjavaclient.profile.gson
-
A collection deserializer for
Gsonto use when deserializing a Collection into anImmutableListfrom Guava. - ImmutableListDeserializer() - Constructor for class com.github.natche.gravatarjavaclient.profile.gson.ImmutableListDeserializer
- InputValidator - Class in com.github.natche.gravatarjavaclient.utils
-
A string validator used for validating parameter inputs.
- INSTANCE - Enum constant in enum class com.github.natche.gravatarjavaclient.profile.gson.GsonProvider
-
The gson provider instance.
- isOrganization() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns whether this account is marked as an organization account.
- isPrimary() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Returns whether this is the primary language.
- isValidEmailAddress() - Method in class com.github.natche.gravatarjavaclient.utils.InputValidator
-
Returns whether the encapsulated input is a valid email address.
- isValidFilename(String) - Static method in class com.github.natche.gravatarjavaclient.utils.ResourceReader
-
Returns whether the provided filename is valid for this operating system.
- isValidImageUrl() - Method in class com.github.natche.gravatarjavaclient.utils.InputValidator
-
Returns whether the encapsulated input is a valid image URL.
M
- MONSTER_ID - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The monster id image type.
- MYSTERY_PERSON - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The mystery person image type.
O
- ONE - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageVersion
-
The same as
GravatarQrImageVersion.BLANK.
P
- PG - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarRating
-
The PG rating for a Gravatar user image.
R
- R - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarRating
-
The R rating for a Gravatar user image.
- RATING - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
The
GravatarRatingfor a Gravatar request. - readChunkedBody() - Method in class com.github.natche.gravatarjavaclient.utils.ResourceReader
-
Reads a chunked body from encapsulated reader.
- ResourceReader - Class in com.github.natche.gravatarjavaclient.utils
-
A class for reading resources given a
BufferedReader. - RETRO - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The retro image type.
- ROBO_HASH - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The RoboHash image type.
S
- saveAsJpg(File) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Saves an image obtained from the URL constructed from this to the provided file as a jpg.
- saveAsPng(File) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Saves an image obtained from the URL constructed from this to the provided file as a png.
- saveTo(File) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Saves the QR code obtained from this to the provided file as a PNG.
- saveTo(File, String) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Saves an image obtained from the URL constructed from this to the provided file.
- setDefaultImageType(GravatarDefaultImageType) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Sets the default image type this request will use.
- setDefaultImageUrl(String) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Sets the default image URL.
- setForceDefaultImage(GravatarForceDefaultImage) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Sets whether this request should force the default image.
- setImageType(GravatarQrImageType) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Sets the image type this request will use.
- setProtocol(GravatarProtocol) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Sets the protocol this request will use.
- setRating(GravatarRating) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Sets the rating this request will use.
- setShouldAppendJpgSuffix(GravatarUseJpgSuffix) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns whether this request should append the jpg suffix to the hash.
- setSize(int) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Sets the length of the image this request should return.
- setSize(int) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Sets the length of the image this request should return.
- setTokenSupplier(GravatarProfileTokenProvider) - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Sets the API token provider to use when requesting this profile from the Gravatar API.
- setUseFullUrlParameters(GravatarUseFullUrlParameters) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Sets whether this request should use full URL parameters.
- setVersion(GravatarQrImageVersion) - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Sets the QR code version this request will use.
- SHA256_HASHER - Static variable in class com.github.natche.gravatarjavaclient.utils.Hasher
-
A shared hasher instance using the SHA256 algorithm.
- shouldForceDefaultImage() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns whether this request should force the default image.
- SIZE - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
The size of the image to be returned by a Gravatar request.
- skipHeaders() - Method in class com.github.natche.gravatarjavaclient.utils.ResourceReader
-
Skips any headers of the encapsulated reader.
- succeeded() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileRequestResult
-
Returns whether the request succeeded.
T
- THREE - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageVersion
-
Modern "small dots" QR code.
- toString() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarAvatarRequest
-
Returns a string representation of this.
- toString() - Method in class com.github.natche.gravatarjavaclient.avatar.GravatarQrCodeRequest
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileTokenProvider
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarCryptoWalletAddress
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfile
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileContactInfo
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileGalleryImage
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileInterest
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileLanguage
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfilePayments
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileRequestResult
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileUrl
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfileVerifiedAccount
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.utils.Hasher
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.utils.InputValidator
-
Returns a string representation of this object.
- toString() - Method in class com.github.natche.gravatarjavaclient.utils.ResourceReader
-
Returns a string representation of this object.
- True - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseFullUrlParameters
- True - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseJpgSuffix
- Types - Class in com.github.natche.gravatarjavaclient.profile.gson
U
- USER - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageType
-
The user's avatar.
V
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarForceDefaultImage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarRating
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseFullUrlParameters
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseJpgSuffix
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.github.natche.gravatarjavaclient.profile.gson.GsonProvider
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarForceDefaultImage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarQrImageVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarRating
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUrlParameter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseFullUrlParameters
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.enums.GravatarUseJpgSuffix
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.github.natche.gravatarjavaclient.profile.gson.GsonProvider
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WAVATAR - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The wavatar image type.
- writeToFile(Gson, File) - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Writes the profile object obtained from this request to the provided file using the provided GSON object as the serializer.
- writeToFile(File) - Method in class com.github.natche.gravatarjavaclient.profile.GravatarProfileRequest
-
Writes the profile object obtained from this request to the provided file.
X
- X - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarRating
-
The X rating for a Gravatar user image.
_
- _404 - Enum constant in enum class com.github.natche.gravatarjavaclient.enums.GravatarDefaultImageType
-
The 404 image type.
All Classes and Interfaces|All Packages|Serialized Form