public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.MimeHeaders
super_class: java.lang.Object
{
public static final int ;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final org.apache.tomcat.util.res.StringManager ;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.apache.tomcat.util.http.MimeHeaderField[] ;
descriptor: [Lorg/apache/tomcat/util/http/MimeHeaderField;
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.apache.tomcat.util.http"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.tomcat.util.http.MimeHeaders.sm:Lorg/apache/tomcat/util/res/StringManager;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: bipush 8
3: anewarray org.apache.tomcat.util.http.MimeHeaderField
putfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
4: aload 0
iconst_m1
putfield org.apache.tomcat.util.http.MimeHeaders.limit:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.http.MimeHeaders.limit:I
1: iload 1
ifle 5
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
arraylength
iload 1
if_icmple 5
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
iload 1
if_icmpge 5
2: iload 1
anewarray org.apache.tomcat.util.http.MimeHeaderField
astore 2
start local 2 3: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iconst_0
aload 2
iconst_0
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 2
putfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 6 1 limit I
3 5 2 tmp [Lorg/apache/tomcat/util/http/MimeHeaderField;
MethodParameters:
Name Flags
limit
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.http.MimeHeaders.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 1
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.recycle:()V
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmplt 2
end local 1 5: aload 0
iconst_0
putfield org.apache.tomcat.util.http.MimeHeaders.count:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
1 5 1 i I
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 1
start local 1 1: new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
astore 2
start local 2 2: aload 2
ldc "=== MimeHeaders ==="
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: aload 0
invokevirtual org.apache.tomcat.util.http.MimeHeaders.names:()Ljava/util/Enumeration;
astore 3
start local 3 4: goto 12
5: StackMap locals: java.io.StringWriter java.io.PrintWriter java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 0
aload 4
invokevirtual org.apache.tomcat.util.http.MimeHeaders.values:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 5
start local 5 7: goto 11
8: StackMap locals: java.lang.String java.util.Enumeration
StackMap stack:
aload 2
aload 4
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
9: aload 2
ldc " = "
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
10: aload 2
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 8
end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
13: aload 1
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
1 14 1 sw Ljava/io/StringWriter;
2 14 2 pw Ljava/io/PrintWriter;
4 14 3 e Ljava/util/Enumeration<Ljava/lang/String;>;
6 12 4 n Ljava/lang/String;
7 12 5 ev Ljava/util/Enumeration<Ljava/lang/String;>;
public void (org.apache.tomcat.util.http.MimeHeaders);
descriptor: (Lorg/apache/tomcat/util/http/MimeHeaders;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.MimeHeaders.createHeader:()Lorg/apache/tomcat/util/http/MimeHeaderField;
astore 3
start local 3 3: aload 3
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
iload 2
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getName:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.duplicate:(Lorg/apache/tomcat/util/buf/MessageBytes;)V
4: aload 3
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
iload 2
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getValue:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.duplicate:(Lorg/apache/tomcat/util/buf/MessageBytes;)V
end local 3 5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.size:()I
if_icmplt 2
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 8 1 source Lorg/apache/tomcat/util/http/MimeHeaders;
1 7 2 i I
3 5 3 mhf Lorg/apache/tomcat/util/http/MimeHeaderField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
public org.apache.tomcat.util.buf.MessageBytes (int);
descriptor: (I)Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmpge 1
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 1
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.apache.tomcat.util.buf.MessageBytes
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 3 1 n I
MethodParameters:
Name Flags
n
public org.apache.tomcat.util.buf.MessageBytes (int);
descriptor: (I)Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmpge 1
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 1
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.apache.tomcat.util.buf.MessageBytes
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 3 1 n I
MethodParameters:
Name Flags
n
public int (java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 3
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: iload 3
ireturn
4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmplt 2
end local 3 6: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 7 1 name Ljava/lang/String;
0 7 2 starting I
1 6 3 i I
MethodParameters:
Name Flags
name
starting
public java.util.Enumeration<java.lang.String> names();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.tomcat.util.http.NamesEnumerator
dup
aload 0
invokespecial org.apache.tomcat.util.http.NamesEnumerator.<init>:(Lorg/apache/tomcat/util/http/MimeHeaders;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.util.Enumeration<java.lang.String> values(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.tomcat.util.http.ValuesEnumerator
dup
aload 0
aload 1
invokespecial org.apache.tomcat.util.http.ValuesEnumerator.<init>:(Lorg/apache/tomcat/util/http/MimeHeaders;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
private org.apache.tomcat.util.http.MimeHeaderField ();
descriptor: ()Lorg/apache/tomcat/util/http/MimeHeaderField;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.limit:I
iconst_m1
if_icmple 4
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.limit:I
if_icmplt 4
1: new java.lang.IllegalStateException
dup
getstatic org.apache.tomcat.util.http.MimeHeaders.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "headers.maxCountFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.limit:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
arraylength
istore 2
start local 2 5: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
iload 2
if_icmplt 12
6: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
iconst_2
imul
istore 3
start local 3 7: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.limit:I
ifle 9
iload 3
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.limit:I
if_icmple 9
8: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.limit:I
istore 3
9: StackMap locals: org.apache.tomcat.util.http.MimeHeaders top int int
StackMap stack:
iload 3
anewarray org.apache.tomcat.util.http.MimeHeaderField
astore 4
start local 4 10: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iconst_0
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
aload 4
putfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
end local 4 end local 3 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
aaload
dup
astore 1
start local 1 13: ifnonnull 15
14: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
new org.apache.tomcat.util.http.MimeHeaderField
dup
invokespecial org.apache.tomcat.util.http.MimeHeaderField.<init>:()V
dup
astore 1
aastore
15: StackMap locals: org.apache.tomcat.util.http.MimeHeaders org.apache.tomcat.util.http.MimeHeaderField int
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.MimeHeaders.count:I
16: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
13 17 1 mh Lorg/apache/tomcat/util/http/MimeHeaderField;
5 17 2 len I
7 12 3 newLength I
10 12 4 tmp [Lorg/apache/tomcat/util/http/MimeHeaderField;
public org.apache.tomcat.util.buf.MessageBytes (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.http.MimeHeaders.createHeader:()Lorg/apache/tomcat/util/http/MimeHeaderField;
astore 2
start local 2 1: aload 2
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
2: aload 2
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 3 1 name Ljava/lang/String;
1 3 2 mh Lorg/apache/tomcat/util/http/MimeHeaderField;
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.buf.MessageBytes (byte[], int, int);
descriptor: ([BII)Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.tomcat.util.http.MimeHeaders.createHeader:()Lorg/apache/tomcat/util/http/MimeHeaderField;
astore 4
start local 4 1: aload 4
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
iload 2
iload 3
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setBytes:([BII)V
2: aload 4
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 3 1 b [B
0 3 2 startN I
0 3 3 len I
1 3 4 mhf Lorg/apache/tomcat/util/http/MimeHeaderField;
MethodParameters:
Name Flags
b
startN
len
public org.apache.tomcat.util.buf.MessageBytes (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 11
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 2
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
3: iload 2
iconst_1
iadd
istore 3
start local 3 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 3
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
6: aload 0
iload 3
iinc 3 -1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.removeHeader:(I)V
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmplt 5
end local 3 9: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 2
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
areturn
10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmplt 2
end local 2 12: aload 0
invokevirtual org.apache.tomcat.util.http.MimeHeaders.createHeader:()Lorg/apache/tomcat/util/http/MimeHeaderField;
astore 2
start local 2 13: aload 2
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
14: aload 2
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 15 1 name Ljava/lang/String;
1 12 2 i I
4 9 3 j I
13 15 2 mh Lorg/apache/tomcat/util/http/MimeHeaderField;
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.buf.MessageBytes (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 2
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 2
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
areturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmplt 2
end local 2 6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 7 1 name Ljava/lang/String;
1 6 2 i I
MethodParameters:
Name Flags
name
public org.apache.tomcat.util.buf.MessageBytes (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 9
3: StackMap locals: org.apache.tomcat.util.buf.MessageBytes int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 3
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
4: aload 2
ifnonnull 7
5: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 3
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getValue:()Lorg/apache/tomcat/util/buf/MessageBytes;
astore 2
6: goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmplt 3
end local 3 10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 11 1 name Ljava/lang/String;
1 11 2 result Lorg/apache/tomcat/util/buf/MessageBytes;
2 10 3 i I
MethodParameters:
Name Flags
name
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getValue:(Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
goto 3
StackMap locals: org.apache.tomcat.util.buf.MessageBytes
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 4 1 name Ljava/lang/String;
1 4 2 mh Lorg/apache/tomcat/util/buf/MessageBytes;
MethodParameters:
Name Flags
name
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 2
aaload
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.getName:()Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
iload 2
iinc 2 -1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.removeHeader:(I)V
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
if_icmplt 2
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 7 1 name Ljava/lang/String;
1 6 2 i I
MethodParameters:
Name Flags
name
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 1
aaload
astore 2
start local 2 1: aload 2
invokevirtual org.apache.tomcat.util.http.MimeHeaderField.recycle:()V
2: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
iload 1
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
iconst_1
isub
aaload
aastore
3: aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.headers:[Lorg/apache/tomcat/util/http/MimeHeaderField;
aload 0
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
iconst_1
isub
aload 2
aastore
4: aload 0
dup
getfield org.apache.tomcat.util.http.MimeHeaders.count:I
iconst_1
isub
putfield org.apache.tomcat.util.http.MimeHeaders.count:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/http/MimeHeaders;
0 6 1 idx I
1 6 2 mh Lorg/apache/tomcat/util/http/MimeHeaderField;
MethodParameters:
Name Flags
idx
}
SourceFile: "MimeHeaders.java"