public final class io.undertow.conduits.FinishableStreamSinkConduit extends org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.undertow.conduits.FinishableStreamSinkConduit
  super_class: org.xnio.conduits.AbstractStreamSinkConduit
{
  private final io.undertow.conduits.ConduitListener<? super io.undertow.conduits.FinishableStreamSinkConduit> finishListener;
    descriptor: Lio/undertow/conduits/ConduitListener;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lio/undertow/conduits/ConduitListener<-Lio/undertow/conduits/FinishableStreamSinkConduit;>;

  private int shutdownState;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.xnio.conduits.StreamSinkConduit, io.undertow.conduits.ConduitListener<? super io.undertow.conduits.FinishableStreamSinkConduit>);
    descriptor: (Lorg/xnio/conduits/StreamSinkConduit;Lio/undertow/conduits/ConduitListener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
        start local 1 // org.xnio.conduits.StreamSinkConduit delegate
        start local 2 // io.undertow.conduits.ConduitListener finishListener
         0: .line 40
            aload 0 /* this */
            aload 1 /* delegate */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.<init>:(Lorg/xnio/conduits/StreamSinkConduit;)V
         1: .line 37
            aload 0 /* this */
            iconst_0
            putfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
         2: .line 41
            aload 0 /* this */
            aload 2 /* finishListener */
            putfield io.undertow.conduits.FinishableStreamSinkConduit.finishListener:Lio/undertow/conduits/ConduitListener;
         3: .line 42
            return
        end local 2 // io.undertow.conduits.ConduitListener finishListener
        end local 1 // org.xnio.conduits.StreamSinkConduit delegate
        end local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0            this  Lio/undertow/conduits/FinishableStreamSinkConduit;
            0    4     1        delegate  Lorg/xnio/conduits/StreamSinkConduit;
            0    4     2  finishListener  Lio/undertow/conduits/ConduitListener<-Lio/undertow/conduits/FinishableStreamSinkConduit;>;
    Signature: (Lorg/xnio/conduits/StreamSinkConduit;Lio/undertow/conduits/ConduitListener<-Lio/undertow/conduits/FinishableStreamSinkConduit;>;)V
    MethodParameters:
                Name  Flags
      delegate        final
      finishListener  final

  public int writeFinal(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
        start local 1 // java.nio.ByteBuffer src
         0: .line 46
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.next:Lorg/xnio/conduits/Conduit;
            checkcast org.xnio.conduits.StreamSinkConduit
            aload 1 /* src */
            invokeinterface org.xnio.conduits.StreamSinkConduit.writeFinal:(Ljava/nio/ByteBuffer;)I
            istore 2 /* res */
        start local 2 // int res
         1: .line 47
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 4
         2: .line 48
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
            ifne 4
         3: .line 49
            aload 0 /* this */
            iconst_1
            putfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
         4: .line 52
      StackMap locals: int
      StackMap stack:
            iload 2 /* res */
            ireturn
        end local 2 // int res
        end local 1 // java.nio.ByteBuffer src
        end local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/undertow/conduits/FinishableStreamSinkConduit;
            0    5     1   src  Ljava/nio/ByteBuffer;
            1    5     2   res  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  public long writeFinal(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
        start local 1 // java.nio.ByteBuffer[] srcs
        start local 2 // int offset
        start local 3 // int length
         0: .line 57
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.next:Lorg/xnio/conduits/Conduit;
            checkcast org.xnio.conduits.StreamSinkConduit
            aload 1 /* srcs */
            iload 2 /* offset */
            iload 3 /* length */
            invokeinterface org.xnio.conduits.StreamSinkConduit.writeFinal:([Ljava/nio/ByteBuffer;II)J
            lstore 4 /* res */
        start local 4 // long res
         1: .line 58
            aload 1 /* srcs */
            iload 2 /* offset */
            iload 3 /* length */
            invokestatic org.xnio.Buffers.hasRemaining:([Ljava/nio/Buffer;II)Z
            ifne 4
         2: .line 59
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
            ifne 4
         3: .line 60
            aload 0 /* this */
            iconst_1
            putfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
         4: .line 63
      StackMap locals: long
      StackMap stack:
            lload 4 /* res */
            lreturn
        end local 4 // long res
        end local 3 // int length
        end local 2 // int offset
        end local 1 // java.nio.ByteBuffer[] srcs
        end local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lio/undertow/conduits/FinishableStreamSinkConduit;
            0    5     1    srcs  [Ljava/nio/ByteBuffer;
            0    5     2  offset  I
            0    5     3  length  I
            1    5     4     res  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      srcs    
      offset  
      length  

  public void terminateWrites();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
         0: .line 67
            aload 0 /* this */
            invokespecial org.xnio.conduits.AbstractStreamSinkConduit.terminateWrites:()V
         1: .line 68
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
            ifne 3
         2: .line 69
            aload 0 /* this */
            iconst_1
            putfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
         3: .line 71
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/undertow/conduits/FinishableStreamSinkConduit;
    Exceptions:
      throws java.io.IOException

  public void truncateWrites();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
         0: .line 75
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.next:Lorg/xnio/conduits/Conduit;
            checkcast org.xnio.conduits.StreamSinkConduit
            invokeinterface org.xnio.conduits.StreamSinkConduit.truncateWrites:()V
         1: .line 76
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
            iconst_2
            if_icmpeq 4
         2: .line 77
            aload 0 /* this */
            iconst_2
            putfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
         3: .line 78
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.finishListener:Lio/undertow/conduits/ConduitListener;
            aload 0 /* this */
            invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
         4: .line 80
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/undertow/conduits/FinishableStreamSinkConduit;
    Exceptions:
      throws java.io.IOException

  public boolean flush();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
         0: .line 83
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.next:Lorg/xnio/conduits/Conduit;
            checkcast org.xnio.conduits.StreamSinkConduit
            invokeinterface org.xnio.conduits.StreamSinkConduit.flush:()Z
            istore 1 /* val */
        start local 1 // boolean val
         1: .line 84
            iload 1 /* val */
            ifeq 4
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
            iconst_1
            if_icmpne 4
         2: .line 85
            aload 0 /* this */
            iconst_2
            putfield io.undertow.conduits.FinishableStreamSinkConduit.shutdownState:I
         3: .line 86
            aload 0 /* this */
            getfield io.undertow.conduits.FinishableStreamSinkConduit.finishListener:Lio/undertow/conduits/ConduitListener;
            aload 0 /* this */
            invokeinterface io.undertow.conduits.ConduitListener.handleEvent:(Lorg/xnio/conduits/Conduit;)V
         4: .line 88
      StackMap locals: int
      StackMap stack:
            iload 1 /* val */
            ireturn
        end local 1 // boolean val
        end local 0 // io.undertow.conduits.FinishableStreamSinkConduit this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lio/undertow/conduits/FinishableStreamSinkConduit;
            1    5     1   val  Z
    Exceptions:
      throws java.io.IOException
}
Signature: Lorg/xnio/conduits/AbstractStreamSinkConduit<Lorg/xnio/conduits/StreamSinkConduit;>;
SourceFile: "FinishableStreamSinkConduit.java"