com.mojang.realmsclient.dto

public class UploadInfo

extends ValueObject

fhz
com.mojang.realmsclient.dto.UploadInfo
net.minecraft.class_4888
net.minecraft.client.realms.dto.UploadInfo

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_22657
LOGGER
private static final String
b
DEFAULT_SCHEMA
field_32116
HTTP_PROTOCOL
private static final int
c
DEFAULT_PORT
field_32117
PORT
private static final Pattern
d
URI_SCHEMA_PATTERN
field_26467
PROTOCOL_PATTERN
private final boolean
e
worldClosed
field_22658
worldClosed
private final String
f
token
field_22659
token
private final URI
g
uploadEndpoint
field_22660
uploadEndpoint

Constructor summary

ModifierConstructor
private (boolean worldClosed, String token, URI uploadEndpoint)

Method summary

Modifier and TypeMethod
public static UploadInfo
a(String arg0)
parse(String arg0)
method_25088(String arg0)
parse(String json)
public static URI
a(String arg0, int arg1)
assembleUri(String arg0, int arg1)
method_30862(String arg0, int arg1)
getUrl(String url, int port)
private static int
a(int arg0, int arg1)
selectPortOrDefault(int arg0, int arg1)
method_30861(int arg0, int arg1)
getPort(int port, int urlPort)
private static String
a(String arg0, Matcher arg1)
ensureEndpointSchema(String arg0, Matcher arg1)
method_30863(String arg0, Matcher arg1)
getUrlWithProtocol(String url, Matcher matcher)
public static String
b(String arg0)
createRequest(String arg0)
method_30864(String arg0)
createRequestContent(String token)
public String
a()
getToken()
method_25087()
getToken()
public URI
b()
getUploadEndpoint()
method_25089()
getUploadEndpoint()
public boolean
c()
isWorldClosed()
method_25091()
isWorldClosed()