public class org.glassfish.jersey.message.internal.LinkProvider implements org.glassfish.jersey.spi.HeaderDelegateProvider<javax.ws.rs.core.Link>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.message.internal.LinkProvider
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/jersey/message/internal/LinkProvider;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic org.glassfish.jersey.message.internal.LinkProvider.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/LinkProvider;
public boolean supports(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljavax/ws/rs/core/Link;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/LinkProvider;
0 1 1 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type final
public javax.ws.rs.core.Link fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new org.glassfish.jersey.message.internal.JerseyLink$Builder
dup
invokespecial org.glassfish.jersey.message.internal.JerseyLink$Builder.<init>:()V
aload 1
invokestatic org.glassfish.jersey.message.internal.LinkProvider.initBuilder:(Lorg/glassfish/jersey/message/internal/JerseyLink$Builder;Ljava/lang/String;)Lorg/glassfish/jersey/message/internal/JerseyLink$Builder;
iconst_0
anewarray java.lang.Object
invokevirtual org.glassfish.jersey.message.internal.JerseyLink$Builder.build:([Ljava/lang/Object;)Lorg/glassfish/jersey/message/internal/JerseyLink;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/LinkProvider;
0 1 1 value Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
value final
static org.glassfish.jersey.message.internal.JerseyLink$Builder initBuilder(org.glassfish.jersey.message.internal.JerseyLink$Builder, java.lang.String);
descriptor: (Lorg/glassfish/jersey/message/internal/JerseyLink$Builder;Ljava/lang/String;)Lorg/glassfish/jersey/message/internal/JerseyLink$Builder;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.glassfish.jersey.internal.LocalizationMessages.LINK_IS_NULL:()Ljava/lang/String;
invokestatic org.glassfish.jersey.message.internal.Utils.throwIllegalArgumentExceptionIfNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
2: aload 1
ldc "<"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
3: aload 1
bipush 62
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpeq 8
5: aload 0
aload 1
iconst_1
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual org.glassfish.jersey.message.internal.JerseyLink$Builder.uri:(Ljava/lang/String;)Lorg/glassfish/jersey/message/internal/JerseyLink$Builder;
pop
6: aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 7: goto 10
end local 2 8: StackMap locals: org.glassfish.jersey.message.internal.JerseyLink$Builder java.lang.String top int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Missing token > in "
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
end local 3 9: StackMap locals: org.glassfish.jersey.message.internal.JerseyLink$Builder java.lang.String
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Missing starting token < in "
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
start local 2 10: StackMap locals: java.lang.String
StackMap stack:
new java.util.StringTokenizer
dup
aload 2
ldc ";=\""
iconst_1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
astore 3
start local 3 11: goto 20
12: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 3
ldc ";"
invokestatic org.glassfish.jersey.message.internal.LinkProvider.checkToken:(Ljava/util/StringTokenizer;Ljava/lang/String;)V
13: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
start local 4 14: aload 3
ldc "="
invokestatic org.glassfish.jersey.message.internal.LinkProvider.checkToken:(Ljava/util/StringTokenizer;Ljava/lang/String;)V
15: aload 3
invokestatic org.glassfish.jersey.message.internal.LinkProvider.nextNonEmptyToken:(Ljava/util/StringTokenizer;)Ljava/lang/String;
astore 5
start local 5 16: aload 5
ldc "\""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 5
18: aload 3
ldc "\""
invokestatic org.glassfish.jersey.message.internal.LinkProvider.checkToken:(Ljava/util/StringTokenizer;Ljava/lang/String;)V
19: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 4
aload 5
invokevirtual org.glassfish.jersey.message.internal.JerseyLink$Builder.param:(Ljava/lang/String;Ljava/lang/String;)Lorg/glassfish/jersey/message/internal/JerseyLink$Builder;
pop
end local 5 end local 4 20: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 12
end local 3 end local 2 21: goto 26
StackMap locals: org.glassfish.jersey.message.internal.JerseyLink$Builder java.lang.String
StackMap stack: java.lang.Throwable
22: astore 2
start local 2 23: getstatic org.glassfish.jersey.message.internal.LinkProvider.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 25
24: getstatic org.glassfish.jersey.message.internal.LinkProvider.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Error parsing link value '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
25: StackMap locals: java.lang.Throwable
StackMap stack:
aconst_null
astore 0
end local 2 26: StackMap locals:
StackMap stack:
aload 0
ifnonnull 28
27: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unable to parse link "
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
28: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 lb Lorg/glassfish/jersey/message/internal/JerseyLink$Builder;
0 29 1 value Ljava/lang/String;
7 8 2 params Ljava/lang/String;
10 21 2 params Ljava/lang/String;
4 9 3 gtIndex I
11 21 3 st Ljava/util/StringTokenizer;
14 20 4 n Ljava/lang/String;
16 20 5 v Ljava/lang/String;
23 26 2 e Ljava/lang/Throwable;
Exception table:
from to target type
1 21 22 Class java.lang.Throwable
MethodParameters:
Name Flags
lb
value
private static java.lang.String nextNonEmptyToken(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
ifeq 0
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 st Ljava/util/StringTokenizer;
1 3 1 token Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
st final
private static void checkToken(java.util.StringTokenizer, java.lang.String);
descriptor: (Ljava/util/StringTokenizer;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.String.length:()I
ifeq 0
2: aload 2
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Expected token "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but found "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
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
4: StackMap locals: java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 st Ljava/util/StringTokenizer;
0 5 1 expected Ljava/lang/String;
1 5 2 token Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
st final
expected final
public java.lang.String toString(javax.ws.rs.core.Link);
descriptor: (Ljavax/ws/rs/core/Link;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.glassfish.jersey.message.internal.LinkProvider.stringfy:(Ljavax/ws/rs/core/Link;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/jersey/message/internal/LinkProvider;
0 1 1 value Ljavax/ws/rs/core/Link;
MethodParameters:
Name Flags
value final
static java.lang.String stringfy(javax.ws.rs.core.Link);
descriptor: (Ljavax/ws/rs/core/Link;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.jersey.internal.LocalizationMessages.LINK_IS_NULL:()Ljava/lang/String;
invokestatic org.glassfish.jersey.message.internal.Utils.throwIllegalArgumentExceptionIfNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
invokevirtual javax.ws.rs.core.Link.getParams:()Ljava/util/Map;
astore 1
start local 1 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 3: aload 2
bipush 60
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.ws.rs.core.Link.getUri:()Ljava/net/URI;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: javax.ws.rs.core.Link java.util.Map java.lang.StringBuilder top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 6: aload 2
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 value Ljavax/ws/rs/core/Link;
2 9 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
3 9 2 sb Ljava/lang/StringBuilder;
6 7 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
value final
static java.util.List<java.lang.String> getLinkRelations(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
ldc "\" "
invokestatic org.glassfish.jersey.internal.util.Tokenizer.tokenize:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 rel Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
rel final
public java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast javax.ws.rs.core.Link
invokevirtual org.glassfish.jersey.message.internal.LinkProvider.toString:(Ljavax/ws/rs/core/Link;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.glassfish.jersey.message.internal.LinkProvider.fromString:(Ljava/lang/String;)Ljavax/ws/rs/core/Link;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/glassfish/jersey/spi/HeaderDelegateProvider<Ljavax/ws/rs/core/Link;>;
SourceFile: "LinkProvider.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public Builder = org.glassfish.jersey.message.internal.JerseyLink$Builder of org.glassfish.jersey.message.internal.JerseyLink
RuntimeVisibleAnnotations:
javax.inject.Singleton()