public class org.apache.http.impl.entity.EntitySerializer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.http.impl.entity.EntitySerializer
  super_class: java.lang.Object
{
  private final org.apache.http.entity.ContentLengthStrategy lenStrategy;
    descriptor: Lorg/apache/http/entity/ContentLengthStrategy;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(org.apache.http.entity.ContentLengthStrategy);
    descriptor: (Lorg/apache/http/entity/ContentLengthStrategy;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.http.impl.entity.EntitySerializer this
        start local 1 // org.apache.http.entity.ContentLengthStrategy lenStrategy
         0: .line 69
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            aload 0 /* this */
            aload 1 /* lenStrategy */
            ldc "Content length strategy"
            invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            checkcast org.apache.http.entity.ContentLengthStrategy
            putfield org.apache.http.impl.entity.EntitySerializer.lenStrategy:Lorg/apache/http/entity/ContentLengthStrategy;
         2: .line 71
            return
        end local 1 // org.apache.http.entity.ContentLengthStrategy lenStrategy
        end local 0 // org.apache.http.impl.entity.EntitySerializer this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lorg/apache/http/impl/entity/EntitySerializer;
            0    3     1  lenStrategy  Lorg/apache/http/entity/ContentLengthStrategy;
    MethodParameters:
             Name  Flags
      lenStrategy  final

  protected java.io.OutputStream doSerialize(org.apache.http.io.SessionOutputBuffer, org.apache.http.HttpMessage);
    descriptor: (Lorg/apache/http/io/SessionOutputBuffer;Lorg/apache/http/HttpMessage;)Ljava/io/OutputStream;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.apache.http.impl.entity.EntitySerializer this
        start local 1 // org.apache.http.io.SessionOutputBuffer outbuffer
        start local 2 // org.apache.http.HttpMessage message
         0: .line 90
            aload 0 /* this */
            getfield org.apache.http.impl.entity.EntitySerializer.lenStrategy:Lorg/apache/http/entity/ContentLengthStrategy;
            aload 2 /* message */
            invokeinterface org.apache.http.entity.ContentLengthStrategy.determineLength:(Lorg/apache/http/HttpMessage;)J
            lstore 3 /* len */
        start local 3 // long len
         1: .line 91
            lload 3 /* len */
            ldc -2
            lcmp
            ifne 3
         2: .line 92
            new org.apache.http.impl.io.ChunkedOutputStream
            dup
            aload 1 /* outbuffer */
            invokespecial org.apache.http.impl.io.ChunkedOutputStream.<init>:(Lorg/apache/http/io/SessionOutputBuffer;)V
            areturn
         3: .line 93
      StackMap locals: long
      StackMap stack:
            lload 3 /* len */
            ldc -1
            lcmp
            ifne 5
         4: .line 94
            new org.apache.http.impl.io.IdentityOutputStream
            dup
            aload 1 /* outbuffer */
            invokespecial org.apache.http.impl.io.IdentityOutputStream.<init>:(Lorg/apache/http/io/SessionOutputBuffer;)V
            areturn
         5: .line 96
      StackMap locals:
      StackMap stack:
            new org.apache.http.impl.io.ContentLengthOutputStream
            dup
            aload 1 /* outbuffer */
            lload 3 /* len */
            invokespecial org.apache.http.impl.io.ContentLengthOutputStream.<init>:(Lorg/apache/http/io/SessionOutputBuffer;J)V
            areturn
        end local 3 // long len
        end local 2 // org.apache.http.HttpMessage message
        end local 1 // org.apache.http.io.SessionOutputBuffer outbuffer
        end local 0 // org.apache.http.impl.entity.EntitySerializer this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lorg/apache/http/impl/entity/EntitySerializer;
            0    6     1  outbuffer  Lorg/apache/http/io/SessionOutputBuffer;
            0    6     2    message  Lorg/apache/http/HttpMessage;
            1    6     3        len  J
    Exceptions:
      throws org.apache.http.HttpException, java.io.IOException
    MethodParameters:
           Name  Flags
      outbuffer  final
      message    final

  public void serialize(org.apache.http.io.SessionOutputBuffer, org.apache.http.HttpMessage, org.apache.http.HttpEntity);
    descriptor: (Lorg/apache/http/io/SessionOutputBuffer;Lorg/apache/http/HttpMessage;Lorg/apache/http/HttpEntity;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // org.apache.http.impl.entity.EntitySerializer this
        start local 1 // org.apache.http.io.SessionOutputBuffer outbuffer
        start local 2 // org.apache.http.HttpMessage message
        start local 3 // org.apache.http.HttpEntity entity
         0: .line 114
            aload 1 /* outbuffer */
            ldc "Session output buffer"
            invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         1: .line 115
            aload 2 /* message */
            ldc "HTTP message"
            invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 116
            aload 3 /* entity */
            ldc "HTTP entity"
            invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         3: .line 117
            aload 0 /* this */
            aload 1 /* outbuffer */
            aload 2 /* message */
            invokevirtual org.apache.http.impl.entity.EntitySerializer.doSerialize:(Lorg/apache/http/io/SessionOutputBuffer;Lorg/apache/http/HttpMessage;)Ljava/io/OutputStream;
            astore 4 /* outStream */
        start local 4 // java.io.OutputStream outStream
         4: .line 118
            aload 3 /* entity */
            aload 4 /* outStream */
            invokeinterface org.apache.http.HttpEntity.writeTo:(Ljava/io/OutputStream;)V
         5: .line 119
            aload 4 /* outStream */
            invokevirtual java.io.OutputStream.close:()V
         6: .line 120
            return
        end local 4 // java.io.OutputStream outStream
        end local 3 // org.apache.http.HttpEntity entity
        end local 2 // org.apache.http.HttpMessage message
        end local 1 // org.apache.http.io.SessionOutputBuffer outbuffer
        end local 0 // org.apache.http.impl.entity.EntitySerializer this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lorg/apache/http/impl/entity/EntitySerializer;
            0    7     1  outbuffer  Lorg/apache/http/io/SessionOutputBuffer;
            0    7     2    message  Lorg/apache/http/HttpMessage;
            0    7     3     entity  Lorg/apache/http/HttpEntity;
            4    7     4  outStream  Ljava/io/OutputStream;
    Exceptions:
      throws org.apache.http.HttpException, java.io.IOException
    MethodParameters:
           Name  Flags
      outbuffer  final
      message    final
      entity     final
}
SourceFile: "EntitySerializer.java"
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    RuntimeInvisibleAnnotations: 
      org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.IMMUTABLE_CONDITIONAL:Lorg/apache/http/annotation/ThreadingBehavior;)