com.mojang.realmsclient.client

public class FileUpload

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public UploadResult
a()
upload()
method_20973()
m_uhwbmyhd()
upload()
upload()
m_87084_()
public void
b()
cancel()
method_20970()
m_fhxphjaf()
cancel()
cancel()
m_87078_()
private UploadResult
a(int arg0)
requestUpload(int arg0)
method_20971(int arg0)
m_esqzaqgw(int arg0)
requestUpload(int currentAttempt)
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)
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)
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, fkn$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)
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)
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)
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)
getRetryDelaySeconds(org.apache.http.HttpResponse response)
m_87086_(org.apache.http.HttpResponse arg0)
public boolean
c()
isFinished()
method_20978()
m_ugcmscxs()
isFinished()
isFinished()
m_87096_()