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

@Environment(CLIENT)
static class FileUpload.CustomInputStreamEntity
extends org.apache.http.entity.InputStreamEntity
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private InputStream content  
    private long length  
    private UploadStatus uploadStatus  

    Fields inherited from class org.apache.http.entity.AbstractHttpEntity

    chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE
  • Constructor Summary

    Constructors 
    Constructor Description
    CustomInputStreamEntity​(InputStream content, long length, UploadStatus uploadStatus)  
  • Method Summary

    Modifier and Type Method Description
    void writeTo​(OutputStream outstream)  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait