com.mojang.realmsclient.client

public class FileUpload

cvk
com.mojang.realmsclient.client.FileUpload
net.minecraft.class_4337
net.minecraft.unmapped.C_cjlnakux
com.mojang.realmsclient.client.FileUpload
com.mojang.realmsclient.client.FileUpload

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_19550
f_ythefnsx
LOGGER
field_224883_a
private final File
b
file
field_19551
f_poxvgblv
file
field_224884_b
private final long
c
worldId
field_19552
f_cjxnftwz
worldId
field_224885_c
private final int
d
slotId
field_19553
f_frgzxjxc
slotId
field_224886_d
private final UploadInfo
e
uploadInfo
field_19554
f_cyqrtddi
uploadInfo
field_224887_e
private final String
f
sessionId
field_19555
f_apczzlzf
sessionId
field_224888_f
private final String
g
username
field_19556
f_rwpxjxot
username
field_224889_g
private final String
h
clientVersion
field_19557
f_ltvqndjl
clientVersion
field_224890_h
private final UploadStatus
i
uploadStatus
field_19558
f_oaiwqonc
uploadStatus
field_224891_i
private AtomicBoolean
j
cancelled
field_19559
f_qfgarwjq
cancelled
field_224892_j
private CompletableFuture<UploadResult>
k
uploadTask
field_19560
f_bkwmqqxo
uploadTask
field_224893_k
private final org.apache.http.client.config.RequestConfig
l
requestConfig
field_19561
f_zqwqhdvl
requestConfig
field_224894_l

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(Consumer<cxe> arg0)
upload(Consumer<UploadResult> arg0)
method_20973(Consumer<class_4429> arg0)
m_uhwbmyhd(Consumer<C_qluokjrw> arg0)
upload(Consumer<UploadResult> callback)
func_224874_a(Consumer<UploadResult> arg0)
public void
a()
cancel()
method_20970()
m_fhxphjaf()
cancel()
func_224878_a()
private UploadResult
a(int arg0)
requestUpload(int arg0)
method_20971(int arg0)
m_esqzaqgw(int arg0)
requestUpload(int currentAttempt)
func_224879_a(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)
func_224877_a(org.apache.http.client.methods.HttpPost arg0, 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)
func_224872_a(org.apache.http.client.methods.HttpPost arg0)
private void
a(org.apache.http.HttpResponse arg0, cxe$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)
func_224875_a(org.apache.http.HttpResponse arg0, UploadResult$Builder 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)
func_224882_a(long arg0, 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)
func_224876_b(long arg0, 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)
func_224880_a(org.apache.http.HttpResponse arg0)
public boolean
b()
isFinished()
method_20978()
m_ugcmscxs()
isFinished()
func_224881_b()