Package com.mojang.realmsclient.client
Class FileUpload.CustomInputStreamEntity
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- org.apache.http.entity.InputStreamEntity
-
- com.mojang.realmsclient.client.FileUpload.CustomInputStreamEntity
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
- Enclosing class:
- FileUpload
static class FileUpload.CustomInputStreamEntity extends org.apache.http.entity.InputStreamEntity
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.InputStream
content
private long
length
private UploadStatus
uploadStatus
-
Constructor Summary
Constructors Constructor Description CustomInputStreamEntity(java.io.InputStream p_i51622_1_, long p_i51622_2_, UploadStatus p_i51622_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeTo(java.io.OutputStream p_writeTo_1_)
-
Methods inherited from class org.apache.http.entity.InputStreamEntity
getContent, getContentLength, isRepeatable, isStreaming
-
-
-
-
Field Detail
-
length
private final long length
-
content
private final java.io.InputStream content
-
uploadStatus
private final UploadStatus uploadStatus
-
-
Constructor Detail
-
CustomInputStreamEntity
public CustomInputStreamEntity(java.io.InputStream p_i51622_1_, long p_i51622_2_, UploadStatus p_i51622_4_)
-
-