Package com.mojang.realmsclient.dto
Class UploadInfo
java.lang.Object
com.mojang.realmsclient.dto.ValueObject
com.mojang.realmsclient.dto.UploadInfo
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
UploadInfo
(boolean p_87693_, String p_87694_, URI p_87695_) -
Method Summary
Modifier and TypeMethodDescriptionstatic URI
assembleUri
(String p_87703_, int p_87704_) static String
createRequest
(String p_87710_) private static String
ensureEndpointSchema
(String p_87706_, Matcher p_87707_) getToken()
boolean
static UploadInfo
private static int
selectPortOrDefault
(int p_87698_, int p_87699_) Methods inherited from class com.mojang.realmsclient.dto.ValueObject
toString
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DEFAULT_SCHEMA
- See Also:
-
DEFAULT_PORT
private static final int DEFAULT_PORT- See Also:
-
URI_SCHEMA_PATTERN
-
worldClosed
private final boolean worldClosed -
token
-
uploadEndpoint
-
-
Constructor Details
-
UploadInfo
-
-
Method Details
-
parse
-
assembleUri
-
selectPortOrDefault
private static int selectPortOrDefault(int p_87698_, int p_87699_) -
ensureEndpointSchema
-
createRequest
-
getToken
-
getUploadEndpoint
-
isWorldClosed
public boolean isWorldClosed()
-