Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABANDONED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- accept(BiConsumer<? super F, ? super S>) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Accepts the given
consumer
on the values from the pair - accept(T) - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionConsumer
- acceptFirst(Consumer<? super F>) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Accepts the given
consumer
on the first value of the pair. - AcceptsArgs - Annotation Interface in io.github.matyrobbrt.curseforgeapi.annotation
- acceptSecond(Consumer<? super S>) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Accepts the given
consumer
on the second value of the pair. - acceptWithException(T) - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionConsumer
-
Performs this operation on the given argument, potentially throwing an exception.
- action - Variable in class io.github.matyrobbrt.curseforgeapi.request.async.AsyncRequestOperator
- addFingerprint(String, int...) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.GetFuzzyMatchesQuery
- additionalProperties() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
additionalProperties
record component. - addRelation(String, FileRelationType) - Method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadQuery
- algo() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileHash
-
Returns the value of the
algo
record component. - allowModDistribution() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
allowModDistribution
record component. - ALPHA - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileReleaseType
- alternateFileId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
alternateFileId
record component. - and(AsyncRequest<U>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Merges this request with the
other
one. - ANY - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- API_UNAVAILABLE - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
- apiKey(String) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI.Builder
-
Sets the API Key used for requests to the CurseForge API.
- apiStatus() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns the value of the
apiStatus
record component. - ApiStatus - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas
- apply(T) - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionFunction
-
Applies this function to the given argument.
- applyNoException(T) - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionFunction
-
Applies this function to the given argument.
- APPROVED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- APPROVED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- APPROVED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
- ARCHIVED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- Arg - Annotation Interface in io.github.matyrobbrt.curseforgeapi.annotation
-
An argument, for use in conjunction with
AcceptsArgs
to indicate what arguments a method can accept. - Arg.Type - Enum Class in io.github.matyrobbrt.curseforgeapi.annotation
- Arguments - Class in io.github.matyrobbrt.curseforgeapi.request
-
A list of keys and values for specifying arguments when send a request to CurseForge.
- ASCENDENT - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortOrder
- assets() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns the value of the
assets
record component. - Assets(String, String, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game.Assets
-
Creates an instance of a
Assets
record class. - AsyncRequest<T> - Interface in io.github.matyrobbrt.curseforgeapi.request
-
An object used for async requests.
- AsyncRequest.EmptyRequestException - Exception in io.github.matyrobbrt.curseforgeapi.request
- AsyncRequestHelper - Class in io.github.matyrobbrt.curseforgeapi.request.helper
-
A helper class for making direct requests.
- AsyncRequestHelper(CurseForgeAPI) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- AsyncRequestOperator<I,
O> - Class in io.github.matyrobbrt.curseforgeapi.request.async - AsyncRequestOperator(AsyncRequest<I>) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.async.AsyncRequestOperator
- AsyncRequestValues - Class in io.github.matyrobbrt.curseforgeapi.request.async
- AsyncRequestValues() - Constructor for class io.github.matyrobbrt.curseforgeapi.request.async.AsyncRequestValues
- AUTHOR - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- authors() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
authors
record component. - AWAITING_PUBLISHING - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
B
- BAD_REQUEST - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
-
The 400 (Bad Request) status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
- BAKING - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- BETA - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileReleaseType
- body() - Method in class io.github.matyrobbrt.curseforgeapi.request.GenericRequest
- bodyPublisher() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Returns the value of the
bodyPublisher
record component. - build() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI.Builder
-
Builds the
CurseForgeAPI
based on the configurations of this Builder. - build() - Method in class io.github.matyrobbrt.curseforgeapi.request.Arguments
- builder() - Static method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Creates a
CurseForgeAPI.Builder
instance for creating aCurseForgeAPI
instance. - byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.ApiStatus
- byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileReleaseType
- byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.HashAlgo
- byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- byId(int) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
C
- categories() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
categories
record component. - category(Category) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter by category
- Category - Record Class in io.github.matyrobbrt.curseforgeapi.schemas
- Category(int, int, String, String, String, String, String, boolean, Integer, Integer) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Creates an instance of a
Category
record class. - CATEGORY - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- CATEGORY_LIST - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- categoryId(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter by category id
- CAULDRON - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- CFSchemaEnumTypeAdapter<E extends Enum<E>> - Class in io.github.matyrobbrt.curseforgeapi.util.gson
- CFSchemaEnumTypeAdapter(Class<E>) - Constructor for class io.github.matyrobbrt.curseforgeapi.util.gson.CFSchemaEnumTypeAdapter
- changelogType(ChangelogType) - Method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadQuery
- ChangelogType - Enum Class in io.github.matyrobbrt.curseforgeapi.request.uploadapi
- CHANGES_MADE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- CHANGES_REQUIRED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- CHANGES_REQUIRED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- classId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
classId
record component. - classId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
classId
record component. - classId(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter by section id (discoverable via Categories)
- clearFirst() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Clears the first value of the pair, by making it
null
. - clearSecond() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Clears the second value of the pair, by making it
null
. - Constants - Class in io.github.matyrobbrt.curseforgeapi.util
-
A class holding different constant values.
- Constants() - Constructor for class io.github.matyrobbrt.curseforgeapi.util.Constants
- Constants.GameIDs - Class in io.github.matyrobbrt.curseforgeapi.util
- Constants.StatusCodes - Class in io.github.matyrobbrt.curseforgeapi.util
- constructUnsafe(Class<?>) - Static method in class io.github.matyrobbrt.curseforgeapi.util.gson.CFSchemaEnumTypeAdapter
- contentType() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Returns the value of the
contentType
record component. - copy() - Method in class io.github.matyrobbrt.curseforgeapi.request.Arguments
- coverUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game.Assets
-
Returns the value of the
coverUrl
record component. - create(Gson, TypeToken<T>) - Method in class io.github.matyrobbrt.curseforgeapi.util.gson.RecordTypeAdapterFactory
- CurseForgeAPI - Class in io.github.matyrobbrt.curseforgeapi
-
The main class used for communicating with the CurseForge API through HTTP requests.
- CurseForgeAPI(String) - Constructor for class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Deprecated, for removal: This API element is subject to removal in a future version.
- CurseForgeAPI(String, HttpClient, Gson, Logger) - Constructor for class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the
CurseForgeAPI.Builder
(CurseForgeAPI.builder()
). This constructor will be removed in a future version. - CurseForgeAPI.Builder - Class in io.github.matyrobbrt.curseforgeapi
-
A builder class used for creating
CurseForgeAPI
instances. - CurseForgeException - Exception in io.github.matyrobbrt.curseforgeapi.util
- CurseForgeException(String) - Constructor for exception io.github.matyrobbrt.curseforgeapi.util.CurseForgeException
- CurseForgeException(Throwable) - Constructor for exception io.github.matyrobbrt.curseforgeapi.util.CurseForgeException
- CurseForgeException.Runtime - Exception in io.github.matyrobbrt.curseforgeapi.util
- CurseForgeSchema - Annotation Interface in io.github.matyrobbrt.curseforgeapi.annotation
-
Classes annotated with this annotation are schemas for use with the CurseForg API.
D
- DARKEST_DUNGEON - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.GameIDs
- data() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.PaginatedData
-
Returns the value of the
data
record component. - dateCreated() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
dateCreated
record component. - dateModified() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
dateModified
record component. - dateModified() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns the value of the
dateModified
record component. - dateModified() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
dateModified
record component. - dateModifiedAsInstant() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
- dateModifiedAsInstant() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
- dateReleased() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
dateReleased
record component. - decodeResponse(Gson, JsonObject) - Method in class io.github.matyrobbrt.curseforgeapi.request.Request
- DEFAULT_GSON - Static variable in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
The default
Gson
used for decoding responses. - DEFAULT_HTTP_CLIENT_FACTORY - Static variable in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
The factory that supplies default
HttpClient
used for making HTTP requests. - defaultGson(Consumer<GsonBuilder>) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI.Builder
-
Sets the
Gson
used for decoding responses to theCurseForgeAPI.DEFAULT_GSON
, modified by themodifyingConsumer
to suit your needs. - DELETED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- DELETED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- dependencies() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
dependencies
record component. - DEPRECATED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- DESCENDENT - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortOrder
- description() - Element in annotation interface io.github.matyrobbrt.curseforgeapi.annotation.Arg
- description() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns the value of the
description
record component. - displayName() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
displayName
record component. - displayName(String) - Method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadQuery
- DoubleAsyncRequest<F,
S> - Interface in io.github.matyrobbrt.curseforgeapi.request -
A variant of
AsyncRequest
, which contains 2 values. - download(Path) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Attempts to download the file to the specified
path
, creating any directories to it, if they do not exist. - downloadCount() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
downloadCount
record component. - downloadCount() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
downloadCount
record component. - downloadUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
downloadUrl
record component. - DRAFT - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
E
- EMBEDDED_LIBRARY - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- empty() - Static method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
- empty() - Static method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Makes an empty pair, which has each value
null
. - empty(Integer) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
Returns an empty
Response
instance. - EMPTY - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Arguments
- EmptyAsyncRequest<T> - Class in io.github.matyrobbrt.curseforgeapi.request.async
- EmptyRequestException() - Constructor for exception io.github.matyrobbrt.curseforgeapi.request.AsyncRequest.EmptyRequestException
- encodeURL(String) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
-
Encodes a string for use in URL requests.
- endpoint() - Method in class io.github.matyrobbrt.curseforgeapi.request.GenericRequest
- endpoint() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Returns the value of the
endpoint
record component. - equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfHttpResponseAsyncRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfValueAsyncRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameDependency
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileDependency
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileHash
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileModule
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintMatch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game.Assets
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionsByType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.FeaturedMods
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAuthor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.PaginatedData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Indicates whether some other object is "equal to" this one.
- exactFingerprints() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
exactFingerprints
record component. - exactMatches() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
exactMatches
record component. - ExceptionConsumer<T,
E extends Exception> - Interface in io.github.matyrobbrt.curseforgeapi.util -
Represents an operation that accepts a single input argument and returns no result.
- ExceptionFunction<T,
R, E extends Exception> - Interface in io.github.matyrobbrt.curseforgeapi.util -
Represents a function that accepts one argument and produces a result, with the chance of throwing an exception.
- ExceptionRunnable<E extends Exception> - Interface in io.github.matyrobbrt.curseforgeapi.util
-
A special
Runnable
implementation which can throw an exception. - ExceptionSupplier<T,
E extends Exception> - Interface in io.github.matyrobbrt.curseforgeapi.util -
Represents a supplier of results, which may throw an exception.
- excludeMod(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.FeaturedModsQuery
- excludeMods(int...) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.FeaturedModsQuery
- exposeAsAlternative() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
exposeAsAlternative
record component.
F
- FABRIC - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- FAILED_PUBLISHING - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- featured() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.FeaturedMods
-
Returns the value of the
featured
record component. - FEATURED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- FEATURED_MODS - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- FeaturedMods - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.mod
- FeaturedMods(List<Mod>, List<Mod>, List<Mod>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.mod.FeaturedMods
-
Creates an instance of a
FeaturedMods
record class. - FeaturedModsQuery - Class in io.github.matyrobbrt.curseforgeapi.request.query
- file() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Returns the value of the
file
record component. - file() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintMatch
-
Returns the value of the
file
record component. - File - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- File(int, int, int, boolean, String, String, FileReleaseType, FileStatus, List<FileHash>, String, int, int, String, List<String>, List<SortableGameVersion>, List<FileDependency>, Boolean, Integer, Integer, Boolean, Integer, int, List<FileModule>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Creates an instance of a
File
record class. - FILE - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- FILE_LIST - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- fileDate() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
fileDate
record component. - FileDependency - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- FileDependency(int, int, FileRelationType) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileDependency
-
Creates an instance of a
FileDependency
record class. - fileFingerprint() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
fileFingerprint
record component. - FileHash - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- FileHash(String, HashAlgo) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileHash
-
Creates an instance of a
FileHash
record class. - fileId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileDependency
-
Returns the value of the
fileId
record component. - fileId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns the value of the
fileId
record component. - FileIndex - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- FileIndex(String, int, String, FileReleaseType, Integer, Integer) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Creates an instance of a
FileIndex
record class. - fileLength() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
fileLength
record component. - FileModule - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- FileModule(String, int) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileModule
-
Creates an instance of a
FileModule
record class. - filename() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns the value of the
filename
record component. - fileName() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
fileName
record component. - FileRelationType - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- FileReleaseType - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- fileStatus() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
fileStatus
record component. - FileStatus - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas.file
- filter(Predicate<? super T>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, and the value matches the given predicate, returns an
Response
describing the value, otherwise returns an emptyResponse
. - fingerprint() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileModule
-
Returns the value of the
fingerprint
record component. - FingerprintFuzzyMatch - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.fingerprint
- FingerprintFuzzyMatch(int, File, List<File>, List<Integer>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Creates an instance of a
FingerprintFuzzyMatch
record class. - FingerprintMatch - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.fingerprint
- FingerprintMatch(int, File, List<File>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintMatch
-
Creates an instance of a
FingerprintMatch
record class. - fingerprints() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Returns the value of the
fingerprints
record component. - FINGERPRINTS_FUZY_MATCH_LIST - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- FINGERPRINTS_MATCHES - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- FingerprintsMatchesResult - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.fingerprint
- FingerprintsMatchesResult(boolean, List<FingerprintMatch>, List<Integer>, List<FingerprintMatch>, Object, List<Integer>, List<Integer>, List<Integer>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Creates an instance of a
FingerprintsMatchesResult
record class. - first() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
-
Returns the value of the
first
record component. - first() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Returns the value of the
first
record component. - flatMap(Function<? super T, ? extends AsyncRequest<U>>) - Method in class io.github.matyrobbrt.curseforgeapi.request.async.EmptyAsyncRequest
- flatMap(Function<? super T, ? extends AsyncRequest<U>>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Intermediate operator that returns a modified
AsyncRequest
. - flatMap(Function<? super T, ? extends Response<? extends U>>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns the result of applying the given
Response
-bearing mapping function to the value, otherwise returns an emptyResponse
. - FlatMapAsyncRequest<I,
O> - Class in io.github.matyrobbrt.curseforgeapi.request.async - FlatMapAsyncRequest(AsyncRequest<I>, Function<? super I, ? extends AsyncRequest<O>>) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.async.FlatMapAsyncRequest
- flatMapWithException(ExceptionFunction<? super T, ? extends AsyncRequest<U>, E>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Intermediate operator that returns a modified
AsyncRequest
. - flatMapWithException(ExceptionFunction<? super T, ? extends Response<? extends U>, ?>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns the result of applying the given
Response
-bearing mapping function to the value, otherwise returns an emptyResponse
. - FORBIDDEN - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
-
The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it.
- forGame(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.query.GetFuzzyMatchesQuery
- forGame(Game) - Static method in class io.github.matyrobbrt.curseforgeapi.request.query.GetFuzzyMatchesQuery
- FORGE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- format(String, Arguments) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
- format(String, Query) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
- fromJson(Gson, JsonObject, Type) - Static method in record class io.github.matyrobbrt.curseforgeapi.schemas.PaginatedData
- future() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
-
Returns the value of the
future
record component. - future() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfHttpResponseAsyncRequest
-
Returns the value of the
future
record component.
G
- Game - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.game
- Game(int, String, String, String, Game.Assets, Status, ApiStatus) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Creates an instance of a
Game
record class. - GAME - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- GAME_LIST - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- GAME_VERSION - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- GAME_VERSION_TYPE_LIST - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- GAME_VERSIONS_BY_TYPE_LIST - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- Game.Assets - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.game
- GameDependency - Record Class in io.github.matyrobbrt.curseforgeapi.request.uploadapi
-
https://support.curseforge.com/en/support/solutions/articles/9000197321-curseforge-upload-api
- GameDependency(int, String, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameDependency
-
Creates an instance of a
GameDependency
record class. - gameId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
gameId
record component. - gameId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
gameId
record component. - gameId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Returns the value of the
gameId
record component. - gameId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
gameId
record component. - GameIDs() - Constructor for class io.github.matyrobbrt.curseforgeapi.util.Constants.GameIDs
- gamePopularityRank() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
gamePopularityRank
record component. - gameVersion() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns the value of the
gameVersion
record component. - gameVersion() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Returns the value of the
gameVersion
record component. - gameVersion(String) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter by game version string
- GameVersion - Record Class in io.github.matyrobbrt.curseforgeapi.request.uploadapi
-
https://support.curseforge.com/en/support/solutions/articles/9000197321-curseforge-upload-api
- GameVersion(int, int, String, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Creates an instance of a
GameVersion
record class. - gameVersionName() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Returns the value of the
gameVersionName
record component. - gameVersionPadded() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Returns the value of the
gameVersionPadded
record component. - gameVersionReleaseDate() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Returns the value of the
gameVersionReleaseDate
record component. - gameVersions() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
gameVersions
record component. - gameVersions(int...) - Method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadQuery
- GameVersionsByType - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.game
- GameVersionsByType(int, List<String>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionsByType
-
Creates an instance of a
GameVersionsByType
record class. - GameVersionType - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.game
- GameVersionType(int, int, String, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Creates an instance of a
GameVersionType
record class. - gameVersionTypeId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns the value of the
gameVersionTypeId
record component. - gameVersionTypeId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Returns the value of the
gameVersionTypeId
record component. - gameVersionTypeId(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.FeaturedModsQuery
- gameVersionTypeId(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter only mods that contain files tagged with versions of the given
gameVersionTypeId
. - gameVersionTypeID() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Returns the value of the
gameVersionTypeID
record component. - GATEWAY_TIMEOUT - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
-
The 504 (Gateway Timeout) status code indicates that the server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.
- GenericRequest - Class in io.github.matyrobbrt.curseforgeapi.request
- GenericRequest(String, Method) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.GenericRequest
- GenericRequest(String, Method, JsonElement) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.GenericRequest
- get() - Method in class io.github.matyrobbrt.curseforgeapi.request.async.EmptyAsyncRequest
- get() - Method in class io.github.matyrobbrt.curseforgeapi.request.async.FlatMapAsyncRequest
- get() - Method in class io.github.matyrobbrt.curseforgeapi.request.async.MapAsyncRequest
- get() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
- get() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfHttpResponseAsyncRequest
- get() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfValueAsyncRequest
- get() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
- get() - Method in class io.github.matyrobbrt.curseforgeapi.request.async.WithExceptionAsyncRequest
- get() - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Completes this request by blocking the current thread until the value is returned, and then returning it.
- get() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns the value, otherwise throws
NoSuchElementException
. - get() - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionSupplier
-
Gets a result.
- GET - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.Method
- getApiKey() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
- getAsyncHelper() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
- getCategories(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getCategories(int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getCategories(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getCategories(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all of the categories which match the given
gameId
. - getCategories(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getCategories(int, int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getCategories(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getCategories(int, int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all of the categories which match the given
gameId
andclassId
. - getDateCreatedAsInstant() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
- getDateModifiedAsInstant() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
- getDateReleasedAsInstant() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
- getDefaultFailure() - Static method in class io.github.matyrobbrt.curseforgeapi.request.async.AsyncRequestValues
- getFeaturedMods(FeaturedModsQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getFeaturedMods(FeaturedModsQuery) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getFeaturedMods(FeaturedModsQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getFeaturedMods(FeaturedModsQuery) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get a list of featured, popular and recently updated mods.
- getFileDateAsInstant() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
- getFiles(int...) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getFiles(int...) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getFiles(int...) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getFiles(int...) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get a list of files.
- getFingerprintMatches(int...) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getFingerprintMatches(int...) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getFingerprintMatches(int...) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getFingerprintMatches(int...) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get mod files that match a list of fingerprints.
- getFingerprintsFuzzyMatches(GetFuzzyMatchesQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getFingerprintsFuzzyMatches(GetFuzzyMatchesQuery) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getFingerprintsFuzzyMatches(GetFuzzyMatchesQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getFingerprintsFuzzyMatches(GetFuzzyMatchesQuery) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get mod files that match a list of fingerprints using fuzzy matching.
- GetFuzzyMatchesQuery - Class in io.github.matyrobbrt.curseforgeapi.request.query
- getGame(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getGame(int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getGame(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getGame(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get a single game.
- getGameDependencies() - Static method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequests
-
Retrieves a list of game dependencies.
- getGames() - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getGames() - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getGames() - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getGames() - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all games that are available to your API key.
- getGames(PaginationQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getGames(PaginationQuery) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getGames(PaginationQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getGames(PaginationQuery) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all games that are available to your API key.
- getGameVersions() - Static method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequests
-
Retrieve a list of game versions
- getGameVersions(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getGameVersions(int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getGameVersions(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getGameVersions(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all available versions for each known version type of the specified game.
- getGameVersionTypes(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getGameVersionTypes(int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getGameVersionTypes(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getGameVersionTypes(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all available version types of the specified game.
- getGson() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
- getHelper() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
- getHttpClient() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
- getIsPresentPredicate(Class<T>) - Static method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Gets the
"Is Present"
predicate for the specified class. - getLogger() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
- getMod(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getMod(int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getMod(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getMod(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get the mod with the specified ID
- getModDescription(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getModDescription(int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getModDescription(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getModDescription(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get the description of the mod with the specified ID in the HTML format.
- getModFile(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getModFile(int, int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getModFile(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getModFile(int, int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get a single file of the specified mod.
- getModFileChangelog(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getModFileChangelog(int, int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getModFileChangelog(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getModFileChangelog(int, int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get the changelog of a file in HTML format.
- getModFileDownloadURL(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getModFileDownloadURL(int, int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getModFileDownloadURL(int, int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getModFileDownloadURL(int, int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get a download url for a specific file.
- getModFiles(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getModFiles(int) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getModFiles(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getModFiles(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all files of the specified mod.
- getModFiles(int, Integer, PaginationQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getModFiles(int, Integer, PaginationQuery) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getModFiles(int, Integer, PaginationQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getModFiles(int, Integer, PaginationQuery) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all files of the specified mod.
- getModFiles(Mod) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- getModFiles(Mod) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- getModFiles(Mod) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- getModFiles(Mod) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Get all files of the specified mod.
- getNoException() - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionSupplier
-
Gets the result, and if an exception is encountered, it will be sneakily rethrown.
- getStatusCode() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
- getUploadApiToken() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
- gson(Gson) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI.Builder
-
Sets the
Gson
used for decoding responses.
H
- HashAlgo - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfHttpResponseAsyncRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfValueAsyncRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
-
Returns a hash code value for this object.
- hashCode() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameDependency
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileDependency
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileHash
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileModule
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintMatch
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game.Assets
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionsByType
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.FeaturedMods
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAuthor
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.PaginatedData
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Returns a hash code value for this object.
- hashes() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
hashes
record component. - HTML - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.uploadapi.ChangelogType
- httpClient(HttpClient) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI.Builder
-
Sets the
HttpClient
used for sending HTTP requests.
I
- iconUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
iconUrl
record component. - iconUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game.Assets
-
Returns the value of the
iconUrl
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameDependency
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintMatch
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns the value of the
id
record component. - id() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAuthor
-
Returns the value of the
id
record component. - ifPresent(Consumer<? super T>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, performs the given action with the value, otherwise does nothing.
- ifPresentOrElse(Consumer<? super T>, Runnable) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, performs the given action with the value, otherwise performs the given empty-based action.
- immutable() - Method in class io.github.matyrobbrt.curseforgeapi.request.Arguments
- INACTIVE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- INCLUDE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- INCOMPATIBLE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- index() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Returns the value of the
index
record component. - index(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
A zero based index of the first item to include in the response
- index(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.PaginationQuery
- installedFingerprints() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
installedFingerprints
record component. - INSTANCE - Static variable in class io.github.matyrobbrt.curseforgeapi.request.async.EmptyAsyncRequest
- INTEGER - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.annotation.Arg.Type
- INTERNAL_SERVER_ERROR - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
-
The 500 (Internal Server Error) status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
- io.github.matyrobbrt.curseforgeapi - package io.github.matyrobbrt.curseforgeapi
- io.github.matyrobbrt.curseforgeapi.annotation - package io.github.matyrobbrt.curseforgeapi.annotation
- io.github.matyrobbrt.curseforgeapi.request - package io.github.matyrobbrt.curseforgeapi.request
- io.github.matyrobbrt.curseforgeapi.request.async - package io.github.matyrobbrt.curseforgeapi.request.async
-
For internal use only.
- io.github.matyrobbrt.curseforgeapi.request.helper - package io.github.matyrobbrt.curseforgeapi.request.helper
- io.github.matyrobbrt.curseforgeapi.request.query - package io.github.matyrobbrt.curseforgeapi.request.query
- io.github.matyrobbrt.curseforgeapi.request.uploadapi - package io.github.matyrobbrt.curseforgeapi.request.uploadapi
- io.github.matyrobbrt.curseforgeapi.schemas - package io.github.matyrobbrt.curseforgeapi.schemas
- io.github.matyrobbrt.curseforgeapi.schemas.file - package io.github.matyrobbrt.curseforgeapi.schemas.file
- io.github.matyrobbrt.curseforgeapi.schemas.fingerprint - package io.github.matyrobbrt.curseforgeapi.schemas.fingerprint
- io.github.matyrobbrt.curseforgeapi.schemas.game - package io.github.matyrobbrt.curseforgeapi.schemas.game
- io.github.matyrobbrt.curseforgeapi.schemas.mod - package io.github.matyrobbrt.curseforgeapi.schemas.mod
- io.github.matyrobbrt.curseforgeapi.util - package io.github.matyrobbrt.curseforgeapi.util
- io.github.matyrobbrt.curseforgeapi.util.gson - package io.github.matyrobbrt.curseforgeapi.util.gson
- IRequestHelper - Interface in io.github.matyrobbrt.curseforgeapi.request.helper
- isAuthorized() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Makes a simple request to the CurseForge API, to check if the API Key is valid.
- isAuthorizedForUpload() - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Makes a simple request to the CurseForge Upload API, to check if the API Token is valid.
- isAvailable() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
isAvailable
record component. - isAvailable() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
isAvailable
record component. - isCacheBuilt() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
isCacheBuilt
record component. - isClass() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
isClass
record component. - isEmpty() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
- isFeatured() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
isFeatured
record component. - isPresent() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
- isServerPack() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
isServerPack
record component. - isString(JsonElement) - Static method in class io.github.matyrobbrt.curseforgeapi.util.gson.JsonUtils
- issuesUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Returns the value of the
issuesUrl
record component.
J
- jsonArrayToList(JsonArray) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
- JsonUtils - Class in io.github.matyrobbrt.curseforgeapi.util.gson
- JsonUtils() - Constructor for class io.github.matyrobbrt.curseforgeapi.util.gson.JsonUtils
L
- LAST_UPDATED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- latestFiles() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Returns the value of the
latestFiles
record component. - latestFiles() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintMatch
-
Returns the value of the
latestFiles
record component. - latestFiles() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
latestFiles
record component. - latestFilesIndexes() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
latestFilesIndexes
record component. - links() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
links
record component. - LITE_LOADER - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- LIVE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
- logger(Logger) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI.Builder
-
Sets the
Logger
used for logging information. - LOGGER - Static variable in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
- logo() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
logo
record component.
M
- mainFileId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
mainFileId
record component. - make(String, FileReleaseType) - Static method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadQuery
- makeAsyncGenericRequest(GenericRequest) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Sends an async generic request to the API.
- makeAsyncRequest(Request<? extends R>) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Sends an async request to the API
- makeAsyncUploadApiRequest(String, UploadApiRequest<? extends R>) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Sends an async request to the Upload API.
- makeGenericRequest(GenericRequest) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Sends a generic blocking request to the API.
- makeRequest(Request<? extends R>) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Sends a blocking request to the API
- makeUploadApiRequest(String, UploadApiRequest<? extends R>) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
Sends a blocking request to the Upload API
- makeWithSupplier(Supplier<T>) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
- MALWARE_DETECTED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- map(BiFunction<? super F, ? super S, ? extends T>) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps the pair to another value
- map(BiFunction<? super F, ? super S, ? extends U>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.DoubleAsyncRequest
-
Maps this request
- map(Function<? super T, ? extends U>) - Method in class io.github.matyrobbrt.curseforgeapi.request.async.EmptyAsyncRequest
- map(Function<? super T, ? extends U>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Maps this request
- map(Function<? super T, ? extends U>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns an
Response
describing (as if byResponse.ofNullable(T, java.lang.Integer)
) the result of applying the given mapping function to the value, otherwise returns an emptyResponse
. - MapAsyncRequest<I,
O> - Class in io.github.matyrobbrt.curseforgeapi.request.async - MapAsyncRequest(AsyncRequest<I>, Function<? super I, ? extends O>) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.async.MapAsyncRequest
- mapBoth(Function<? super F, ? extends NEW_FIRST>, Function<? super S, NEW_SECOND>) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps the pair's values to new ones.
- mapFirst(Function<? super F, ? extends NEW_FIRST>) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps the first value to another value.
- mapFirst(NEW_FIRST) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps the first value to another value.
- mapOrElse(Function<? super T, ? extends U>, Supplier<U>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
Map the value inside the
Response
to another one if present, or else, return the suppliedorElse
. - mapOrElseWithException(ExceptionFunction<? super T, ? extends U, ?>, ExceptionSupplier<U, ?>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
Map the value inside the
Response
to another one if present, or else, return the suppliedorElse
. - mapOrElseWithException(ExceptionFunction<? super T, ? extends U, ?>, ExceptionSupplier<U, ?>, Function<Exception, U>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
Map the value inside the
Response
to another one if present, or else, return the suppliedorElse
. - mapResponses(Pair<Response<F>, Response<S>>) - Static method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps a pair containing 2 responses into an optional that may have a pair containing the values of both responses, if both are present.
- mapSecond(Function<? super S, ? extends NEW_SECOND>) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps the second value to another value.
- mapSecond(NEW_SECOND) - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps the second value to another value.
- mapWithException(ExceptionFunction<? super T, ? extends U, ?>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Maps this request.
- MARKDOWN - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.uploadapi.ChangelogType
- MD5 - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.HashAlgo
- method() - Method in class io.github.matyrobbrt.curseforgeapi.request.GenericRequest
- method() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Returns the value of the
method
record component. - Method - Enum Class in io.github.matyrobbrt.curseforgeapi.request
- MIN_PROJECT_ID - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants
-
The minimum CurseForge project ID.
- MINECRAFT - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.GameIDs
- Mod - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.mod
- Mod(int, int, String, String, ModLinks, String, ModStatus, double, boolean, int, List<Category>, Integer, List<ModAuthor>, ModAsset, List<ModAsset>, int, List<File>, List<FileIndex>, String, String, String, Boolean, int, boolean, Integer) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Creates an instance of a
Mod
record class. - MOD - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- MOD_LIST - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- ModAsset - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.mod
- ModAsset(int, int, String, String, String, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Creates an instance of a
ModAsset
record class. - ModAuthor - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.mod
- ModAuthor(int, String, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAuthor
-
Creates an instance of a
ModAuthor
record class. - modId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
modId
record component. - modId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileDependency
-
Returns the value of the
modId
record component. - modId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns the value of the
modId
record component. - ModLinks - Record Class in io.github.matyrobbrt.curseforgeapi.schemas.mod
- ModLinks(String, String, String, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Creates an instance of a
ModLinks
record class. - modLoader() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns the value of the
modLoader
record component. - modLoaderType() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
- modLoaderType(ModLoaderType) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter only mods associated to a given modloader (Forge, Fabric ...).
- ModLoaderType - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas.mod
- modLoaderTypes(List<ModLoaderType>) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter only mods associated to given modloaders (Forge, Fabric ...).
- ModSearchQuery - Class in io.github.matyrobbrt.curseforgeapi.request.query
-
A builders for mod search queries.
- ModSearchQuery.SortField - Enum Class in io.github.matyrobbrt.curseforgeapi.request.query
- ModSearchQuery.SortOrder - Enum Class in io.github.matyrobbrt.curseforgeapi.request.query
- ModStatus - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas.mod
- modules() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
modules
record component.
N
- name() - Element in annotation interface io.github.matyrobbrt.curseforgeapi.annotation.Arg
- name() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameDependency
-
Returns the value of the
name
record component. - name() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Returns the value of the
name
record component. - name() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
name
record component. - name() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileModule
-
Returns the value of the
name
record component. - name() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns the value of the
name
record component. - name() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Returns the value of the
name
record component. - name() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
name
record component. - name() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAuthor
-
Returns the value of the
name
record component. - NAME - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- NEOFORGE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- NEW - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- Nonnull - Annotation Interface in io.github.matyrobbrt.curseforgeapi.annotation
- NOT_FOUND - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
-
The 404 (Not Found) status code indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
- Nullable - Annotation Interface in io.github.matyrobbrt.curseforgeapi.annotation
O
- of(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
- of(int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.query.PaginationQuery
-
Makes a
PaginationQuery
- of(int, int) - Static method in class io.github.matyrobbrt.curseforgeapi.request.query.PaginationQuery
-
Makes a
PaginationQuery
- of(int, int...) - Static method in class io.github.matyrobbrt.curseforgeapi.request.query.FeaturedModsQuery
- of(F, S) - Static method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Makes a pair from the given value
- of(Game) - Static method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
- of(String, Object) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Arguments
- of(Supplier<T>) - Static method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Makes an
AsyncRequest
with the result asynchronously supplied by thesupplier
. - of(T) - Static method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Makes an
AsyncRequest
which has been completed with the providedvalue
. - of(T, Integer) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
Returns an
Response
describing the given non-null
value. - OfCompletableFutureAsyncRequest<T> - Record Class in io.github.matyrobbrt.curseforgeapi.request.async
- OfCompletableFutureAsyncRequest(CompletableFuture<T>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
-
Creates an instance of a
OfCompletableFutureAsyncRequest
record class. - OfHttpResponseAsyncRequest<T> - Record Class in io.github.matyrobbrt.curseforgeapi.request.async
- OfHttpResponseAsyncRequest(CompletableFuture<T>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.async.OfHttpResponseAsyncRequest
-
Creates an instance of a
OfHttpResponseAsyncRequest
record class. - ofNullable(T) - Static method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Makes an
AsyncRequest
which if the providedvalue
is null, has been failed with aNullPointerException
, otherwise completed with the providedvalue
. - ofNullable(T, Integer) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
Returns an
Response
describing the given value, if non-null
, otherwise returns an emptyResponse
. - ofNullableAndStatusCode(T, Integer) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Response
- OfValueAsyncRequest<T> - Record Class in io.github.matyrobbrt.curseforgeapi.request.async
- OfValueAsyncRequest(T) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.async.OfValueAsyncRequest
-
Creates an instance of a
OfValueAsyncRequest
record class. - OK - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
-
The 200 (OK) status code indicates that the request has succeeded.
- OPTIONAL_DEPENDENCY - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- or(Supplier<? extends Response<? extends T>>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a response value is present, returns an
Response
describing the value, otherwise returns anResponse
produced by the supplying function. - orElse(T) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns the value, otherwise returns
other
. - orElseGet(Supplier<? extends T>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns the value, otherwise returns the result produced by the supplying function.
- orElseThrow() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns the value, otherwise throws
NoSuchElementException
. - orElseThrow(Supplier<? extends X>) - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.
P
- pageSize() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Returns the value of the
pageSize
record component. - pageSize(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
The number of items to include in the response
- pageSize(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.PaginationQuery
- PaginatedData<T> - Record Class in io.github.matyrobbrt.curseforgeapi.schemas
- PaginatedData(T, Pagination) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.PaginatedData
-
Creates an instance of a
PaginatedData
record class. - pagination() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.PaginatedData
-
Returns the value of the
pagination
record component. - Pagination - Record Class in io.github.matyrobbrt.curseforgeapi.schemas
- Pagination(int, int, int, Integer) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Creates an instance of a
Pagination
record class. - PaginationQuery - Class in io.github.matyrobbrt.curseforgeapi.request.query
- Pair<F,
S> - Record Class in io.github.matyrobbrt.curseforgeapi.util -
A pair of elements.
- Pair(F, S) - Constructor for record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Creates an instance of a
Pair
record class. - PairAsyncRequest<F,
S> - Record Class in io.github.matyrobbrt.curseforgeapi.request.async - PairAsyncRequest(AsyncRequest<F>, AsyncRequest<S>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
-
Creates an instance of a
PairAsyncRequest
record class. - ParametersAreNonnullByDefault - Annotation Interface in io.github.matyrobbrt.curseforgeapi.annotation
- parentCategoryId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
parentCategoryId
record component. - parentFileID(int) - Method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadQuery
- parentProjectFileId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
parentProjectFileId
record component. - partialMatches() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
partialMatches
record component. - partialMatchFingerprints() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
partialMatchFingerprints
record component. - PENDING_REVIEW - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
- popular() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.FeaturedMods
-
Returns the value of the
popular
record component. - POPULARITY - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- POST - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.Method
- primaryCategoryId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
primaryCategoryId
record component. - PRIVATE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.ApiStatus
- PROCESSING - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- PUBLIC - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.ApiStatus
- put(String, Object) - Method in class io.github.matyrobbrt.curseforgeapi.request.Arguments
- PUT - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.Method
- putAll(Arguments) - Method in class io.github.matyrobbrt.curseforgeapi.request.Arguments
Q
- Query - Interface in io.github.matyrobbrt.curseforgeapi.request.query
- queue() - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Queues the action for later completion.
- queue(BiConsumer<? super F, ? super S>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.DoubleAsyncRequest
-
Queues the action for later completion.
- queue(BiConsumer<? super F, ? super S>, Consumer<? super Throwable>) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
- queue(BiConsumer<? super F, ? super S>, Consumer<? super Throwable>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.DoubleAsyncRequest
-
Queues the action for later completion.
- queue(Consumer<? super Pair<F, S>>, Consumer<? super Throwable>) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
- queue(Consumer<? super O>, Consumer<? super Throwable>) - Method in class io.github.matyrobbrt.curseforgeapi.request.async.FlatMapAsyncRequest
- queue(Consumer<? super O>, Consumer<? super Throwable>) - Method in class io.github.matyrobbrt.curseforgeapi.request.async.MapAsyncRequest
- queue(Consumer<? super T>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Queues the action for later completion.
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in class io.github.matyrobbrt.curseforgeapi.request.async.EmptyAsyncRequest
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfHttpResponseAsyncRequest
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfValueAsyncRequest
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in class io.github.matyrobbrt.curseforgeapi.request.async.WithExceptionAsyncRequest
- queue(Consumer<? super T>, Consumer<? super Throwable>) - Method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Queues the action for later completion.
- QUILT - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
R
- read(JsonReader) - Method in class io.github.matyrobbrt.curseforgeapi.util.gson.CFSchemaEnumTypeAdapter
- READY_FOR_REVIEW - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- recentlyUpdated() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.FeaturedMods
-
Returns the value of the
recentlyUpdated
record component. - RecordTypeAdapterFactory - Class in io.github.matyrobbrt.curseforgeapi.util.gson
- RecordTypeAdapterFactory() - Constructor for class io.github.matyrobbrt.curseforgeapi.util.gson.RecordTypeAdapterFactory
- registerIsPresentPredicate(Class<T>, Predicate<T>) - Static method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Register an
"Is Present"
predicate for the specified class. - REJECTED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- REJECTED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- REJECTED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
- relationType() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileDependency
-
Returns the value of the
relationType
record component. - RELEASE - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileReleaseType
- RELEASED - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- releaseType() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
releaseType
record component. - releaseType() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns the value of the
releaseType
record component. - Request<R> - Class in io.github.matyrobbrt.curseforgeapi.request
- Request(String, Method, JsonElement, String, Type) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.Request
- Request(String, Method, JsonElement, BiFunction<Gson, JsonObject, R>) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.Request
- Request(String, Method, String, Type) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.Request
- Request(String, Method, BiFunction<Gson, JsonObject, R>) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.Request
- REQUEST_TARGET - Static variable in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
The base URL for requests to the CurseForge API.
- RequestHelper - Class in io.github.matyrobbrt.curseforgeapi.request.helper
-
A helper class for making direct requests.
- RequestHelper(CurseForgeAPI) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- Requests - Class in io.github.matyrobbrt.curseforgeapi.request
-
A utility class that contains methods for creating common requests.
- Requests() - Constructor for class io.github.matyrobbrt.curseforgeapi.request.Requests
- Requests.Types - Class in io.github.matyrobbrt.curseforgeapi.request
- required() - Element in annotation interface io.github.matyrobbrt.curseforgeapi.annotation.Arg
- REQUIRED_DEPENDENCY - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- Response<T> - Class in io.github.matyrobbrt.curseforgeapi.request
-
A response object which may or may not contain a value.
- responseDecoder() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Returns the value of the
responseDecoder
record component. - resultCount() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Returns the value of the
resultCount
record component. - rethrowConsumer(ExceptionConsumer<T, ?>) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
-
Converts the given exception consumer into a regular consumer, rethrowing any exception as needed.
- rethrowFunction(ExceptionFunction<T, R, ?>) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
-
Converts the given exception function into a regular function, rethrowing any exception as needed.
- rethrowRunnable(ExceptionRunnable<?>) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
-
Converts the given exception runnable into a regular runnable, rethrowing any exception as needed.
- rethrowSupplier(ExceptionSupplier<T, ?>) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
-
Converts the given exception supplier into a regular supplier, rethrowing any exception as needed.
- run() - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionRunnable
- RUNES_OF_MAGIC - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.GameIDs
- Runtime(String) - Constructor for exception io.github.matyrobbrt.curseforgeapi.util.CurseForgeException.Runtime
- Runtime(Throwable) - Constructor for exception io.github.matyrobbrt.curseforgeapi.util.CurseForgeException.Runtime
- runWithException() - Method in interface io.github.matyrobbrt.curseforgeapi.util.ExceptionRunnable
-
Takes the action, potentially throwing an exception.
S
- screenshots() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
screenshots
record component. - searchFilter(String) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter by free text search in the mod name and author
- searchMods(ModSearchQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- searchMods(ModSearchQuery) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- searchMods(ModSearchQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- searchMods(ModSearchQuery) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Searches for mods based on the specified query.
- searchModsPaginated(ModSearchQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.AsyncRequestHelper
- searchModsPaginated(ModSearchQuery) - Method in interface io.github.matyrobbrt.curseforgeapi.request.helper.IRequestHelper
- searchModsPaginated(ModSearchQuery) - Method in class io.github.matyrobbrt.curseforgeapi.request.helper.RequestHelper
- searchModsPaginated(ModSearchQuery) - Static method in class io.github.matyrobbrt.curseforgeapi.request.Requests
-
Searches for mods based on the specified query.
- second() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
-
Returns the value of the
second
record component. - second() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Returns the value of the
second
record component. - SECRET_WORLD_LEGENDS - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.GameIDs
- serverPackFileId() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
serverPackFileId
record component. - setDefaultFailure(Consumer<? super Throwable>) - Static method in class io.github.matyrobbrt.curseforgeapi.request.async.AsyncRequestValues
- setDefaultFailure(Consumer<? super Throwable>) - Static method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Sets the default failure callback for async requests.
- setEmptyRequestThrows(boolean) - Static method in class io.github.matyrobbrt.curseforgeapi.request.async.AsyncRequestValues
- setEmptyRequestThrows(boolean) - Static method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
-
Sets if
empty requests
should throw anexception
whenAsyncRequest.queue(Consumer, Consumer)
is called. - setFutureExecutor(Executor) - Static method in class io.github.matyrobbrt.curseforgeapi.request.async.AsyncRequestValues
- setFutureExecutor(Executor) - Static method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
- setFutureExecutor(Executor) - Static method in interface io.github.matyrobbrt.curseforgeapi.request.AsyncRequest
- SHA1 - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.HashAlgo
- slug() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameDependency
-
Returns the value of the
slug
record component. - slug() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Returns the value of the
slug
record component. - slug() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
slug
record component. - slug() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns the value of the
slug
record component. - slug() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Returns the value of the
slug
record component. - slug() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
slug
record component. - slug(String) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter by slug (coupled with
ModSearchQuery.classId(int)
will result in a unique result). - sneakyThrow(Throwable) - Static method in class io.github.matyrobbrt.curseforgeapi.util.Utils
-
Sneakily throws the given exception, bypassing compile-time checks for checked exceptions.
- SortableGameVersion - Record Class in io.github.matyrobbrt.curseforgeapi.schemas
- SortableGameVersion(String, String, String, String, Integer) - Constructor for record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Creates an instance of a
SortableGameVersion
record class. - sortableGameVersions() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns the value of the
sortableGameVersions
record component. - sortField(ModSearchQuery.SortField) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Filter by
ModSearchQuery.SortField
enumeration - sortOrder(ModSearchQuery.SortOrder) - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
-
Sort the responses using the specified order.
- sourceUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Returns the value of the
sourceUrl
record component. - status() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns the value of the
status
record component. - status() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
status
record component. - Status - Enum Class in io.github.matyrobbrt.curseforgeapi.schemas
- StatusCodes() - Constructor for class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
- stream() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
-
If a response value is present, returns a sequential
Stream
containing only that value, otherwise returns an emptyStream
. - STRING - Static variable in class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
- summary() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
summary
record component. - swap() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Swaps the order of the values.
T
- TEST - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
- TESTING - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- TEXT - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.uploadapi.ChangelogType
- THE_SECRET_WORLD - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.GameIDs
- thumbnailUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns the value of the
thumbnailUrl
record component. - thumbsUpCount() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns the value of the
thumbsUpCount
record component. - tileUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game.Assets
-
Returns the value of the
tileUrl
record component. - title() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns the value of the
title
record component. - toArgs() - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
- toArgs() - Method in class io.github.matyrobbrt.curseforgeapi.request.query.PaginationQuery
- toArgs() - Method in interface io.github.matyrobbrt.curseforgeapi.request.query.Query
- toEntryFS() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps this pair to a
AbstractMap.SimpleImmutableEntry
containing the pair's values in a First-Second order. - toEntrySF() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Maps this pair to a
AbstractMap.SimpleImmutableEntry
containing the pair's values in a Second-First order. - toJson() - Method in class io.github.matyrobbrt.curseforgeapi.request.query.FeaturedModsQuery
- toJson() - Method in class io.github.matyrobbrt.curseforgeapi.request.query.GetFuzzyMatchesQuery
- toJson() - Method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadQuery
- TOOL - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- toOptional() - Method in class io.github.matyrobbrt.curseforgeapi.request.Response
- toOptional() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Returns an optional which may contain this pair if the following conditions are met: neither
Pair.first()
norPair.second()
arenull
ifPair.IS_PRESENT_PREDICATES
contains predicates for eitherPair.first()
orPair.second()
, testing them returnstrue
- toString() - Method in class io.github.matyrobbrt.curseforgeapi.request.Arguments
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfCompletableFutureAsyncRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfHttpResponseAsyncRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfValueAsyncRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.PairAsyncRequest
-
Returns a string representation of this record class.
- toString() - Method in class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameDependency
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.GameVersion
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.File
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileDependency
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileHash
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileIndex
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileModule
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintFuzzyMatch
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintMatch
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game.Assets
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.Game
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionsByType
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionType
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.FeaturedMods
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.Mod
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAuthor
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Returns a string representation of this record class.
- toString() - Method in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.PaginatedData
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.SortableGameVersion
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.matyrobbrt.curseforgeapi.util.Pair
-
Returns a string representation of this record class.
- TOTAL_DOWNLOADS - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
- totalCount() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Pagination
-
Returns the value of the
totalCount
record component. - type() - Element in annotation interface io.github.matyrobbrt.curseforgeapi.annotation.Arg
- type() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionsByType
-
Returns the value of the
type
record component. - Types() - Constructor for class io.github.matyrobbrt.curseforgeapi.request.Requests.Types
U
- UNAUTHORIZED - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.StatusCodes
-
The 401 (Unauthorized) status code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
- UNDER_REVIEW - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
- UNDER_REVIEW - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- UNDER_SOFT_REVIEW - Enum constant in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
- unmatchedFingerprints() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
-
Returns the value of the
unmatchedFingerprints
record component. - UPLOAD_REQUEST_TARGET - Static variable in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI
-
The base URL for requests to the CurseForge Upload API.
- uploadApiName() - Method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
- UploadApiRequest<T> - Record Class in io.github.matyrobbrt.curseforgeapi.request.uploadapi
- UploadApiRequest(String, Method, HttpRequest.BodyPublisher, BiFunction<Gson, JsonElement, T>) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
- UploadApiRequest(String, Method, HttpRequest.BodyPublisher, BiFunction<Gson, JsonElement, T>, String) - Constructor for record class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequest
-
Creates an instance of a
UploadApiRequest
record class. - UploadApiRequests - Class in io.github.matyrobbrt.curseforgeapi.request.uploadapi
-
A utility class that contains methods for creating common requests to the Upload API.
- UploadApiRequests() - Constructor for class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequests
- uploadApiToken(String) - Method in class io.github.matyrobbrt.curseforgeapi.CurseForgeAPI.Builder
-
Sets the API Token used for requests to the CurseForge Upload API.
- uploadFile(int, UploadQuery, Path) - Static method in class io.github.matyrobbrt.curseforgeapi.request.uploadapi.UploadApiRequests
-
Upload a file.
- UploadQuery - Class in io.github.matyrobbrt.curseforgeapi.request.uploadapi
- url() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.Category
-
Returns the value of the
url
record component. - url() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAsset
-
Returns the value of the
url
record component. - url() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModAuthor
-
Returns the value of the
url
record component. - Utils - Class in io.github.matyrobbrt.curseforgeapi.util
- Utils() - Constructor for class io.github.matyrobbrt.curseforgeapi.util.Utils
V
- value() - Element in annotation interface io.github.matyrobbrt.curseforgeapi.annotation.AcceptsArgs
- value() - Element in annotation interface io.github.matyrobbrt.curseforgeapi.annotation.CurseForgeSchema
- value() - Method in record class io.github.matyrobbrt.curseforgeapi.request.async.OfValueAsyncRequest
-
Returns the value of the
value
record component. - value() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.file.FileHash
-
Returns the value of the
value
record component. - valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.annotation.Arg.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.Method
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.uploadapi.ChangelogType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.ApiStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileReleaseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.HashAlgo
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.annotation.Arg.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.Method
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortField
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.query.ModSearchQuery.SortOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.request.uploadapi.ChangelogType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.ApiStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileRelationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileReleaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.file.FileStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.HashAlgo
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLoaderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.matyrobbrt.curseforgeapi.schemas.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- versions() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.game.GameVersionsByType
-
Returns the value of the
versions
record component.
W
- websiteUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Returns the value of the
websiteUrl
record component. - wikiUrl() - Method in record class io.github.matyrobbrt.curseforgeapi.schemas.mod.ModLinks
-
Returns the value of the
wikiUrl
record component. - WILD_STAR - Static variable in class io.github.matyrobbrt.curseforgeapi.util.Constants.GameIDs
- WithExceptionAsyncRequest<T> - Class in io.github.matyrobbrt.curseforgeapi.request.async
- WithExceptionAsyncRequest(Exception) - Constructor for class io.github.matyrobbrt.curseforgeapi.request.async.WithExceptionAsyncRequest
- write(JsonWriter, E) - Method in class io.github.matyrobbrt.curseforgeapi.util.gson.CFSchemaEnumTypeAdapter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
CurseForgeAPI.Builder
(CurseForgeAPI.builder()
). This constructor will be removed in a future version.