final class okhttp3.internal.http1.Http1Codec$ChunkedSink implements okio.Sink
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: okhttp3.internal.http1.Http1Codec$ChunkedSink
super_class: java.lang.Object
{
private final okio.ForwardingTimeout timeout;
descriptor: Lokio/ForwardingTimeout;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final okhttp3.internal.http1.Http1Codec this$0;
descriptor: Lokhttp3/internal/http1/Http1Codec;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(okhttp3.internal.http1.Http1Codec);
descriptor: (Lokhttp3/internal/http1/Http1Codec;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new okio.ForwardingTimeout
dup
aload 1
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
invokeinterface okio.BufferedSink.timeout:()Lokio/Timeout;
invokespecial okio.ForwardingTimeout.<init>:(Lokio/Timeout;)V
putfield okhttp3.internal.http1.Http1Codec$ChunkedSink.timeout:Lokio/ForwardingTimeout;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec$ChunkedSink;
MethodParameters:
Name Flags
this$0 final
public okio.Timeout timeout();
descriptor: ()Lokio/Timeout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.timeout:Lokio/ForwardingTimeout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/internal/http1/Http1Codec$ChunkedSink;
public void write(okio.Buffer, long);
descriptor: (Lokio/Buffer;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.closed:Z
ifeq 1
new java.lang.IllegalStateException
dup
ldc "closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifne 2
return
2: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
lload 2
invokeinterface okio.BufferedSink.writeHexadecimalUnsignedLong:(J)Lokio/BufferedSink;
pop
3: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
ldc "\r\n"
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
pop
4: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
aload 1
lload 2
invokeinterface okio.BufferedSink.write:(Lokio/Buffer;J)V
5: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
ldc "\r\n"
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lokhttp3/internal/http1/Http1Codec$ChunkedSink;
0 7 1 source Lokio/Buffer;
0 7 2 byteCount J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
byteCount
public synchronized void flush();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.closed:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
invokeinterface okio.BufferedSink.flush:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec$ChunkedSink;
Exceptions:
throws java.io.IOException
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.closed:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield okhttp3.internal.http1.Http1Codec$ChunkedSink.closed:Z
2: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
ldc "0\r\n\r\n"
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
pop
3: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.timeout:Lokio/ForwardingTimeout;
invokevirtual okhttp3.internal.http1.Http1Codec.detachTimeout:(Lokio/ForwardingTimeout;)V
4: aload 0
getfield okhttp3.internal.http1.Http1Codec$ChunkedSink.this$0:Lokhttp3/internal/http1/Http1Codec;
iconst_3
putfield okhttp3.internal.http1.Http1Codec.state:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lokhttp3/internal/http1/Http1Codec$ChunkedSink;
Exceptions:
throws java.io.IOException
}
SourceFile: "Http1Codec.java"
NestHost: okhttp3.internal.http1.Http1Codec
InnerClasses:
private final ChunkedSink = okhttp3.internal.http1.Http1Codec$ChunkedSink of okhttp3.internal.http1.Http1Codec