com.mojang.realmsclient.client

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

eal
com.mojang.realmsclient.client.Request
net.minecraft.class_4346
net.minecraft.client.realms.Request
net.minecraft.src.C_3228_

Field summary

Modifier and TypeField
protected HttpURLConnection
a
connection
field_19596
connection
f_87306_
private boolean
c
connected
field_19598
connected
f_87308_
protected String
b
url
field_19597
url
f_87307_
private static final int
d
DEFAULT_READ_TIMEOUT
field_32096
READ_TIMEOUT
f_167283_
private static final int
e
DEFAULT_CONNECT_TIMEOUT
field_32097
CONNECT_TIMEOUT
f_167284_

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)
m_87322_(String p_87324_, 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)
m_87335_(HttpURLConnection p_87336_, String p_87337_, String p_87338_)
public T
b(String arg0, String arg1)
header(String arg0, String arg1)
method_35685(String arg0, String arg1)
withHeader(String name, String value)
m_167285_(String p_167287_, String arg1)
public int
a()
getRetryAfterHeader()
method_21038()
getRetryAfterHeader()
m_87313_()
public static int
a(HttpURLConnection arg0)
getRetryAfterHeader(HttpURLConnection arg0)
method_21044(HttpURLConnection arg0)
getRetryAfterHeader(HttpURLConnection connection)
m_87330_(HttpURLConnection p_87331_)
public int
b()
responseCode()
method_21047()
responseCode()
m_87339_()
public String
c()
text()
method_21051()
text()
m_87350_()
private String
a(InputStream arg0)
read(InputStream arg0)
method_21039(InputStream arg0)
read(InputStream in)
m_87314_(InputStream arg0)
private void
f()
dispose()
method_21056()
dispose()
m_87357_()
protected T
d()
connect()
method_21054()
connect()
m_87356_()
protected abstract T
e()
doConnect()
method_21055()
doConnect()
m_7218_()
public static Request<?>
a(String arg0)
get(String arg0)
method_21040(String arg0)
get(String url)
m_87316_(String p_87317_)
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)
m_87318_(String p_87319_, int p_87320_, int p_87321_)
public static Request<?>
c(String arg0, String arg1)
post(String arg0, String arg1)
method_21049(String arg0, String arg1)
post(String uri, String content)
m_87342_(String p_87343_, String p_87344_)
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)
m_87325_(String p_87326_, String p_87327_, int p_87328_, int p_87329_)
public static Request<?>
b(String arg0)
delete(String arg0)
method_21048(String arg0)
delete(String url)
m_87340_(String p_87341_)
public static Request<?>
d(String arg0, String arg1)
put(String arg0, String arg1)
method_21053(String arg0, String arg1)
put(String url, String content)
m_87353_(String p_87354_, String p_87355_)
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)
m_87345_(String p_87346_, String p_87347_, int p_87348_, int p_87349_)
public String
c(String arg0)
getHeader(String arg0)
method_21052(String arg0)
getHeader(String header)
m_87351_(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)
m_87332_(HttpURLConnection p_87333_, String p_87334_)