net.minecraft.client.realms

public class FileUpload

implements AutoCloseable

fzx
com.mojang.realmsclient.client.FileUpload
net.minecraft.class_4337
net.minecraft.client.realms.FileUpload
net.minecraft.unmapped.C_cjlnakux
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
LOGGER
f_ythefnsx
LOGGER
f_87057_
private static final int
b
MAX_RETRIES
field_32056
MAX_ATTEMPTS
f_tnzyaied
MAX_ATTEMPTS
f_167233_
private static final String
c
UPLOAD_PATH
field_32057
UPLOAD_ENDPOINT
f_vszuwgok
UPLOAD_ENDPOINT
f_167234_
private final File
d
file
field_19551
file
f_poxvgblv
file
f_87058_
private final long
e
realmId
field_19552
worldId
f_anxnyjys
worldId
f_316031_
private final int
f
slotId
field_19553
slotId
f_frgzxjxc
slotId
f_87060_
private final UploadInfo
g
uploadInfo
field_19554
uploadInfo
f_cyqrtddi
uploadInfo
f_87061_
private final String
h
sessionId
field_19555
sessionId
f_apczzlzf
sessionId
f_87062_
private final String
i
username
field_19556
username
f_rwpxjxot
username
f_87063_
private final String
j
clientVersion
field_19557
clientVersion
f_ltvqndjl
clientVersion
f_87064_
private final String
k
worldVersion
field_49104
worldVersion
f_wcpftubg
worldVersion
f_316268_
private final UploadProgress
l
uploadStatus
field_19558
uploadStatus
f_oaiwqonc
uploadStatus
f_87065_
private final HttpClient
m
client
field_64190
httpClient
f_pipaoemm
f_437140_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
close()
close()
close()
public CompletableFuture<UploadResult>
a()
startUpload()
method_76241()
upload()
m_ugwoyvwt()
m_445260_()
private CompletableFuture<UploadResult>
a(int o, long arg1)
requestUpload(int arg0, long arg1)
method_20971(int arg0, long arg1)
requestUpload(int currentAttempt, long size)
m_esqzaqgw(int arg0, long arg1)
requestUpload(int currentAttempt, long contentLength)
m_87088_(int p_457801_, long arg1)
private static HttpRequest$BodyPublisher
a(Supplier<InputStream> o, long o)
inputStreamPublisherWithSize(Supplier<InputStream> arg0, long arg1)
method_76243(Supplier<InputStream> arg0, long arg1)
getPublisher(Supplier<InputStream> inputSupplier, long size)
m_wrpzalrn(Supplier<InputStream> arg0, long arg1)
m_wrpzalrn(Supplier<InputStream> streamSupplier, long contentLength)
m_443463_(Supplier<InputStream> p_459948_, long p_458257_)
private String
b()
uploadCookie()
method_76244()
getCookie()
m_vgbrorfw()
m_439432_()
private UploadResult
a(HttpResponse<String> arg0)
handleResponse(HttpResponse<String> arg0)
method_20975(HttpResponse<String> arg0)
handleResponse(HttpResponse<String> response)
m_zbzadmzu(HttpResponse<String> arg0)
handleResponse(HttpResponse<String> arg0)
m_440312_(HttpResponse<String> arg0)
private boolean
a(long o, int arg1)
shouldRetry(long arg0, int arg1)
method_20972(long arg0, int arg1)
shouldRetry(long retryDelaySeconds, int currentAttempt)
m_ntliyoww(long arg0, int arg1)
shouldRetry(long retryDelaySeconds, int currentAttempt)
m_87081_(long p_87083_, int arg1)
private long
b(HttpResponse<?> arg0)
getRetryDelaySeconds(HttpResponse<?> arg0)
method_20974(HttpResponse<?> arg0)
getRetryDelaySeconds(HttpResponse<?> response)
m_dxurjnkg(HttpResponse<?> arg0)
getRetryDelaySeconds(HttpResponse<?> arg0)
m_87086_(HttpResponse<?> arg0)