Package net.minecraft.client.realms.dto
Class UploadInfo
java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.UploadInfo
- Mappings:
Namespace Name official dto
intermediary net/minecraft/class_4888
named net/minecraft/client/realms/dto/UploadInfo
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
UploadInfo
(boolean worldClosed, @Nullable String token, URI uploadEndpoint) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
createRequestContent
(@Nullable String token) private static int
getPort
(int port, int urlPort) getToken()
private static String
getUrlWithProtocol
(String url, Matcher matcher) boolean
static @Nullable UploadInfo
Methods inherited from class net.minecraft.client.realms.dto.ValueObject
toString
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldto;a:Lorg/apache/logging/log4j/Logger;
intermediary field_22657
Lnet/minecraft/class_4888;field_22657:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/dto/UploadInfo;LOGGER:Lorg/apache/logging/log4j/Logger;
-
HTTP_PROTOCOL
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldto;b:Ljava/lang/String;
intermediary field_32116
Lnet/minecraft/class_4888;field_32116:Ljava/lang/String;
named HTTP_PROTOCOL
Lnet/minecraft/client/realms/dto/UploadInfo;HTTP_PROTOCOL:Ljava/lang/String;
-
PORT
private static final int PORT- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldto;c:I
intermediary field_32117
Lnet/minecraft/class_4888;field_32117:I
named PORT
Lnet/minecraft/client/realms/dto/UploadInfo;PORT:I
-
PROTOCOL_PATTERN
- Mappings:
Namespace Name Mixin selector official d
Ldto;d:Ljava/util/regex/Pattern;
intermediary field_26467
Lnet/minecraft/class_4888;field_26467:Ljava/util/regex/Pattern;
named PROTOCOL_PATTERN
Lnet/minecraft/client/realms/dto/UploadInfo;PROTOCOL_PATTERN:Ljava/util/regex/Pattern;
-
worldClosed
private final boolean worldClosed- Mappings:
Namespace Name Mixin selector official e
Ldto;e:Z
intermediary field_22658
Lnet/minecraft/class_4888;field_22658:Z
named worldClosed
Lnet/minecraft/client/realms/dto/UploadInfo;worldClosed:Z
-
token
- Mappings:
Namespace Name Mixin selector official f
Ldto;f:Ljava/lang/String;
intermediary field_22659
Lnet/minecraft/class_4888;field_22659:Ljava/lang/String;
named token
Lnet/minecraft/client/realms/dto/UploadInfo;token:Ljava/lang/String;
-
uploadEndpoint
- Mappings:
Namespace Name Mixin selector official g
Ldto;g:Ljava/net/URI;
intermediary field_22660
Lnet/minecraft/class_4888;field_22660:Ljava/net/URI;
named uploadEndpoint
Lnet/minecraft/client/realms/dto/UploadInfo;uploadEndpoint:Ljava/net/URI;
-
-
Constructor Details
-
UploadInfo
- Mappings:
Namespace Name Mixin selector official <init>
Ldto;<init>(ZLjava/lang/String;Ljava/net/URI;)V
intermediary <init>
Lnet/minecraft/class_4888;<init>(ZLjava/lang/String;Ljava/net/URI;)V
named <init>
Lnet/minecraft/client/realms/dto/UploadInfo;<init>(ZLjava/lang/String;Ljava/net/URI;)V
-
-
Method Details
-
parse
- Mappings:
Namespace Name Mixin selector official a
Ldto;a(Ljava/lang/String;)Ldto;
intermediary method_25088
Lnet/minecraft/class_4888;method_25088(Ljava/lang/String;)Lnet/minecraft/class_4888;
named parse
Lnet/minecraft/client/realms/dto/UploadInfo;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/UploadInfo;
-
getUrl
- Mappings:
Namespace Name Mixin selector official a
Ldto;a(Ljava/lang/String;I)Ljava/net/URI;
intermediary method_30862
Lnet/minecraft/class_4888;method_30862(Ljava/lang/String;I)Ljava/net/URI;
named getUrl
Lnet/minecraft/client/realms/dto/UploadInfo;getUrl(Ljava/lang/String;I)Ljava/net/URI;
-
getPort
private static int getPort(int port, int urlPort) - Mappings:
Namespace Name Mixin selector official a
Ldto;a(II)I
intermediary method_30861
Lnet/minecraft/class_4888;method_30861(II)I
named getPort
Lnet/minecraft/client/realms/dto/UploadInfo;getPort(II)I
-
getUrlWithProtocol
- Mappings:
Namespace Name Mixin selector official a
Ldto;a(Ljava/lang/String;Ljava/util/regex/Matcher;)Ljava/lang/String;
intermediary method_30863
Lnet/minecraft/class_4888;method_30863(Ljava/lang/String;Ljava/util/regex/Matcher;)Ljava/lang/String;
named getUrlWithProtocol
Lnet/minecraft/client/realms/dto/UploadInfo;getUrlWithProtocol(Ljava/lang/String;Ljava/util/regex/Matcher;)Ljava/lang/String;
-
createRequestContent
- Mappings:
Namespace Name Mixin selector official b
Ldto;b(Ljava/lang/String;)Ljava/lang/String;
intermediary method_30864
Lnet/minecraft/class_4888;method_30864(Ljava/lang/String;)Ljava/lang/String;
named createRequestContent
Lnet/minecraft/client/realms/dto/UploadInfo;createRequestContent(Ljava/lang/String;)Ljava/lang/String;
-
getToken
- Mappings:
Namespace Name Mixin selector official a
Ldto;a()Ljava/lang/String;
intermediary method_25087
Lnet/minecraft/class_4888;method_25087()Ljava/lang/String;
named getToken
Lnet/minecraft/client/realms/dto/UploadInfo;getToken()Ljava/lang/String;
-
getUploadEndpoint
- Mappings:
Namespace Name Mixin selector official b
Ldto;b()Ljava/net/URI;
intermediary method_25089
Lnet/minecraft/class_4888;method_25089()Ljava/net/URI;
named getUploadEndpoint
Lnet/minecraft/client/realms/dto/UploadInfo;getUploadEndpoint()Ljava/net/URI;
-
isWorldClosed
public boolean isWorldClosed()- Mappings:
Namespace Name Mixin selector official c
Ldto;c()Z
intermediary method_25091
Lnet/minecraft/class_4888;method_25091()Z
named isWorldClosed
Lnet/minecraft/client/realms/dto/UploadInfo;isWorldClosed()Z
-