Package net.minecraft.client.realms
Class Request<T extends Request<T>>
java.lang.Object
net.minecraft.client.realms.Request<T>
- Direct Known Subclasses:
Request.Delete
,Request.Get
,Request.Post
,Request.Put
- Mappings:
Namespace Name named net/minecraft/client/realms/Request
intermediary net/minecraft/class_4346
official fcb
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private boolean
protected HttpURLConnection
private static final String
private static final String
private static final int
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
connect()
void
static void
cookie
(HttpURLConnection connection, String key, String value) static Request
<?> private void
dispose()
protected abstract T
static Request
<?> static Request
<?> static String
getHeader
(HttpURLConnection connection, String header) int
static int
getRetryAfterHeader
(HttpURLConnection connection) static Request
<?> static Request
<?> void
prerelease
(boolean prerelease) static Request
<?> static Request
<?> private String
read
(@Nullable InputStream in) int
text()
-
Field Details
-
READ_TIMEOUT
private static final int READ_TIMEOUT- See Also:
- Mappings:
Namespace Name Mixin selector named READ_TIMEOUT
Lnet/minecraft/client/realms/Request;READ_TIMEOUT:I
intermediary field_32096
Lnet/minecraft/class_4346;field_32096:I
official d
Lfcb;d:I
-
CONNECT_TIMEOUT
private static final int CONNECT_TIMEOUT- See Also:
- Mappings:
Namespace Name Mixin selector named CONNECT_TIMEOUT
Lnet/minecraft/client/realms/Request;CONNECT_TIMEOUT:I
intermediary field_32097
Lnet/minecraft/class_4346;field_32097:I
official e
Lfcb;e:I
-
IS_PRERELEASE_HEADER
- See Also:
- Mappings:
Namespace Name Mixin selector named IS_PRERELEASE_HEADER
Lnet/minecraft/client/realms/Request;IS_PRERELEASE_HEADER:Ljava/lang/String;
intermediary field_46690
Lnet/minecraft/class_4346;field_46690:Ljava/lang/String;
official f
Lfcb;f:Ljava/lang/String;
-
COOKIE_HEADER
- See Also:
- Mappings:
Namespace Name Mixin selector named COOKIE_HEADER
Lnet/minecraft/client/realms/Request;COOKIE_HEADER:Ljava/lang/String;
intermediary field_46691
Lnet/minecraft/class_4346;field_46691:Ljava/lang/String;
official g
Lfcb;g:Ljava/lang/String;
-
connection
- Mappings:
Namespace Name Mixin selector named connection
Lnet/minecraft/client/realms/Request;connection:Ljava/net/HttpURLConnection;
intermediary field_19596
Lnet/minecraft/class_4346;field_19596:Ljava/net/HttpURLConnection;
official a
Lfcb;a:Ljava/net/HttpURLConnection;
-
connected
private boolean connected- Mappings:
Namespace Name Mixin selector named connected
Lnet/minecraft/client/realms/Request;connected:Z
intermediary field_19598
Lnet/minecraft/class_4346;field_19598:Z
official c
Lfcb;c:Z
-
url
- Mappings:
Namespace Name Mixin selector named url
Lnet/minecraft/client/realms/Request;url:Ljava/lang/String;
intermediary field_19597
Lnet/minecraft/class_4346;field_19597:Ljava/lang/String;
official b
Lfcb;b:Ljava/lang/String;
-
-
Constructor Details
-
Request
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/Request;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_4346;<init>(Ljava/lang/String;II)V
official <init>
Lfcb;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
cookie
- Mappings:
Namespace Name Mixin selector named cookie
Lnet/minecraft/client/realms/Request;cookie(Ljava/lang/String;Ljava/lang/String;)V
intermediary method_21042
Lnet/minecraft/class_4346;method_21042(Ljava/lang/String;Ljava/lang/String;)V
official a
Lfcb;a(Ljava/lang/String;Ljava/lang/String;)V
-
cookie
- Mappings:
Namespace Name Mixin selector named cookie
Lnet/minecraft/client/realms/Request;cookie(Ljava/net/HttpURLConnection;Ljava/lang/String;Ljava/lang/String;)V
intermediary method_21046
Lnet/minecraft/class_4346;method_21046(Ljava/net/HttpURLConnection;Ljava/lang/String;Ljava/lang/String;)V
official a
Lfcb;a(Ljava/net/HttpURLConnection;Ljava/lang/String;Ljava/lang/String;)V
-
prerelease
public void prerelease(boolean prerelease) - Mappings:
Namespace Name Mixin selector named prerelease
Lnet/minecraft/client/realms/Request;prerelease(Z)V
intermediary method_54362
Lnet/minecraft/class_4346;method_54362(Z)V
official a
Lfcb;a(Z)V
-
getRetryAfterHeader
public int getRetryAfterHeader()- Mappings:
Namespace Name Mixin selector named getRetryAfterHeader
Lnet/minecraft/client/realms/Request;getRetryAfterHeader()I
intermediary method_21038
Lnet/minecraft/class_4346;method_21038()I
official a
Lfcb;a()I
-
getRetryAfterHeader
- Mappings:
Namespace Name Mixin selector named getRetryAfterHeader
Lnet/minecraft/client/realms/Request;getRetryAfterHeader(Ljava/net/HttpURLConnection;)I
intermediary method_21044
Lnet/minecraft/class_4346;method_21044(Ljava/net/HttpURLConnection;)I
official a
Lfcb;a(Ljava/net/HttpURLConnection;)I
-
responseCode
public int responseCode()- Mappings:
Namespace Name Mixin selector named responseCode
Lnet/minecraft/client/realms/Request;responseCode()I
intermediary method_21047
Lnet/minecraft/class_4346;method_21047()I
official b
Lfcb;b()I
-
text
- Mappings:
Namespace Name Mixin selector named text
Lnet/minecraft/client/realms/Request;text()Ljava/lang/String;
intermediary method_21051
Lnet/minecraft/class_4346;method_21051()Ljava/lang/String;
official c
Lfcb;c()Ljava/lang/String;
-
read
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named read
Lnet/minecraft/client/realms/Request;read(Ljava/io/InputStream;)Ljava/lang/String;
intermediary method_21039
Lnet/minecraft/class_4346;method_21039(Ljava/io/InputStream;)Ljava/lang/String;
official a
Lfcb;a(Ljava/io/InputStream;)Ljava/lang/String;
-
dispose
private void dispose()- Mappings:
Namespace Name Mixin selector named dispose
Lnet/minecraft/client/realms/Request;dispose()V
intermediary method_21056
Lnet/minecraft/class_4346;method_21056()V
official f
Lfcb;f()V
-
connect
- Mappings:
Namespace Name Mixin selector named connect
Lnet/minecraft/client/realms/Request;connect()Lnet/minecraft/client/realms/Request;
intermediary method_21054
Lnet/minecraft/class_4346;method_21054()Lnet/minecraft/class_4346;
official d
Lfcb;d()Lfcb;
-
doConnect
- Mappings:
Namespace Name Mixin selector named doConnect
Lnet/minecraft/client/realms/Request;doConnect()Lnet/minecraft/client/realms/Request;
intermediary method_21055
Lnet/minecraft/class_4346;method_21055()Lnet/minecraft/class_4346;
official e
Lfcb;e()Lfcb;
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/client/realms/Request;get(Ljava/lang/String;)Lnet/minecraft/client/realms/Request;
intermediary method_21040
Lnet/minecraft/class_4346;method_21040(Ljava/lang/String;)Lnet/minecraft/class_4346;
official a
Lfcb;a(Ljava/lang/String;)Lfcb;
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/client/realms/Request;get(Ljava/lang/String;II)Lnet/minecraft/client/realms/Request;
intermediary method_21041
Lnet/minecraft/class_4346;method_21041(Ljava/lang/String;II)Lnet/minecraft/class_4346;
official a
Lfcb;a(Ljava/lang/String;II)Lfcb;
-
post
- Mappings:
Namespace Name Mixin selector named post
Lnet/minecraft/client/realms/Request;post(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/realms/Request;
intermediary method_21049
Lnet/minecraft/class_4346;method_21049(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_4346;
official b
Lfcb;b(Ljava/lang/String;Ljava/lang/String;)Lfcb;
-
post
public static Request<?> post(String uri, String content, int connectTimeoutMillis, int readTimeoutMillis) - Mappings:
Namespace Name Mixin selector named post
Lnet/minecraft/client/realms/Request;post(Ljava/lang/String;Ljava/lang/String;II)Lnet/minecraft/client/realms/Request;
intermediary method_21043
Lnet/minecraft/class_4346;method_21043(Ljava/lang/String;Ljava/lang/String;II)Lnet/minecraft/class_4346;
official a
Lfcb;a(Ljava/lang/String;Ljava/lang/String;II)Lfcb;
-
delete
- Mappings:
Namespace Name Mixin selector named delete
Lnet/minecraft/client/realms/Request;delete(Ljava/lang/String;)Lnet/minecraft/client/realms/Request;
intermediary method_21048
Lnet/minecraft/class_4346;method_21048(Ljava/lang/String;)Lnet/minecraft/class_4346;
official b
Lfcb;b(Ljava/lang/String;)Lfcb;
-
put
- Mappings:
Namespace Name Mixin selector named put
Lnet/minecraft/client/realms/Request;put(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/realms/Request;
intermediary method_21053
Lnet/minecraft/class_4346;method_21053(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_4346;
official c
Lfcb;c(Ljava/lang/String;Ljava/lang/String;)Lfcb;
-
put
public static Request<?> put(String url, String content, int connectTimeoutMillis, int readTimeoutMillis) - Mappings:
Namespace Name Mixin selector named put
Lnet/minecraft/client/realms/Request;put(Ljava/lang/String;Ljava/lang/String;II)Lnet/minecraft/client/realms/Request;
intermediary method_21050
Lnet/minecraft/class_4346;method_21050(Ljava/lang/String;Ljava/lang/String;II)Lnet/minecraft/class_4346;
official b
Lfcb;b(Ljava/lang/String;Ljava/lang/String;II)Lfcb;
-
getHeader
- Mappings:
Namespace Name Mixin selector named getHeader
Lnet/minecraft/client/realms/Request;getHeader(Ljava/lang/String;)Ljava/lang/String;
intermediary method_21052
Lnet/minecraft/class_4346;method_21052(Ljava/lang/String;)Ljava/lang/String;
official c
Lfcb;c(Ljava/lang/String;)Ljava/lang/String;
-
getHeader
- Mappings:
Namespace Name Mixin selector named getHeader
Lnet/minecraft/client/realms/Request;getHeader(Ljava/net/HttpURLConnection;Ljava/lang/String;)Ljava/lang/String;
intermediary method_21045
Lnet/minecraft/class_4346;method_21045(Ljava/net/HttpURLConnection;Ljava/lang/String;)Ljava/lang/String;
official a
Lfcb;a(Ljava/net/HttpURLConnection;Ljava/lang/String;)Ljava/lang/String;
-