com.mojang.realmsclient.client

public class FileUpload

fjx
com.mojang.realmsclient.client.FileUpload
net.minecraft.class_4337
net.minecraft.unmapped.C_cjlnakux
net.minecraft.client.realms.FileUpload
net.minecraft.client.realms.FileUpload

Field summary

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

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()
public void
b()
cancel()
method_20970()
m_fhxphjaf()
cancel()
cancel()
private UploadResult
a(int arg0)
requestUpload(int arg0)
method_20971(int arg0)
m_esqzaqgw(int arg0)
requestUpload(int currentAttempt)
requestUpload(int currentAttempt)
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)
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)
private void
a(org.apache.http.HttpResponse arg0, fne$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)
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)
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)
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)
public boolean
c()
isFinished()
method_20978()
m_ugcmscxs()
isFinished()
isFinished()