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
official dtz$a
intermediary net/minecraft/class_4337$class_4338
named net/minecraft/client/realms/FileUpload$CustomInputStreamEntity
  • 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
      official a Ldtz$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 Ldtz$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 Ldtz$a;c:Lduf;
      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> Ldtz$a;<init>(Ljava/io/InputStream;JLduf;)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 Ldtz$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