public final class io.undertow.util.HttpString implements java.lang.Comparable<io.undertow.util.HttpString>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.undertow.util.HttpString
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final byte[] bytes;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final transient int hashCode;
descriptor: I
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
private final int orderInt;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private transient java.lang.String string;
descriptor: Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private static final java.lang.reflect.Field hashCodeField;
descriptor: Ljava/lang/reflect/Field;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int hashCodeBase;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final io.undertow.util.HttpString EMPTY;
descriptor: Lio/undertow/util/HttpString;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc Lio/undertow/util/HttpString;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.undertow.util.HttpString.$assertionsDisabled:Z
3: ldc Lio/undertow/util/HttpString;
ldc "hashCode"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
putstatic io.undertow.util.HttpString.hashCodeField:Ljava/lang/reflect/Field;
4: getstatic io.undertow.util.HttpString.hashCodeField:Ljava/lang/reflect/Field;
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldException
6: astore 0
start local 0 7: new java.lang.NoSuchFieldError
dup
aload 0
invokevirtual java.lang.NoSuchFieldException.getMessage:()Ljava/lang/String;
invokespecial java.lang.NoSuchFieldError.<init>:(Ljava/lang/String;)V
athrow
end local 0 8: StackMap locals:
StackMap stack:
new java.util.Random
dup
invokespecial java.util.Random.<init>:()V
invokevirtual java.util.Random.nextInt:()I
putstatic io.undertow.util.HttpString.hashCodeBase:I
9: new io.undertow.util.HttpString
dup
ldc ""
invokespecial io.undertow.util.HttpString.<init>:(Ljava/lang/String;)V
putstatic io.undertow.util.HttpString.EMPTY:Lio/undertow/util/HttpString;
return
LocalVariableTable:
Start End Slot Name Signature
7 8 0 e Ljava/lang/NoSuchFieldException;
Exception table:
from to target type
3 5 6 Class java.lang.NoSuchFieldException
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
aconst_null
invokespecial io.undertow.util.HttpString.<init>:([BLjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes final
public void <init>(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 2
iload 3
iadd
invokestatic java.util.Arrays.copyOfRange:([BII)[B
aconst_null
invokespecial io.undertow.util.HttpString.<init>:([BLjava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 bytes [B
0 2 2 offset I
0 2 3 length I
MethodParameters:
Name Flags
bytes final
offset
length
public void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.undertow.util.HttpString.take:(Ljava/nio/ByteBuffer;)[B
aconst_null
invokespecial io.undertow.util.HttpString.<init>:([BLjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer final
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial io.undertow.util.HttpString.<init>:(Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string final
void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 2
putfield io.undertow.util.HttpString.orderInt:I
2: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 3: iload 3
newarray 8
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 11
6: StackMap locals: io.undertow.util.HttpString java.lang.String int int byte[] int
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 7: iload 6
sipush 255
if_icmple 9
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid string contents "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 4
iload 5
iload 6
i2b
bastore
end local 6 10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 3
if_icmplt 6
end local 5 12: aload 0
aload 4
putfield io.undertow.util.HttpString.bytes:[B
13: aload 0
aload 4
invokestatic io.undertow.util.HttpString.calcHashCode:([B)I
putfield io.undertow.util.HttpString.hashCode:I
14: aload 0
aload 1
putfield io.undertow.util.HttpString.string:Ljava/lang/String;
15: aload 0
invokevirtual io.undertow.util.HttpString.checkForNewlines:()V
16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/undertow/util/HttpString;
0 17 1 string Ljava/lang/String;
0 17 2 orderInt I
3 17 3 len I
4 17 4 bytes [B
5 12 5 i I
7 10 6 c C
MethodParameters:
Name Flags
string final
orderInt
private void checkForNewlines();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.HttpString.bytes:[B
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: io.undertow.util.HttpString top int int byte[]
StackMap stack:
1: aload 4
iload 2
baload
istore 1
start local 1 2: iload 1
bipush 13
if_icmpeq 3
iload 1
bipush 10
if_icmpne 4
3: StackMap locals: io.undertow.util.HttpString int int int byte[]
StackMap stack:
getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
aload 0
getfield io.undertow.util.HttpString.string:Ljava/lang/String;
invokeinterface io.undertow.UndertowMessages.newlineNotSupportedInHttpString:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
end local 1 4: StackMap locals: io.undertow.util.HttpString top int int byte[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/undertow/util/HttpString;
2 4 1 b B
private void <init>(byte[], java.lang.String);
descriptor: ([BLjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.undertow.util.HttpString.bytes:[B
2: aload 0
aload 1
invokestatic io.undertow.util.HttpString.calcHashCode:([B)I
putfield io.undertow.util.HttpString.hashCode:I
3: aload 0
aload 2
putfield io.undertow.util.HttpString.string:Ljava/lang/String;
4: aload 0
iconst_0
putfield io.undertow.util.HttpString.orderInt:I
5: aload 0
invokevirtual io.undertow.util.HttpString.checkForNewlines:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/undertow/util/HttpString;
0 7 1 bytes [B
0 7 2 string Ljava/lang/String;
MethodParameters:
Name Flags
bytes final
string final
public static io.undertow.util.HttpString tryFromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/undertow/util/HttpString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokestatic io.undertow.util.Headers.fromCache:(Ljava/lang/String;)Lio/undertow/util/HttpString;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: io.undertow.util.HttpString
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 4: iload 2
newarray 8
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 12
7: StackMap locals: int byte[] int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 8: iload 5
sipush 255
if_icmple 10
9: aconst_null
areturn
10: StackMap locals: int
StackMap stack:
aload 3
iload 4
iload 5
i2b
bastore
end local 5 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 2
if_icmplt 7
end local 4 13: new io.undertow.util.HttpString
dup
aload 3
aload 0
invokespecial io.undertow.util.HttpString.<init>:([BLjava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 string Ljava/lang/String;
1 14 1 cached Lio/undertow/util/HttpString;
4 14 2 len I
5 14 3 bytes [B
6 13 4 i I
8 11 5 c C
MethodParameters:
Name Flags
string
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.HttpString.bytes:[B
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/util/HttpString;
public byte byteAt(int);
descriptor: (I)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.util.HttpString.bytes:[B
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/util/HttpString;
0 1 1 idx I
MethodParameters:
Name Flags
idx
public void copyTo(int, byte[], int, int);
descriptor: (I[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.undertow.util.HttpString.bytes:[B
iload 1
aload 2
iload 3
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 srcOffs I
0 2 2 dst [B
0 2 3 offs I
0 2 4 len I
MethodParameters:
Name Flags
srcOffs
dst
offs
len
public void copyTo(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_0
aload 1
iload 2
iload 3
invokevirtual io.undertow.util.HttpString.copyTo:(I[BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 dst [B
0 2 2 offs I
0 2 3 len I
MethodParameters:
Name Flags
dst
offs
len
public void copyTo(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aload 0
getfield io.undertow.util.HttpString.bytes:[B
arraylength
invokevirtual io.undertow.util.HttpString.copyTo:([BII)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 dst [B
0 2 2 offs I
MethodParameters:
Name Flags
dst
offs
public void appendTo(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield io.undertow.util.HttpString.bytes:[B
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public void writeTo(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield io.undertow.util.HttpString.bytes:[B
invokevirtual java.io.OutputStream.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/util/HttpString;
0 2 1 output Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
output
private static byte[] take(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 7
1: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 2
2: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 2
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: aload 1
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
newarray 8
astore 1
start local 1 8: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 buffer Ljava/nio/ByteBuffer;
8 10 1 bytes [B
Exception table:
from to target type
1 2 4 any
MethodParameters:
Name Flags
buffer final
public int compareTo(io.undertow.util.HttpString);
descriptor: (Lio/undertow/util/HttpString;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.util.HttpString.orderInt:I
ifeq 2
aload 1
getfield io.undertow.util.HttpString.orderInt:I
ifeq 2
1: aload 0
getfield io.undertow.util.HttpString.orderInt:I
aload 1
getfield io.undertow.util.HttpString.orderInt:I
isub
invokestatic java.lang.Integer.signum:(I)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.HttpString.bytes:[B
arraylength
aload 1
getfield io.undertow.util.HttpString.bytes:[B
arraylength
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 3: iconst_0
istore 4
start local 4 4: goto 8
5: StackMap locals: io.undertow.util.HttpString io.undertow.util.HttpString int top int
StackMap stack:
aload 0
getfield io.undertow.util.HttpString.bytes:[B
iload 4
baload
invokestatic io.undertow.util.HttpString.higher:(B)I
aload 1
getfield io.undertow.util.HttpString.bytes:[B
iload 4
baload
invokestatic io.undertow.util.HttpString.higher:(B)I
isub
invokestatic java.lang.Integer.signum:(I)I
istore 3
start local 3 6: iload 3
ifeq 7
iload 3
ireturn
7: StackMap locals: io.undertow.util.HttpString io.undertow.util.HttpString int int int
StackMap stack:
iinc 4 1
end local 3 StackMap locals: io.undertow.util.HttpString io.undertow.util.HttpString int top int
StackMap stack:
8: iload 4
iload 2
if_icmplt 5
end local 4 9: aload 0
getfield io.undertow.util.HttpString.bytes:[B
arraylength
aload 1
getfield io.undertow.util.HttpString.bytes:[B
arraylength
isub
invokestatic java.lang.Integer.signum:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/undertow/util/HttpString;
0 10 1 other Lio/undertow/util/HttpString;
3 10 2 len I
6 8 3 res I
4 9 4 i I
MethodParameters:
Name Flags
other final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.HttpString.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/util/HttpString;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.undertow.util.HttpString
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast io.undertow.util.HttpString
astore 2
start local 2 5: aload 0
getfield io.undertow.util.HttpString.orderInt:I
ifle 7
aload 2
getfield io.undertow.util.HttpString.orderInt:I
ifle 7
6: iconst_0
ireturn
7: StackMap locals: io.undertow.util.HttpString
StackMap stack:
aload 0
getfield io.undertow.util.HttpString.bytes:[B
aload 2
getfield io.undertow.util.HttpString.bytes:[B
invokestatic io.undertow.util.HttpString.bytesAreEqual:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/undertow/util/HttpString;
0 8 1 other Ljava/lang/Object;
5 8 2 otherString Lio/undertow/util/HttpString;
MethodParameters:
Name Flags
other final
public boolean equals(io.undertow.util.HttpString);
descriptor: (Lio/undertow/util/HttpString;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpeq 2
aload 1
ifnull 1
aload 0
getfield io.undertow.util.HttpString.bytes:[B
aload 1
getfield io.undertow.util.HttpString.bytes:[B
invokestatic io.undertow.util.HttpString.bytesAreEqual:([B[B)Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/undertow/util/HttpString;
0 3 1 other Lio/undertow/util/HttpString;
MethodParameters:
Name Flags
other final
private static int calcHashCode(byte[]);
descriptor: ([B)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: byte[] int top int int byte[]
StackMap stack:
2: aload 5
iload 3
baload
istore 2
start local 2 3: iload 1
iconst_4
ishl
iload 1
iadd
iload 2
invokestatic io.undertow.util.HttpString.higher:(B)I
iadd
istore 1
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bytes [B
1 7 1 hc I
3 4 2 b B
MethodParameters:
Name Flags
bytes final
private static int higher(byte);
descriptor: (B)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iload 0
bipush 97
if_icmplt 1
iload 0
bipush 122
if_icmpgt 1
sipush 223
goto 2
StackMap locals:
StackMap stack: int
1: sipush 255
StackMap locals: int
StackMap stack: int int
2: iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 b B
MethodParameters:
Name Flags
b
private static boolean bytesAreEqual(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
arraylength
aload 1
arraylength
if_icmpne 1
aload 0
aload 1
invokestatic io.undertow.util.HttpString.bytesAreEquivalent:([B[B)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [B
0 2 1 b [B
MethodParameters:
Name Flags
a final
b final
private static boolean bytesAreEquivalent(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic io.undertow.util.HttpString.$assertionsDisabled:Z
ifne 1
aload 0
arraylength
aload 1
arraylength
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int
StackMap stack:
aload 0
iload 3
baload
invokestatic io.undertow.util.HttpString.higher:(B)I
aload 1
iload 3
baload
invokestatic io.undertow.util.HttpString.higher:(B)I
if_icmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 4
end local 3 8: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 a [B
0 9 1 b [B
2 9 2 len I
3 8 3 i I
MethodParameters:
Name Flags
a final
b final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.util.HttpString.string:Ljava/lang/String;
ifnonnull 2
1: aload 0
new java.lang.String
dup
aload 0
getfield io.undertow.util.HttpString.bytes:[B
iconst_0
invokespecial java.lang.String.<init>:([BI)V
putfield io.undertow.util.HttpString.string:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.HttpString.string:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/undertow/util/HttpString;
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: getstatic io.undertow.util.HttpString.hashCodeField:Ljava/lang/reflect/Field;
aload 0
aload 0
getfield io.undertow.util.HttpString.bytes:[B
invokestatic io.undertow.util.HttpString.calcHashCode:([B)I
invokevirtual java.lang.reflect.Field.setInt:(Ljava/lang/Object;I)V
2: goto 5
StackMap locals:
StackMap stack: java.lang.IllegalAccessException
3: astore 2
start local 2 4: new java.lang.IllegalAccessError
dup
aload 2
invokevirtual java.lang.IllegalAccessException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalAccessError.<init>:(Ljava/lang/String;)V
athrow
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 Lio/undertow/util/HttpString;
0 6 1 ois Ljava/io/ObjectInputStream;
4 5 2 e Ljava/lang/IllegalAccessException;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalAccessException
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
ois
static int hashCodeOf(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
iconst_4
ishl
iload 1
iadd
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
i2b
invokestatic io.undertow.util.HttpString.higher:(B)I
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 headerName Ljava/lang/String;
1 7 1 hc I
2 6 2 i I
MethodParameters:
Name Flags
headerName
public boolean equalToString(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
aload 0
getfield io.undertow.util.HttpString.bytes:[B
arraylength
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.util.HttpString.bytes:[B
arraylength
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: int int
StackMap stack:
aload 0
getfield io.undertow.util.HttpString.bytes:[B
iload 3
baload
invokestatic io.undertow.util.HttpString.higher:(B)I
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
i2b
invokestatic io.undertow.util.HttpString.higher:(B)I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 5
end local 3 9: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/undertow/util/HttpString;
0 10 1 headerName Ljava/lang/String;
3 10 2 len I
4 9 3 i I
MethodParameters:
Name Flags
headerName
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.undertow.util.HttpString
invokevirtual io.undertow.util.HttpString.compareTo:(Lio/undertow/util/HttpString;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lio/undertow/util/HttpString;>;Ljava/io/Serializable;
SourceFile: "HttpString.java"