com.mojang.realmsclient.client

public class FileUpload

dqy
com.mojang.realmsclient.client.FileUpload
net.minecraft.class_4337
net.minecraft.unmapped.C_cjlnakux
net.minecraft.client.realms.FileUpload
net.minecraft.src.C_3218_

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_19550
f_ythefnsx
LOGGER
f_87057_
private static final int
b
MAX_RETRIES
field_32056
f_tnzyaied
MAX_ATTEMPTS
f_167233_
private static final String
c
UPLOAD_PATH
field_32057
f_vszuwgok
UPLOAD_ENDPOINT
f_167234_
private final File
d
file
field_19551
f_poxvgblv
file
f_87058_
private final long
e
worldId
field_19552
f_cjxnftwz
worldId
f_87059_
private final int
f
slotId
field_19553
f_frgzxjxc
slotId
f_87060_
private final UploadInfo
g
uploadInfo
field_19554
f_cyqrtddi
uploadInfo
f_87061_
private final String
h
sessionId
field_19555
f_apczzlzf
sessionId
f_87062_
private final String
i
username
field_19556
f_rwpxjxot
username
f_87063_
private final String
j
clientVersion
field_19557
f_ltvqndjl
clientVersion
f_87064_
private final UploadStatus
k
uploadStatus
field_19558
f_oaiwqonc
uploadStatus
f_87065_
private final AtomicBoolean
l
cancelled
field_19559
f_qfgarwjq
cancelled
f_87066_
private CompletableFuture<UploadResult>
m
uploadTask
field_19560
f_bkwmqqxo
uploadTask
f_87067_
private final org.apache.http.client.config.RequestConfig
n
requestConfig
field_19561
f_zqwqhdvl
requestConfig
f_87068_

Constructor summary

ModifierConstructor
public (File file, long worldId, int slotId, UploadInfo uploadInfo, User session, String clientVersion, UploadStatus uploadStatus)

Method summary

Modifier and TypeMethod
public void
a(Consumer<dts> arg0)
upload(Consumer<UploadResult> arg0)
method_20973(Consumer<class_4429> arg0)
m_uhwbmyhd(Consumer<C_qluokjrw> arg0)
upload(Consumer<UploadResult> callback)
m_87084_(Consumer<C_3341_> arg0)
public void
a()
cancel()
method_20970()
m_fhxphjaf()
cancel()
m_87078_()
private UploadResult
a(int arg0)
requestUpload(int arg0)
method_20971(int arg0)
m_esqzaqgw(int arg0)
requestUpload(int currentAttempt)
m_87079_(int arg0)
private void
a(org.apache.http.client.methods.HttpPost arg0, org.apache.http.impl.client.CloseableHttpClient arg1)
cleanup(org.apache.http.client.methods.HttpPost arg0, org.apache.http.impl.client.CloseableHttpClient arg1)
method_20977(org.apache.http.client.methods.HttpPost arg0, org.apache.http.impl.client.CloseableHttpClient arg1)
m_gpaczded(org.apache.http.client.methods.HttpPost arg0, org.apache.http.impl.client.CloseableHttpClient arg1)
cleanup(org.apache.http.client.methods.HttpPost request, org.apache.http.impl.client.CloseableHttpClient client)
m_87093_(org.apache.http.client.methods.HttpPost p_87095_, org.apache.http.impl.client.CloseableHttpClient arg1)
private void
a(org.apache.http.client.methods.HttpPost arg0)
setupRequest(org.apache.http.client.methods.HttpPost arg0)
method_20976(org.apache.http.client.methods.HttpPost arg0)
m_cocnoabb(org.apache.http.client.methods.HttpPost arg0)
setupRequest(org.apache.http.client.methods.HttpPost request)
m_87091_(org.apache.http.client.methods.HttpPost arg0)
private void
a(org.apache.http.HttpResponse arg0, dts$a arg1)
handleResponse(org.apache.http.HttpResponse arg0, UploadResult$Builder arg1)
method_20975(org.apache.http.HttpResponse arg0, class_4429$class_4430 arg1)
m_zbzadmzu(org.apache.http.HttpResponse arg0, C_qluokjrw$C_ydrwdzxi arg1)
handleResponse(org.apache.http.HttpResponse response, UploadResult$Builder uploadResultBuilder)
m_87088_(org.apache.http.HttpResponse p_87090_, C_3341_$C_3343_ arg1)
private boolean
a(long arg0, int arg1)
shouldRetry(long arg0, int arg1)
method_20972(long arg0, int arg1)
m_ntliyoww(long arg0, int arg1)
shouldRetry(long retryDelaySeconds, int currentAttempt)
m_87081_(long p_87083_, int arg1)
private UploadResult
b(long arg0, int arg1)
retryUploadAfter(long arg0, int arg1)
method_20979(long arg0, int arg1)
m_tukzdzbg(long arg0, int arg1)
retryUploadAfter(long retryDelaySeconds, int currentAttempt)
m_87097_(long p_87099_, int arg1)
private long
a(org.apache.http.HttpResponse arg0)
getRetryDelaySeconds(org.apache.http.HttpResponse arg0)
method_20974(org.apache.http.HttpResponse arg0)
m_dxurjnkg(org.apache.http.HttpResponse arg0)
getRetryDelaySeconds(org.apache.http.HttpResponse response)
m_87086_(org.apache.http.HttpResponse arg0)
public boolean
b()
isFinished()
method_20978()
m_ugcmscxs()
isFinished()
m_87096_()