Class FileUpload.CustomInputStreamEntity

java.lang.Object
org.apache.http.entity.AbstractHttpEntity
org.apache.http.entity.InputStreamEntity
net.minecraft.client.realms.FileUpload.CustomInputStreamEntity
All Implemented Interfaces:
org.apache.http.HttpEntity
Enclosing class:
FileUpload

@Environment(CLIENT)
static class FileUpload.CustomInputStreamEntity
extends org.apache.http.entity.InputStreamEntity
Mappings:
Namespace Name
official dme$a
intermediary net/minecraft/class_4337$class_4338
named net/minecraft/client/realms/FileUpload$CustomInputStreamEntity
  • 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
  • Field Details

    • length

      private final long length
      Mappings:
      Namespace Name Mixin selector
      official a Ldme$a;a:J
      intermediary field_19562 Lnet/minecraft/class_4337$class_4338;field_19562:J
      named length Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;length:J
    • content

      private final InputStream content
      Mappings:
      Namespace Name Mixin selector
      official b Ldme$a;b:Ljava/io/InputStream;
      intermediary field_19563 Lnet/minecraft/class_4337$class_4338;field_19563:Ljava/io/InputStream;
      named content Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;content:Ljava/io/InputStream;
    • uploadStatus

      private final UploadStatus uploadStatus
      Mappings:
      Namespace Name Mixin selector
      official c Ldme$a;c:Ldmk;
      intermediary field_19564 Lnet/minecraft/class_4337$class_4338;field_19564:Lnet/minecraft/class_4351;
      named uploadStatus Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;uploadStatus:Lnet/minecraft/client/realms/UploadStatus;
  • Constructor Details

    • CustomInputStreamEntity

      public CustomInputStreamEntity​(InputStream content, long length, UploadStatus uploadStatus)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldme$a;<init>(Ljava/io/InputStream;JLdmk;)V
      intermediary <init> Lnet/minecraft/class_4337$class_4338;<init>(Ljava/io/InputStream;JLnet/minecraft/class_4351;)V
      named <init> Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;<init>(Ljava/io/InputStream;JLnet/minecraft/client/realms/UploadStatus;)V
  • Method Details

    • writeTo

      public void writeTo​(OutputStream outstream) throws IOException
      Specified by:
      writeTo in interface org.apache.http.HttpEntity
      Overrides:
      writeTo in class org.apache.http.entity.InputStreamEntity
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official writeTo Ldme$a;writeTo(Ljava/io/OutputStream;)V
      intermediary writeTo Lnet/minecraft/class_4337$class_4338;writeTo(Ljava/io/OutputStream;)V
      named writeTo Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;writeTo(Ljava/io/OutputStream;)V