public class org.jboss.resteasy.spi.InternalDispatcher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.spi.InternalDispatcher
super_class: java.lang.Object
{
private static org.jboss.resteasy.spi.InternalDispatcher instance;
descriptor: Lorg/jboss/resteasy/spi/InternalDispatcher;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jboss.resteasy.spi.InternalDispatcher
dup
invokespecial org.jboss.resteasy.spi.InternalDispatcher.<init>:()V
putstatic org.jboss.resteasy.spi.InternalDispatcher.instance:Lorg/jboss/resteasy/spi/InternalDispatcher;
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/jboss/resteasy/spi/InternalDispatcher;
public static org.jboss.resteasy.spi.InternalDispatcher getInstance();
descriptor: ()Lorg/jboss/resteasy/spi/InternalDispatcher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jboss.resteasy.spi.InternalDispatcher.instance:Lorg/jboss/resteasy/spi/InternalDispatcher;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setInstance(org.jboss.resteasy.spi.InternalDispatcher);
descriptor: (Lorg/jboss/resteasy/spi/InternalDispatcher;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic org.jboss.resteasy.spi.InternalDispatcher.instance:Lorg/jboss/resteasy/spi/InternalDispatcher;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 instance Lorg/jboss/resteasy/spi/InternalDispatcher;
MethodParameters:
Name Flags
instance
public java.lang.Object getEntity(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.getResponse:(Ljava/lang/String;)Ljavax/ws/rs/core/Response;
invokevirtual javax.ws.rs.core.Response.getEntity:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public javax.ws.rs.core.Response delete(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "DELETE"
invokestatic org.jboss.resteasy.spi.InternalDispatcher.createRequest:(Ljava/lang/String;Ljava/lang/String;)Lorg/jboss/resteasy/mock/MockHttpRequest;
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.getResponse:(Lorg/jboss/resteasy/mock/MockHttpRequest;)Ljavax/ws/rs/core/Response;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public javax.ws.rs.core.Response putEntity(java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
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
ldc "PUT"
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.executeEntity:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 uri Ljava/lang/String;
0 1 2 contentType Ljava/lang/String;
0 1 3 entity Ljava/lang/Object;
MethodParameters:
Name Flags
uri
contentType
entity
public javax.ws.rs.core.Response putEntity(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
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
ldc "*/*"
aload 2
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.putEntity:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 uri Ljava/lang/String;
0 1 2 entity Ljava/lang/Object;
MethodParameters:
Name Flags
uri
entity
public javax.ws.rs.core.Response executeEntity(java.lang.String, java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 1
invokestatic org.jboss.resteasy.spi.InternalDispatcher.createRequest:(Ljava/lang/String;Ljava/lang/String;)Lorg/jboss/resteasy/mock/MockHttpRequest;
astore 5
start local 5 1: aload 5
aload 3
invokevirtual org.jboss.resteasy.mock.MockHttpRequest.contentType:(Ljava/lang/String;)Lorg/jboss/resteasy/mock/MockHttpRequest;
pop
2: aload 0
aload 5
aload 4
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.getResponse:(Lorg/jboss/resteasy/mock/MockHttpRequest;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
areturn
end local 5 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/jboss/resteasy/spi/InternalDispatcher;
0 3 1 method Ljava/lang/String;
0 3 2 uri Ljava/lang/String;
0 3 3 contentType Ljava/lang/String;
0 3 4 entity Ljava/lang/Object;
1 3 5 post Lorg/jboss/resteasy/mock/MockHttpRequest;
MethodParameters:
Name Flags
method
uri
contentType
entity
public javax.ws.rs.core.Response postEntity(java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
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
ldc "POST"
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.executeEntity:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 uri Ljava/lang/String;
0 1 2 contentType Ljava/lang/String;
0 1 3 entity Ljava/lang/Object;
MethodParameters:
Name Flags
uri
contentType
entity
public javax.ws.rs.core.Response postEntity(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
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
ldc "*/*"
aload 2
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.postEntity:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 uri Ljava/lang/String;
0 1 2 entity Ljava/lang/Object;
MethodParameters:
Name Flags
uri
entity
public javax.ws.rs.core.Response getResponse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "GET"
invokestatic org.jboss.resteasy.spi.InternalDispatcher.createRequest:(Ljava/lang/String;Ljava/lang/String;)Lorg/jboss/resteasy/mock/MockHttpRequest;
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.getResponse:(Lorg/jboss/resteasy/mock/MockHttpRequest;)Ljavax/ws/rs/core/Response;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public javax.ws.rs.core.Response getResponse(org.jboss.resteasy.mock.MockHttpRequest);
descriptor: (Lorg/jboss/resteasy/mock/MockHttpRequest;)Ljavax/ws/rs/core/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.getResponse:(Lorg/jboss/resteasy/mock/MockHttpRequest;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 request Lorg/jboss/resteasy/mock/MockHttpRequest;
MethodParameters:
Name Flags
request
public javax.ws.rs.core.Response getResponse(org.jboss.resteasy.mock.MockHttpRequest, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/mock/MockHttpRequest;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc Lorg/jboss/resteasy/core/Dispatcher;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getContextData:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.jboss.resteasy.core.Dispatcher
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.jboss.resteasy.core.Dispatcher
StackMap stack:
aload 0
aload 1
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.enhanceRequest:(Lorg/jboss/resteasy/mock/MockHttpRequest;)V
4: aload 3
aload 1
new org.jboss.resteasy.mock.MockHttpResponse
dup
invokespecial org.jboss.resteasy.mock.MockHttpResponse.<init>:()V
aload 2
invokeinterface org.jboss.resteasy.core.Dispatcher.internalInvocation:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljavax/ws/rs/core/Response;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 5 1 request Lorg/jboss/resteasy/mock/MockHttpRequest;
0 5 2 entity Ljava/lang/Object;
1 5 3 dispatcher Lorg/jboss/resteasy/core/Dispatcher;
MethodParameters:
Name Flags
request
entity
protected void enhanceRequest(org.jboss.resteasy.mock.MockHttpRequest);
descriptor: (Lorg/jboss/resteasy/mock/MockHttpRequest;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: ldc Lorg/jboss/resteasy/spi/HttpRequest;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getContextData:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.jboss.resteasy.spi.HttpRequest
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 1
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.getHeaders:(Lorg/jboss/resteasy/spi/HttpRequest;)Ljavax/ws/rs/core/MultivaluedMap;
aload 0
aload 2
invokevirtual org.jboss.resteasy.spi.InternalDispatcher.getHeaders:(Lorg/jboss/resteasy/spi/HttpRequest;)Ljavax/ws/rs/core/MultivaluedMap;
invokeinterface javax.ws.rs.core.MultivaluedMap.putAll:(Ljava/util/Map;)V
3: StackMap locals: org.jboss.resteasy.spi.HttpRequest
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 4 1 request Lorg/jboss/resteasy/mock/MockHttpRequest;
1 4 2 previousRequest Lorg/jboss/resteasy/spi/HttpRequest;
MethodParameters:
Name Flags
request
private javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> getHeaders(org.jboss.resteasy.spi.HttpRequest);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;)Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getRequestHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/InternalDispatcher;
0 1 1 request Lorg/jboss/resteasy/spi/HttpRequest;
Signature: (Lorg/jboss/resteasy/spi/HttpRequest;)Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
request
public static org.jboss.resteasy.mock.MockHttpRequest createRequest(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/jboss/resteasy/mock/MockHttpRequest;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: ldc Ljavax/ws/rs/core/UriInfo;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getContextData:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.ws.rs.core.UriInfo
astore 2
start local 2 1: aload 2
invokeinterface javax.ws.rs.core.UriInfo.getBaseUri:()Ljava/net/URI;
astore 3
start local 3 2: aload 3
aload 0
invokestatic org.jboss.resteasy.spi.InternalDispatcher.parseRelativeUri:(Ljava/lang/String;)Ljava/net/URI;
invokevirtual java.net.URI.resolve:(Ljava/net/URI;)Ljava/net/URI;
astore 4
start local 4 3: aload 1
aload 4
aload 3
invokestatic org.jboss.resteasy.mock.MockHttpRequest.create:(Ljava/lang/String;Ljava/net/URI;Ljava/net/URI;)Lorg/jboss/resteasy/mock/MockHttpRequest;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 relativeUri Ljava/lang/String;
0 4 1 verb Ljava/lang/String;
1 4 2 uriInfo Ljavax/ws/rs/core/UriInfo;
2 4 3 baseUri Ljava/net/URI;
3 4 4 absoluteUri Ljava/net/URI;
MethodParameters:
Name Flags
relativeUri
verb
private static java.net.URI parseRelativeUri(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URI;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 relativeUri Ljava/lang/String;
MethodParameters:
Name Flags
relativeUri
}
SourceFile: "InternalDispatcher.java"