com.mojang.realmsclient.client

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

fas
com.mojang.realmsclient.client.Request
net.minecraft.class_4346
net.minecraft.unmapped.C_qnupnzph
net.minecraft.client.realms.Request
net.minecraft.client.realms.Request
net.minecraft.src.C_3228_

Field summary

Modifier and TypeField
protected HttpURLConnection
a
connection
field_19596
f_gudatyrh
connection
connection
f_87306_
private boolean
c
connected
field_19598
f_ybsuykzr
connected
connected
f_87308_
protected String
b
url
field_19597
f_rypwqgel
url
url
f_87307_
private static final int
d
DEFAULT_READ_TIMEOUT
field_32096
f_jzimketu
READ_TIMEOUT
READ_TIMEOUT
f_167283_
private static final int
e
DEFAULT_CONNECT_TIMEOUT
field_32097
f_plerlogb
CONNECT_TIMEOUT
CONNECT_TIMEOUT
f_167284_
private static final String
f
IS_SNAPSHOT_KEY
field_46690
f_wmwrujnl
IS_PRERELEASE_HEADER
IS_PRERELEASE
f_302555_
private static final String
g
COOKIE_KEY
field_46691
f_bsyqjzoq
COOKIE_HEADER
COOKIE
f_302320_

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)
m_pxgegtwh(String arg0, String arg1)
cookie(String key, String value)
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)
m_rreeujyk(HttpURLConnection arg0, String arg1, String arg2)
cookie(HttpURLConnection connection, String key, String value)
cookie(HttpURLConnection connection, String key, String value)
m_87335_(HttpURLConnection p_87336_, String p_87337_, String p_87338_)
public void
a(boolean arg0)
addSnapshotHeader(boolean arg0)
method_54362(boolean arg0)
m_rscgoyaq(boolean arg0)
prerelease(boolean prerelease)
prerelease(boolean isPrerelease)
m_305859_(boolean arg0)
public int
a()
getRetryAfterHeader()
method_21038()
m_gipwjlmw()
getRetryAfterHeader()
getRetryAfterHeader()
m_87313_()
public static int
a(HttpURLConnection arg0)
getRetryAfterHeader(HttpURLConnection arg0)
method_21044(HttpURLConnection arg0)
m_otnznezz(HttpURLConnection arg0)
getRetryAfterHeader(HttpURLConnection connection)
getRetryAfterHeader(HttpURLConnection connection)
m_87330_(HttpURLConnection p_87331_)
public int
b()
responseCode()
method_21047()
m_qpekpsin()
responseCode()
responseCode()
m_87339_()
public String
c()
text()
method_21051()
m_qcqcuryv()
text()
text()
m_87350_()
private String
a(InputStream arg0)
read(InputStream arg0)
method_21039(InputStream arg0)
m_mdrrknbs(InputStream arg0)
read(InputStream in)
read(InputStream in)
m_87314_(InputStream arg0)
private void
f()
dispose()
method_21056()
m_geafyzcm()
dispose()
dispose()
m_87357_()
protected T
d()
connect()
method_21054()
m_xbvjnbmv()
connect()
connect()
m_87356_()
protected abstract T
e()
doConnect()
method_21055()
m_qrbmcfgs()
doConnect()
doConnect()
m_7218_()
public static Request<?>
a(String arg0)
get(String arg0)
method_21040(String arg0)
m_gpbentds(String arg0)
get(String url)
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)
m_gfesnmbt(String arg0, int arg1, int arg2)
get(String url, int connectTimeoutMillis, int readTimeoutMillis)
get(String url, int connectTimeoutMillis, int readTimeoutMillis)
m_87318_(String p_87319_, int p_87320_, int p_87321_)
public static Request<?>
b(String arg0, String arg1)
post(String arg0, String arg1)
method_21049(String arg0, String arg1)
m_itpovzia(String arg0, String arg1)
post(String uri, String content)
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)
m_wzuzpdyc(String arg0, String arg1, int arg2, int arg3)
post(String uri, String content, int connectTimeoutMillis, int readTimeoutMillis)
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)
m_kezusraq(String arg0)
delete(String url)
delete(String url)
m_87340_(String p_87341_)
public static Request<?>
c(String arg0, String arg1)
put(String arg0, String arg1)
method_21053(String arg0, String arg1)
m_cgqauslp(String arg0, String arg1)
put(String url, String content)
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)
m_iwsxblgd(String arg0, String arg1, int arg2, int arg3)
put(String url, String content, int connectTimeoutMillis, int readTimeoutMillis)
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)
m_untstden(String arg0)
getHeader(String header)
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)
m_sgpihmfp(HttpURLConnection arg0, String arg1)
getHeader(HttpURLConnection connection, String header)
getHeader(HttpURLConnection connection, String header)
m_87332_(HttpURLConnection p_87333_, String p_87334_)