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
Modifier and TypeFieldDescriptionprivate final InputStream
private final long
private final UploadStatus
Fields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE
-
Constructor Summary
ConstructorDescriptionCustomInputStreamEntity
(InputStream p_i51622_1_, long p_i51622_2_, UploadStatus p_i51622_4_) -
Method Summary
Methods inherited from class org.apache.http.entity.InputStreamEntity
getContent, getContentLength, isRepeatable, isStreaming
Methods inherited from class org.apache.http.entity.AbstractHttpEntity
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
-
Field Details
-
length
private final long length -
-
uploadStatus
-
-
Constructor Details
-
CustomInputStreamEntity
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in interfaceorg.apache.http.HttpEntity
- Overrides:
writeTo
in classorg.apache.http.entity.InputStreamEntity
- Throws:
IOException
-