public class org.jboss.resteasy.specimpl.LinkBuilderImpl implements javax.ws.rs.core.Link$Builder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.specimpl.LinkBuilderImpl
super_class: java.lang.Object
{
protected final java.util.Map<java.lang.String, java.lang.String> map;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
protected javax.ws.rs.core.UriBuilder uriBuilder;
descriptor: Ljavax/ws/rs/core/UriBuilder;
flags: (0x0004) ACC_PROTECTED
protected java.net.URI baseUri;
descriptor: Ljava/net/URI;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jboss.resteasy.specimpl.LinkBuilderImpl.map:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
public javax.ws.rs.core.Link$Builder link(javax.ws.rs.core.Link);
descriptor: (Ljavax/ws/rs/core/Link;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.ws.rs.core.Link.getUri:()Ljava/net/URI;
invokestatic javax.ws.rs.core.UriBuilder.fromUri:(Ljava/net/URI;)Ljavax/ws/rs/core/UriBuilder;
putfield org.jboss.resteasy.specimpl.LinkBuilderImpl.uriBuilder:Ljavax/ws/rs/core/UriBuilder;
1: aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.map:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.map:Ljava/util/Map;
aload 1
invokevirtual javax.ws.rs.core.Link.getParams:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 4 1 link Ljavax/ws/rs/core/Link;
MethodParameters:
Name Flags
link
public javax.ws.rs.core.Link$Builder link(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jboss.resteasy.specimpl.LinkImpl.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/Link;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.jboss.resteasy.specimpl.LinkBuilderImpl.link:(Ljavax/ws/rs/core/Link;)Ljavax/ws/rs/core/Link$Builder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 2 1 link Ljava/lang/String;
1 2 2 l Ljavax/ws/rs/core/Link;
MethodParameters:
Name Flags
link
public javax.ws.rs.core.Link$Builder uriBuilder(javax.ws.rs.core.UriBuilder);
descriptor: (Ljavax/ws/rs/core/UriBuilder;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.ws.rs.core.UriBuilder.clone:()Ljavax/ws/rs/core/UriBuilder;
putfield org.jboss.resteasy.specimpl.LinkBuilderImpl.uriBuilder:Ljavax/ws/rs/core/UriBuilder;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 2 1 uriBuilder Ljavax/ws/rs/core/UriBuilder;
MethodParameters:
Name Flags
uriBuilder
public javax.ws.rs.core.Link$Builder uri(java.net.URI);
descriptor: (Ljava/net/URI;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.uriParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic javax.ws.rs.core.UriBuilder.fromUri:(Ljava/net/URI;)Ljavax/ws/rs/core/UriBuilder;
putfield org.jboss.resteasy.specimpl.LinkBuilderImpl.uriBuilder:Ljavax/ws/rs/core/UriBuilder;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 3 1 uri Ljava/net/URI;
MethodParameters:
Name Flags
uri
public javax.ws.rs.core.Link$Builder uri(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.uriParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic javax.ws.rs.core.UriBuilder.fromUri:(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
putfield org.jboss.resteasy.specimpl.LinkBuilderImpl.uriBuilder:Ljavax/ws/rs/core/UriBuilder;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 3 1 uri Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
uri
public javax.ws.rs.core.Link$Builder rel(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.relParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.map:Ljava/util/Map;
ldc "rel"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
ldc "rel"
aload 2
ifnonnull 3
aload 1
goto 4
StackMap locals: org.jboss.resteasy.specimpl.LinkBuilderImpl java.lang.String java.lang.String
StackMap stack: org.jboss.resteasy.specimpl.LinkBuilderImpl java.lang.String
3: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: org.jboss.resteasy.specimpl.LinkBuilderImpl java.lang.String java.lang.String
StackMap stack: org.jboss.resteasy.specimpl.LinkBuilderImpl java.lang.String java.lang.String
4: invokevirtual org.jboss.resteasy.specimpl.LinkBuilderImpl.param:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
5: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 6 1 rel Ljava/lang/String;
2 6 2 rels Ljava/lang/String;
MethodParameters:
Name Flags
rel
public javax.ws.rs.core.Link$Builder title(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.titleParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
ldc "title"
aload 1
invokevirtual org.jboss.resteasy.specimpl.LinkBuilderImpl.param:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 3 1 title Ljava/lang/String;
MethodParameters:
Name Flags
title
public javax.ws.rs.core.Link$Builder type(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.typeParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
ldc "type"
aload 1
invokevirtual org.jboss.resteasy.specimpl.LinkBuilderImpl.param:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 3 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
public javax.ws.rs.core.Link$Builder param(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.nameParamWasNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.valueParamWasNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.map:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 4 1 name Ljava/lang/String;
0 4 2 value Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
value
public javax.ws.rs.core.Link build(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljavax/ws/rs/core/Link;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.valuesParamWasNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.uriBuilder:Ljavax/ws/rs/core/UriBuilder;
ifnonnull 5
3: aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.baseUri:Ljava/net/URI;
astore 2
4: goto 6
5: StackMap locals: java.net.URI
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.uriBuilder:Ljavax/ws/rs/core/UriBuilder;
aload 1
invokevirtual javax.ws.rs.core.UriBuilder.build:([Ljava/lang/Object;)Ljava/net/URI;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.net.URI.isAbsolute:()Z
ifne 8
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.baseUri:Ljava/net/URI;
ifnull 8
7: aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.baseUri:Ljava/net/URI;
aload 2
invokevirtual java.net.URI.resolve:(Ljava/net/URI;)Ljava/net/URI;
astore 2
8: StackMap locals:
StackMap stack:
new org.jboss.resteasy.specimpl.LinkImpl
dup
aload 2
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.map:Ljava/util/Map;
invokespecial org.jboss.resteasy.specimpl.LinkImpl.<init>:(Ljava/net/URI;Ljava/util/Map;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 9 1 values [Ljava/lang/Object;
2 9 2 built Ljava/net/URI;
Exceptions:
throws javax.ws.rs.core.UriBuilderException
MethodParameters:
Name Flags
values
public javax.ws.rs.core.Link buildRelativized(java.net.URI, java.lang.Object[]);
descriptor: (Ljava/net/URI;[Ljava/lang/Object;)Ljavax/ws/rs/core/Link;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.uriParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.valuesParamWasNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.uriBuilder:Ljavax/ws/rs/core/UriBuilder;
aload 2
invokevirtual javax.ws.rs.core.UriBuilder.build:([Ljava/lang/Object;)Ljava/net/URI;
astore 3
start local 3 3: aload 3
astore 4
start local 4 4: aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.baseUri:Ljava/net/URI;
ifnull 5
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.baseUri:Ljava/net/URI;
aload 3
invokevirtual java.net.URI.resolve:(Ljava/net/URI;)Ljava/net/URI;
astore 4
5: StackMap locals: java.net.URI java.net.URI
StackMap stack:
new org.jboss.resteasy.specimpl.LinkImpl
dup
aload 1
aload 4
invokevirtual java.net.URI.relativize:(Ljava/net/URI;)Ljava/net/URI;
aload 0
getfield org.jboss.resteasy.specimpl.LinkBuilderImpl.map:Ljava/util/Map;
invokespecial org.jboss.resteasy.specimpl.LinkImpl.<init>:(Ljava/net/URI;Ljava/util/Map;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 6 1 uri Ljava/net/URI;
0 6 2 values [Ljava/lang/Object;
3 6 3 built Ljava/net/URI;
4 6 4 with Ljava/net/URI;
MethodParameters:
Name Flags
uri
values
public javax.ws.rs.core.Link$Builder baseUri(java.net.URI);
descriptor: (Ljava/net/URI;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.LinkBuilderImpl.baseUri:Ljava/net/URI;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 2 1 uri Ljava/net/URI;
MethodParameters:
Name Flags
uri
public javax.ws.rs.core.Link$Builder baseUri(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
putfield org.jboss.resteasy.specimpl.LinkBuilderImpl.baseUri:Ljava/net/URI;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/LinkBuilderImpl;
0 2 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
}
SourceFile: "LinkBuilderImpl.java"
InnerClasses:
public abstract Builder = javax.ws.rs.core.Link$Builder of javax.ws.rs.core.Link