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 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 fhf$a
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final InputStream
     
    private final long
     
    private final UploadProgress
     

    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, UploadProgress uploadStatus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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 b Lfhf$a;b: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 c Lfhf$a;c:Ljava/io/InputStream;
    • uploadStatus

      private final UploadProgress uploadStatus
      Mappings:
      Namespace Name Mixin selector
      named uploadStatus Lnet/minecraft/client/realms/FileUpload$CustomInputStreamEntity;uploadStatus:Lnet/minecraft/client/realms/util/UploadProgress;
      intermediary field_19564 Lnet/minecraft/class_4337$class_4338;field_19564:Lnet/minecraft/class_4351;
      official d Lfhf$a;d:Lfhl;
  • Constructor Details

    • CustomInputStreamEntity

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

    • writeTo

      public void writeTo(OutputStream stream) 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 Lfhf$a;writeTo(Ljava/io/OutputStream;)V