Class UploadInfo

java.lang.Object
com.mojang.realmsclient.dto.ValueObject
com.mojang.realmsclient.dto.UploadInfo

public class UploadInfo extends ValueObject
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • URI_SCHEMA_PATTERN

      private static final Pattern URI_SCHEMA_PATTERN
    • worldClosed

      private final boolean worldClosed
    • token

      @Nullable private final String token
    • uploadEndpoint

      private final URI uploadEndpoint
  • Constructor Details

    • UploadInfo

      private UploadInfo(boolean p_i242046_1_, @Nullable String p_i242046_2_, URI p_i242046_3_)
  • Method Details

    • parse

      @Nullable public static UploadInfo parse(String p_230796_0_)
    • assembleUri

      @Nullable public static URI assembleUri(String p_243087_0_, int p_243087_1_)
    • selectPortOrDefault

      private static int selectPortOrDefault(int p_243086_0_, int p_243086_1_)
    • ensureEndpointSchema

      private static String ensureEndpointSchema(String p_243088_0_, Matcher p_243088_1_)
    • createRequest

      public static String createRequest(@Nullable String p_243090_0_)
    • getToken

      @Nullable public String getToken()
    • getUploadEndpoint

      public URI getUploadEndpoint()
    • isWorldClosed

      public boolean isWorldClosed()