Class UploadInfo

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.apache.logging.log4j.Logger LOGGER  
      private java.lang.String token  
      private java.net.URI uploadEndpoint  
      private static java.util.regex.Pattern URI_SCHEMA_PATTERN  
      private boolean worldClosed  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private UploadInfo​(boolean p_i242046_1_, java.lang.String p_i242046_2_, java.net.URI p_i242046_3_)  
    • Field Detail

      • LOGGER

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

        private static final java.util.regex.Pattern URI_SCHEMA_PATTERN
      • worldClosed

        private final boolean worldClosed
      • token

        @Nullable
        private final java.lang.String token
      • uploadEndpoint

        private final java.net.URI uploadEndpoint
    • Constructor Detail

      • UploadInfo

        private UploadInfo​(boolean p_i242046_1_,
                           @Nullable
                           java.lang.String p_i242046_2_,
                           java.net.URI p_i242046_3_)
    • Method Detail

      • parse

        @Nullable
        public static UploadInfo parse​(java.lang.String p_230796_0_)
      • assembleUri

        @Nullable
        public static java.net.URI assembleUri​(java.lang.String p_243087_0_,
                                               int p_243087_1_)
      • selectPortOrDefault

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

        private static java.lang.String ensureEndpointSchema​(java.lang.String p_243088_0_,
                                                             java.util.regex.Matcher p_243088_1_)
      • createRequest

        public static java.lang.String createRequest​(@Nullable
                                                     java.lang.String p_243090_0_)
      • getToken

        @Nullable
        public java.lang.String getToken()
      • getUploadEndpoint

        public java.net.URI getUploadEndpoint()
      • isWorldClosed

        public boolean isWorldClosed()