public class FileUpload
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FileUpload.CustomInputStreamEntity |
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
field_224883_a |
private java.io.File |
field_224884_b |
private long |
field_224885_c |
private int |
field_224886_d |
private UploadInfo |
field_224887_e |
private java.lang.String |
field_224888_f |
private java.lang.String |
field_224889_g |
private java.lang.String |
field_224890_h |
private UploadStatus |
field_224891_i |
private java.util.concurrent.atomic.AtomicBoolean |
field_224892_j |
private java.util.concurrent.CompletableFuture<UploadResult> |
field_224893_k |
private org.apache.http.client.config.RequestConfig |
field_224894_l |
Constructor and Description |
---|
FileUpload(java.io.File p_i51791_1_,
long p_i51791_2_,
int p_i51791_4_,
UploadInfo p_i51791_5_,
java.lang.String p_i51791_6_,
java.lang.String p_i51791_7_,
java.lang.String p_i51791_8_,
UploadStatus p_i51791_9_) |
Modifier and Type | Method and Description |
---|---|
private void |
func_224872_a(org.apache.http.client.methods.HttpPost p_224872_1_) |
void |
func_224874_a(java.util.function.Consumer<UploadResult> p_224874_1_) |
private void |
func_224875_a(org.apache.http.HttpResponse p_224875_1_,
UploadResult.Builder p_224875_2_) |
private UploadResult |
func_224876_b(long p_224876_1_,
int p_224876_3_) |
private void |
func_224877_a(org.apache.http.client.methods.HttpPost p_224877_1_,
org.apache.http.impl.client.CloseableHttpClient p_224877_2_) |
void |
func_224878_a() |
private UploadResult |
func_224879_a(int p_224879_1_) |
private long |
func_224880_a(org.apache.http.HttpResponse p_224880_1_) |
boolean |
func_224881_b() |
private boolean |
func_224882_a(long p_224882_1_,
int p_224882_3_) |
private static final org.apache.logging.log4j.Logger field_224883_a
private final java.io.File field_224884_b
private final long field_224885_c
private final int field_224886_d
private final UploadInfo field_224887_e
private final java.lang.String field_224888_f
private final java.lang.String field_224889_g
private final java.lang.String field_224890_h
private final UploadStatus field_224891_i
private final java.util.concurrent.atomic.AtomicBoolean field_224892_j
private java.util.concurrent.CompletableFuture<UploadResult> field_224893_k
private final org.apache.http.client.config.RequestConfig field_224894_l
public FileUpload(java.io.File p_i51791_1_, long p_i51791_2_, int p_i51791_4_, UploadInfo p_i51791_5_, java.lang.String p_i51791_6_, java.lang.String p_i51791_7_, java.lang.String p_i51791_8_, UploadStatus p_i51791_9_)
public void func_224874_a(java.util.function.Consumer<UploadResult> p_224874_1_)
public void func_224878_a()
private UploadResult func_224879_a(int p_224879_1_)
private void func_224877_a(org.apache.http.client.methods.HttpPost p_224877_1_, org.apache.http.impl.client.CloseableHttpClient p_224877_2_)
private void func_224872_a(org.apache.http.client.methods.HttpPost p_224872_1_) throws java.io.FileNotFoundException
java.io.FileNotFoundException
private void func_224875_a(org.apache.http.HttpResponse p_224875_1_, UploadResult.Builder p_224875_2_) throws java.io.IOException
java.io.IOException
private boolean func_224882_a(long p_224882_1_, int p_224882_3_)
private UploadResult func_224876_b(long p_224876_1_, int p_224876_3_) throws java.lang.InterruptedException
java.lang.InterruptedException
private long func_224880_a(org.apache.http.HttpResponse p_224880_1_)
public boolean func_224881_b()