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_i242046_1_, String p_i242046_2_, URI p_i242046_3_) -
Method Summary
Modifier and TypeMethodDescriptionstatic URI
assembleUri
(String p_243087_0_, int p_243087_1_) static String
createRequest
(String p_243090_0_) private static String
ensureEndpointSchema
(String p_243088_0_, Matcher p_243088_1_) getToken()
boolean
static UploadInfo
private static int
selectPortOrDefault
(int p_243086_0_, int p_243086_1_) Methods inherited from class com.mojang.realmsclient.dto.ValueObject
toString
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
URI_SCHEMA_PATTERN
-
worldClosed
private final boolean worldClosed -
token
-
uploadEndpoint
-
-
Constructor Details
-
UploadInfo
-
-
Method Details
-
parse
-
assembleUri
-
selectPortOrDefault
private static int selectPortOrDefault(int p_243086_0_, int p_243086_1_) -
ensureEndpointSchema
-
createRequest
-
getToken
-
getUploadEndpoint
-
isWorldClosed
public boolean isWorldClosed()
-