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

    Fields
    Modifier and Type
    Field
    Description
    private 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

    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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • length

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

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

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

    • CustomInputStreamEntity

      public CustomInputStreamEntity(InputStream content, long length, UploadStatus uploadStatus)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;<init>(Ljava/io/InputStream;JLnet/minecraft/client/realms/UploadStatus;)V
      intermediary <init> Lnet/minecraft/class_4337$class_4338;<init>(Ljava/io/InputStream;JLnet/minecraft/class_4351;)V
      official <init> Lfan$a;<init>(Ljava/io/InputStream;JLfat;)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
      named writeTo Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;writeTo(Ljava/io/OutputStream;)V
      intermediary writeTo Lnet/minecraft/class_4337$class_4338;writeTo(Ljava/io/OutputStream;)V
      official writeTo Lfan$a;writeTo(Ljava/io/OutputStream;)V