class com.mongodb.internal.connection.ZlibCompressor extends com.mongodb.internal.connection.Compressor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.ZlibCompressor
super_class: com.mongodb.internal.connection.Compressor
{
private final int level;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.mongodb.MongoCompressor);
descriptor: (Lcom/mongodb/MongoCompressor;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.mongodb.internal.connection.Compressor.<init>:()V
1: aload 0
aload 1
ldc "LEVEL"
iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.mongodb.MongoCompressor.getPropertyNonNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield com.mongodb.internal.connection.ZlibCompressor.level:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/ZlibCompressor;
0 3 1 mongoCompressor Lcom/mongodb/MongoCompressor;
MethodParameters:
Name Flags
mongoCompressor final
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "zlib"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ZlibCompressor;
public byte getId();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ZlibCompressor;
java.io.InputStream getInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/io/InputStream;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.util.zip.InflaterInputStream
dup
aload 1
invokespecial java.util.zip.InflaterInputStream.<init>:(Ljava/io/InputStream;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ZlibCompressor;
0 1 1 source Ljava/io/InputStream;
MethodParameters:
Name Flags
source final
java.io.OutputStream getOutputStream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Ljava/io/OutputStream;
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new java.util.zip.DeflaterOutputStream
dup
aload 1
new java.util.zip.Deflater
dup
aload 0
getfield com.mongodb.internal.connection.ZlibCompressor.level:I
invokespecial java.util.zip.Deflater.<init>:(I)V
invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/zip/Deflater;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ZlibCompressor;
0 1 1 source Ljava/io/OutputStream;
MethodParameters:
Name Flags
source final
}
SourceFile: "ZlibCompressor.java"