Package io.github.smootheez
Class Constants
java.lang.Object
io.github.smootheez.Constants
Holds application-wide constant values used throughout the Mod Publisher service.
This class is non-instantiable and only provides static constant fields.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJSON key for root-level file data.static final StringThe JAR media type used when uploading mod artifacts.static final StringThe JSON media type used for request and response bodies.static final StringJSON key for metadata blocks associated with uploads.static final DurationDefault request timeout duration for network operations.static final StringThe User-Agent header sent with HTTP requests made by the publisher.Valid release channels supported for uploads (e.g., release, beta, alpha). -
Method Summary
-
Field Details
-
USER_AGENT
The User-Agent header sent with HTTP requests made by the publisher. Format:<Author>/<Application>/<Version>.- See Also:
-
MEDIA_TYPE_JSON
The JSON media type used for request and response bodies.- See Also:
-
MEDIA_TYPE_JAR
The JAR media type used when uploading mod artifacts.- See Also:
-
VALID_RELEASE_TYPE
Valid release channels supported for uploads (e.g., release, beta, alpha). -
TIMEOUT
Default request timeout duration for network operations. -
DATA
JSON key for root-level file data.- See Also:
-
METADATA
JSON key for metadata blocks associated with uploads.- See Also:
-