com.mojang.realmsclient.dto

public class UploadInfo

extends ValueObject

enk
com.mojang.realmsclient.dto.UploadInfo
net.minecraft.class_4888
net.minecraft.client.realms.dto.UploadInfo
net.minecraft.src.C_3260_

Field summary

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

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)
m_87700_(String p_87701_)
public static URI
a(String arg0, int arg1)
assembleUri(String arg0, int arg1)
method_30862(String arg0, int arg1)
getUrl(String url, int port)
m_87702_(String p_87703_, int p_87704_)
private static int
a(int arg0, int arg1)
selectPortOrDefault(int arg0, int arg1)
method_30861(int arg0, int arg1)
getPort(int port, int urlPort)
m_87697_(int p_87698_, int p_87699_)
private static String
a(String arg0, Matcher arg1)
ensureEndpointSchema(String arg0, Matcher arg1)
method_30863(String arg0, Matcher arg1)
getUrlWithProtocol(String url, Matcher matcher)
m_87705_(String p_87706_, Matcher p_87707_)
public static String
b(String arg0)
createRequest(String arg0)
method_30864(String arg0)
createRequestContent(String token)
m_87709_(String p_87710_)
public String
a()
getToken()
method_25087()
getToken()
m_87696_()
public URI
b()
getUploadEndpoint()
method_25089()
getUploadEndpoint()
m_87708_()
public boolean
c()
isWorldClosed()
method_25091()
isWorldClosed()
m_87711_()