com.mojang.realmsclient.client

public abstract class Request<T extends Request<T>>

dge
com.mojang.realmsclient.client.Request
net.minecraft.class_4346
net.minecraft.client.realms.Request
com.mojang.realmsclient.client.Request

Field summary

Modifier and TypeField
protected HttpURLConnection
a
connection
field_19596
connection
field_224968_a
private boolean
c
connected
field_19598
connected
field_224970_c
protected String
b
url
field_19597
url
field_224969_b

Constructor summary

ModifierConstructor
public (String url, int connectTimeout, int readTimeout)

Method summary

Modifier and TypeMethod
public void
a(String arg0, String arg1)
cookie(String arg0, String arg1)
method_21042(String arg0, String arg1)
cookie(String key, String value)
func_224962_a(String arg0, String arg1)
public static void
a(HttpURLConnection arg0, String arg1, String arg2)
cookie(HttpURLConnection arg0, String arg1, String arg2)
method_21046(HttpURLConnection arg0, String arg1, String arg2)
cookie(HttpURLConnection connection, String key, String value)
func_224967_a(HttpURLConnection arg0, String arg1, String arg2)
public int
a()
getRetryAfterHeader()
method_21038()
getRetryAfterHeader()
func_224957_a()
public static int
a(HttpURLConnection arg0)
getRetryAfterHeader(HttpURLConnection arg0)
method_21044(HttpURLConnection arg0)
getRetryAfterHeader(HttpURLConnection connection)
func_224964_a(HttpURLConnection arg0)
public int
b()
responseCode()
method_21047()
responseCode()
func_224958_b()
public String
c()
text()
method_21051()
text()
func_224963_c()
private String
a(InputStream arg0)
read(InputStream arg0)
method_21039(InputStream arg0)
read(InputStream in)
func_224954_a(InputStream arg0)
private void
f()
dispose()
method_21056()
dispose()
func_224950_f()
protected T
d()
connect()
method_21054()
connect()
func_224955_d()
protected abstract T
e()
doConnect()
method_21055()
doConnect()
func_223626_e_()
public static Request<?>
a(String arg0)
get(String arg0)
method_21040(String arg0)
get(String url)
func_224953_a(String arg0)
public static Request<?>
a(String arg0, int arg1, int arg2)
get(String arg0, int arg1, int arg2)
method_21041(String arg0, int arg1, int arg2)
get(String url, int connectTimeoutMillis, int readTimeoutMillis)
func_224960_a(String arg0, int arg1, int arg2)
public static Request<?>
b(String arg0, String arg1)
post(String arg0, String arg1)
method_21049(String arg0, String arg1)
post(String uri, String content)
func_224951_b(String arg0, String arg1)
public static Request<?>
a(String arg0, String arg1, int arg2, int arg3)
post(String arg0, String arg1, int arg2, int arg3)
method_21043(String arg0, String arg1, int arg2, int arg3)
post(String uri, String content, int connectTimeoutMillis, int readTimeoutMillis)
func_224959_a(String arg0, String arg1, int arg2, int arg3)
public static Request<?>
b(String arg0)
delete(String arg0)
method_21048(String arg0)
delete(String url)
func_224952_b(String arg0)
public static Request<?>
c(String arg0, String arg1)
put(String arg0, String arg1)
method_21053(String arg0, String arg1)
put(String url, String content)
func_224965_c(String arg0, String arg1)
public static Request<?>
b(String arg0, String arg1, int arg2, int arg3)
put(String arg0, String arg1, int arg2, int arg3)
method_21050(String arg0, String arg1, int arg2, int arg3)
put(String url, String content, int connectTimeoutMillis, int readTimeoutMillis)
func_224966_b(String arg0, String arg1, int arg2, int arg3)
public String
c(String arg0)
getHeader(String arg0)
method_21052(String arg0)
getHeader(String header)
func_224956_c(String arg0)
public static String
a(HttpURLConnection arg0, String arg1)
getHeader(HttpURLConnection arg0, String arg1)
method_21045(HttpURLConnection arg0, String arg1)
getHeader(HttpURLConnection connection, String header)
func_224961_a(HttpURLConnection arg0, String arg1)