public class org.jboss.resteasy.core.ServerResponseWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.ServerResponseWriter
super_class: java.lang.Object
{
private static javax.ws.rs.Produces WILDCARD_PRODUCES;
descriptor: Ljavax/ws/rs/Produces;
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.core.ServerResponseWriter$1
dup
invokespecial org.jboss.resteasy.core.ServerResponseWriter$1.<init>:()V
putstatic org.jboss.resteasy.core.ServerResponseWriter.WILDCARD_PRODUCES:Ljavax/ws/rs/Produces;
1: 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/core/ServerResponseWriter;
public static void writeNomapResponse(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, java.util.function.Consumer<java.lang.Throwable>);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/function/Consumer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
iconst_1
invokestatic org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/function/Consumer;Z)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 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 2 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 2 3 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 2 4 onComplete Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/function/Consumer<Ljava/lang/Throwable;>;)V
MethodParameters:
Name Flags
jaxrsResponse
request final
response final
providerFactory final
onComplete
public static void writeNomapResponse(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/jboss/resteasy/core/ServerResponseWriter.lambda$0(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
iconst_1
invokestatic org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/function/Consumer;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 2 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 2 3 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
jaxrsResponse
request final
response final
providerFactory final
public static void writeNomapResponse(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, boolean);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/jboss/resteasy/core/ServerResponseWriter.lambda$1(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
iload 4
invokestatic org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/function/Consumer;Z)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 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 2 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 2 3 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 2 4 sendHeaders Z
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
jaxrsResponse
request final
response final
providerFactory final
sendHeaders
public static void writeNomapResponse(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, java.util.function.Consumer<java.lang.Throwable>, );
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/function/Consumer;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ldc Lorg/jboss/resteasy/core/ResourceMethodInvoker;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.jboss.resteasy.core.ResourceMethodInvoker
astore 6
start local 6 1: aload 0
aload 1
aload 2
aload 3
aload 6
invokestatic org.jboss.resteasy.core.ServerResponseWriter.setResponseMediaType:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)V
2: aload 0
aload 1
aload 2
aload 3
aload 6
aload 4
aload 0
aload 2
aload 3
iload 5
aload 6
aload 1
invokedynamic run(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;ZLorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/HttpRequest;)Lorg/jboss/resteasy/core/ServerResponseWriter$RunnableWithIOException;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/util/function/Consumer;)V
org/jboss/resteasy/core/ServerResponseWriter.lambda$2(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;ZLorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/HttpRequest;Ljava/util/function/Consumer;)V (6)
(Ljava/util/function/Consumer;)V
invokestatic org.jboss.resteasy.core.ServerResponseWriter.executeFilters:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;Ljava/util/function/Consumer;Lorg/jboss/resteasy/core/ServerResponseWriter$RunnableWithIOException;)V
3: return
end local 6 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 4 0 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 4 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 4 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 4 3 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 4 4 onComplete Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
0 4 5 sendHeaders Z
1 4 6 method Lorg/jboss/resteasy/core/ResourceMethodInvoker;
Exceptions:
throws java.io.IOException
Signature: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/util/function/Consumer<Ljava/lang/Throwable;>;Z)V
MethodParameters:
Name Flags
jaxrsResponse
request final
response final
providerFactory final
onComplete
sendHeaders
private static java.io.OutputStream (java.io.OutputStream, org.jboss.resteasy.util.CommitHeaderOutputStream$CommitCallback);
descriptor: (Ljava/io/OutputStream;Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;)Ljava/io/OutputStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.jboss.resteasy.spi.AsyncOutputStream
ifeq 2
1: new org.jboss.resteasy.util.CommitHeaderAsyncOutputStream
dup
aload 0
checkcast org.jboss.resteasy.spi.AsyncOutputStream
aload 1
invokespecial org.jboss.resteasy.util.CommitHeaderAsyncOutputStream.<init>:(Lorg/jboss/resteasy/spi/AsyncOutputStream;Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;)V
goto 3
2: StackMap locals:
StackMap stack:
new org.jboss.resteasy.util.CommitHeaderOutputStream
dup
aload 0
aload 1
invokespecial org.jboss.resteasy.util.CommitHeaderOutputStream.<init>:(Ljava/io/OutputStream;Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;)V
3: StackMap locals:
StackMap stack: java.io.OutputStream
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 delegate Ljava/io/OutputStream;
0 4 1 headers Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;
MethodParameters:
Name Flags
delegate
headers
public static void setResponseMediaType(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, org.jboss.resteasy.core.ResourceMethodInvoker);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokestatic org.jboss.resteasy.core.ServerResponseWriter.getResponseMediaType:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)Ljavax/ws/rs/core/MediaType;
astore 5
start local 5 1: aload 5
ifnull 3
2: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "Content-Type"
aload 5
invokeinterface javax.ws.rs.core.MultivaluedMap.putSingle:(Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: javax.ws.rs.core.MediaType
StackMap stack:
return
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 4 0 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 4 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 4 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 4 3 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 4 4 method Lorg/jboss/resteasy/core/ResourceMethodInvoker;
1 4 5 mt Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
jaxrsResponse
request
response
providerFactory
method
public static javax.ws.rs.core.MediaType getResponseMediaType(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, org.jboss.resteasy.core.ResourceMethodInvoker);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)Ljavax/ws/rs/core/MediaType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.isClosed:()Z
ifne 12
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getEntity:()Ljava/lang/Object;
ifnull 12
2: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMediaType:()Ljavax/ws/rs/core/MediaType;
dup
astore 5
ifnonnull 4
3: aload 1
aload 0
aload 3
aload 4
invokestatic org.jboss.resteasy.core.ServerResponseWriter.getDefaultContentType:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)Ljavax/ws/rs/core/MediaType;
astore 5
4: StackMap locals: javax.ws.rs.core.MediaType
StackMap stack:
iconst_1
istore 6
start local 6 5: ldc Lorg/jboss/resteasy/spi/ResteasyDeployment;
invokestatic org.jboss.resteasy.core.ResteasyContext.getContextData:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.jboss.resteasy.spi.ResteasyDeployment
astore 7
start local 7 6: aload 7
ifnull 8
7: aload 7
invokeinterface org.jboss.resteasy.spi.ResteasyDeployment.isAddCharset:()Z
istore 6
8: StackMap locals: int org.jboss.resteasy.spi.ResteasyDeployment
StackMap stack:
iload 6
ifeq 12
9: aload 5
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "charset"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 12
10: aload 5
invokestatic org.jboss.resteasy.util.MediaTypeHelper.isTextLike:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 12
11: aload 5
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.toString:()Ljava/lang/String;
invokevirtual javax.ws.rs.core.MediaType.withCharset:(Ljava/lang/String;)Ljavax/ws/rs/core/MediaType;
astore 5
end local 7 end local 6 12: StackMap locals:
StackMap stack:
aload 5
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 13 0 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 13 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 13 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 13 3 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 13 4 method Lorg/jboss/resteasy/core/ResourceMethodInvoker;
1 13 5 mt Ljavax/ws/rs/core/MediaType;
5 12 6 addCharset Z
6 12 7 deployment Lorg/jboss/resteasy/spi/ResteasyDeployment;
MethodParameters:
Name Flags
jaxrsResponse
request
response
providerFactory
method
private static void executeFilters(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, org.jboss.resteasy.core.ResourceMethodInvoker, java.util.function.Consumer<java.lang.Throwable>, org.jboss.resteasy.core.ServerResponseWriter$RunnableWithIOException);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;Ljava/util/function/Consumer;Lorg/jboss/resteasy/core/ServerResponseWriter$RunnableWithIOException;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=13, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aconst_null
astore 7
start local 7 1: aload 4
ifnull 4
2: aload 4
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getResponseFilters:()[Ljavax/ws/rs/container/ContainerResponseFilter;
astore 7
3: goto 5
4: StackMap locals: javax.ws.rs.container.ContainerResponseFilter[]
StackMap stack:
aload 3
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerResponseFilterRegistry:()Lorg/jboss/resteasy/spi/interception/JaxrsInterceptorRegistry;
aconst_null
aconst_null
invokeinterface org.jboss.resteasy.spi.interception.JaxrsInterceptorRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.container.ContainerResponseFilter[]
astore 7
5: StackMap locals:
StackMap stack:
aload 7
ifnull 15
6: new org.jboss.resteasy.core.interception.jaxrs.ResponseContainerRequestContext
dup
aload 1
invokespecial org.jboss.resteasy.core.interception.jaxrs.ResponseContainerRequestContext.<init>:(Lorg/jboss/resteasy/spi/HttpRequest;)V
astore 8
start local 8 7: new org.jboss.resteasy.core.interception.jaxrs.ContainerResponseContextImpl
dup
aload 1
aload 2
aload 0
8: aload 8
aload 7
aload 5
aload 6
9: invokespecial org.jboss.resteasy.core.interception.jaxrs.ContainerResponseContextImpl.<init>:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/core/interception/jaxrs/ResponseContainerRequestContext;[Ljavax/ws/rs/container/ContainerResponseFilter;Ljava/util/function/Consumer;Lorg/jboss/resteasy/core/ServerResponseWriter$RunnableWithIOException;)V
astore 9
start local 9 10: aload 1
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLogger.getInstance:(Lorg/jboss/resteasy/spi/HttpRequest;)Lorg/jboss/resteasy/tracing/RESTEasyTracingLogger;
astore 10
start local 10 11: aload 10
ldc "RESPONSE_FILTER_SUMMARY"
invokeinterface org.jboss.resteasy.tracing.RESTEasyTracingLogger.timestamp:(Ljava/lang/String;)J
lstore 11
start local 11 12: aload 9
invokevirtual org.jboss.resteasy.core.interception.jaxrs.ContainerResponseContextImpl.filter:()V
13: aload 10
ldc "RESPONSE_FILTER_SUMMARY"
lload 11
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface org.jboss.resteasy.tracing.RESTEasyTracingLogger.logDuration:(Ljava/lang/String;J[Ljava/lang/Object;)V
end local 11 end local 10 end local 9 end local 8 14: goto 20
15: StackMap locals:
StackMap stack:
aload 6
aload 5
invokeinterface org.jboss.resteasy.core.ServerResponseWriter$RunnableWithIOException.run:(Ljava/util/function/Consumer;)V
16: goto 20
17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
start local 8 18: aload 5
aload 8
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
19: aload 8
invokestatic org.jboss.resteasy.core.SynchronousDispatcher.rethrow:(Ljava/lang/Throwable;)V
end local 8 20: StackMap locals:
StackMap stack:
return
end local 7 end local 6 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 21 0 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 21 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 21 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 21 3 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 21 4 method Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 21 5 onComplete Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
0 21 6 continuation Lorg/jboss/resteasy/core/ServerResponseWriter$RunnableWithIOException;
1 21 7 responseFilters [Ljavax/ws/rs/container/ContainerResponseFilter;
7 14 8 requestContext Lorg/jboss/resteasy/core/interception/jaxrs/ResponseContainerRequestContext;
10 14 9 responseContext Lorg/jboss/resteasy/core/interception/jaxrs/ContainerResponseContextImpl;
11 14 10 logger Lorg/jboss/resteasy/tracing/RESTEasyTracingLogger;
12 14 11 timestamp J
18 20 8 t Ljava/lang/Throwable;
Exception table:
from to target type
15 16 17 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
Signature: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;Ljava/util/function/Consumer<Ljava/lang/Throwable;>;Lorg/jboss/resteasy/core/ServerResponseWriter$RunnableWithIOException;)V
MethodParameters:
Name Flags
jaxrsResponse
request
response
providerFactory
method
onComplete
continuation
protected static void setDefaultContentType(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, org.jboss.resteasy.core.ResourceMethodInvoker);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic org.jboss.resteasy.core.ServerResponseWriter.getDefaultContentType:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)Ljavax/ws/rs/core/MediaType;
astore 4
start local 4 1: aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "Content-Type"
aload 4
invokeinterface javax.ws.rs.core.MultivaluedMap.putSingle:(Ljava/lang/Object;Ljava/lang/Object;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 request Lorg/jboss/resteasy/spi/HttpRequest;
0 3 1 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 3 2 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 3 3 method Lorg/jboss/resteasy/core/ResourceMethodInvoker;
1 3 4 chosen Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
request
jaxrsResponse
providerFactory
method
protected static javax.ws.rs.core.MediaType getDefaultContentType(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, org.jboss.resteasy.core.ResourceMethodInvoker);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Lorg/jboss/resteasy/core/ResourceMethodInvoker;)Ljavax/ws/rs/core/MediaType;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=28, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "RESTEASY_CHOSEN_ACCEPT"
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "RESTEASY-SERVER-HAS-PRODUCES"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 2
iconst_1
goto 3
StackMap locals: javax.ws.rs.core.MediaType
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 5
start local 5 4: iload 5
aload 3
ifnull 5
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getProduces:()[Ljavax/ws/rs/core/MediaType;
ifnull 5
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getProduces:()[Ljavax/ws/rs/core/MediaType;
arraylength
ifle 5
iconst_1
goto 6
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int
StackMap stack: int
5: iconst_0
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int
StackMap stack: int int
6: ior
istore 5
7: iload 5
aload 3
ifnull 8
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
ldc Ljavax/ws/rs/Produces;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 8
iconst_1
goto 9
StackMap locals:
StackMap stack: int
8: iconst_0
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int
StackMap stack: int int
9: ior
istore 5
10: iload 5
ifeq 44
11: aload 4
invokestatic org.jboss.resteasy.core.ServerResponseWriter.isConcrete:(Ljavax/ws/rs/core/MediaType;)Z
ifne 95
12: aconst_null
astore 6
start local 6 13: aload 3
ifnull 24
14: aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getProduces:()[Ljavax/ws/rs/core/MediaType;
arraylength
ifle 17
15: aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getProduces:()[Ljavax/ws/rs/core/MediaType;
astore 6
16: goto 24
17: StackMap locals: javax.ws.rs.core.MediaType[]
StackMap stack:
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
ldc Ljavax/ws/rs/Produces;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.ws.rs.Produces
invokeinterface javax.ws.rs.Produces.value:()[Ljava/lang/String;
astore 7
start local 7 18: aload 7
arraylength
anewarray javax.ws.rs.core.MediaType
astore 6
19: iconst_0
istore 8
start local 8 20: goto 23
21: StackMap locals: java.lang.String[] int
StackMap stack:
aload 6
iload 8
aload 7
iload 8
aaload
invokestatic javax.ws.rs.core.MediaType.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/MediaType;
aastore
22: iinc 8 1
StackMap locals:
StackMap stack:
23: iload 8
aload 7
arraylength
if_icmplt 21
end local 8 end local 7 24: StackMap locals:
StackMap stack:
aload 6
ifnonnull 26
25: iconst_1
anewarray javax.ws.rs.core.MediaType
dup
iconst_0
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
aastore
astore 6
26: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getAcceptableMediaTypes:()Ljava/util/List;
astore 7
start local 7 27: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 28: iconst_0
istore 9
start local 9 29: iconst_0
istore 10
start local 10 30: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 41
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int javax.ws.rs.core.MediaType[] java.util.List java.util.List int int top java.util.Iterator
StackMap stack:
31: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 11
start local 11 32: aload 6
dup
astore 16
arraylength
istore 15
iconst_0
istore 14
goto 40
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int javax.ws.rs.core.MediaType[] java.util.List java.util.List int int javax.ws.rs.core.MediaType java.util.Iterator top int int javax.ws.rs.core.MediaType[]
StackMap stack:
33: aload 16
iload 14
aaload
astore 13
start local 13 34: aload 13
aconst_null
aload 11
aconst_null
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mostSpecific:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
astore 17
start local 17 35: aload 17
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.isWildcardSubtype:()Z
ifeq 38
36: iload 9
aload 17
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.isWildcardType:()Z
ior
istore 9
37: iload 10
aload 17
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getType:()Ljava/lang/String;
ldc "application"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ior
istore 10
38: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int javax.ws.rs.core.MediaType[] java.util.List java.util.List int int javax.ws.rs.core.MediaType java.util.Iterator javax.ws.rs.core.MediaType int int javax.ws.rs.core.MediaType[] org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType
StackMap stack:
aload 8
aload 17
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 17 end local 13 39: iinc 14 1
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int javax.ws.rs.core.MediaType[] java.util.List java.util.List int int javax.ws.rs.core.MediaType java.util.Iterator top int int javax.ws.rs.core.MediaType[]
StackMap stack:
40: iload 14
iload 15
if_icmplt 33
end local 11 41: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int javax.ws.rs.core.MediaType[] java.util.List java.util.List int int top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
42: aload 4
aload 8
iload 9
iload 10
invokestatic org.jboss.resteasy.core.ServerResponseWriter.chooseFromM:(Ljavax/ws/rs/core/MediaType;Ljava/util/List;ZZ)Ljavax/ws/rs/core/MediaType;
astore 4
end local 10 end local 9 end local 8 end local 7 end local 6 43: goto 95
44: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int
StackMap stack:
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
astore 4
45: aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getEntityClass:()Ljava/lang/Class;
astore 6
start local 6 46: aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getGenericType:()Ljava/lang/reflect/Type;
astore 7
start local 7 47: aload 7
ifnonnull 50
48: aload 3
ifnull 49
ldc Ljavax/ws/rs/core/Response;
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 49
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getGenericReturnType:()Ljava/lang/reflect/Type;
astore 7
goto 50
49: StackMap locals: java.lang.Class java.lang.reflect.Type
StackMap stack:
aload 6
astore 7
50: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getAnnotations:()[Ljava/lang/annotation/Annotation;
astore 8
start local 8 51: aload 8
ifnonnull 53
aload 3
ifnull 53
52: aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethodAnnotations:()[Ljava/lang/annotation/Annotation;
astore 8
53: StackMap locals: java.lang.annotation.Annotation[]
StackMap stack:
aload 0
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getAcceptableMediaTypes:()Ljava/util/List;
astore 9
start local 9 54: aload 9
invokeinterface java.util.List.isEmpty:()Z
ifeq 56
55: getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
astore 9
56: StackMap locals: java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 10
start local 10 57: iconst_0
istore 11
start local 11 58: iconst_0
istore 12
start local 12 59: iconst_0
istore 13
start local 13 60: aload 9
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 15
goto 82
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int top java.util.Iterator
StackMap stack:
61: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 14
start local 14 62: aload 2
aload 6
aload 7
aload 8
aload 14
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getPossibleMessageBodyWritersMap:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)Ljava/util/Map;
astore 16
start local 16 63: aload 16
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 18
goto 81
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int javax.ws.rs.core.MediaType java.util.Iterator java.util.Map top java.util.Iterator
StackMap stack:
64: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 17
start local 17 65: aload 17
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast javax.ws.rs.ext.MessageBodyWriter
astore 19
start local 19 66: aload 17
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Class
astore 20
start local 20 67: aload 19
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljavax/ws/rs/Produces;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast javax.ws.rs.Produces
astore 21
start local 21 68: aload 21
ifnonnull 69
getstatic org.jboss.resteasy.core.ServerResponseWriter.WILDCARD_PRODUCES:Ljavax/ws/rs/Produces;
astore 21
69: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int javax.ws.rs.core.MediaType java.util.Iterator java.util.Map java.util.Map$Entry java.util.Iterator javax.ws.rs.ext.MessageBodyWriter java.lang.Class javax.ws.rs.Produces
StackMap stack:
aload 21
invokeinterface javax.ws.rs.Produces.value:()[Ljava/lang/String;
dup
astore 25
arraylength
istore 24
iconst_0
istore 23
goto 80
StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int javax.ws.rs.core.MediaType java.util.Iterator java.util.Map java.util.Map$Entry java.util.Iterator javax.ws.rs.ext.MessageBodyWriter java.lang.Class javax.ws.rs.Produces top int int java.lang.String[]
StackMap stack:
70: aload 25
iload 23
aaload
astore 22
start local 22 71: iconst_1
istore 13
72: aload 22
invokestatic javax.ws.rs.core.MediaType.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/MediaType;
astore 26
start local 26 73: aload 26
aload 14
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 79
74: aload 26
aload 20
aload 14
aconst_null
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mostSpecific:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
astore 27
start local 27 75: aload 27
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.isWildcardSubtype:()Z
ifeq 78
76: iload 11
aload 27
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.isWildcardType:()Z
ior
istore 11
77: iload 12
aload 27
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getType:()Ljava/lang/String;
ldc "application"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ior
istore 12
78: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int javax.ws.rs.core.MediaType java.util.Iterator java.util.Map java.util.Map$Entry java.util.Iterator javax.ws.rs.ext.MessageBodyWriter java.lang.Class javax.ws.rs.Produces java.lang.String int int java.lang.String[] javax.ws.rs.core.MediaType org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType
StackMap stack:
aload 10
aload 27
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 27 end local 26 end local 22 79: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int javax.ws.rs.core.MediaType java.util.Iterator java.util.Map java.util.Map$Entry java.util.Iterator javax.ws.rs.ext.MessageBodyWriter java.lang.Class javax.ws.rs.Produces top int int java.lang.String[]
StackMap stack:
iinc 23 1
StackMap locals:
StackMap stack:
80: iload 23
iload 24
if_icmplt 70
end local 21 end local 20 end local 19 end local 17 81: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int javax.ws.rs.core.MediaType java.util.Iterator java.util.Map top java.util.Iterator
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 64
end local 16 end local 14 82: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 61
83: iload 13
ifne 94
84: aload 9
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 15
goto 93
StackMap locals:
StackMap stack:
85: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 14
start local 14 86: getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
astore 16
start local 16 87: aload 16
aload 14
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 93
88: aload 16
aconst_null
aload 14
aconst_null
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mostSpecific:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
astore 17
start local 17 89: aload 17
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.isWildcardSubtype:()Z
ifeq 92
90: iload 11
aload 17
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.isWildcardType:()Z
ior
istore 11
91: iload 12
aload 17
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getType:()Ljava/lang/String;
ldc "application"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ior
istore 12
92: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int javax.ws.rs.core.MediaType java.util.Iterator javax.ws.rs.core.MediaType org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType
StackMap stack:
aload 10
aload 17
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 17 end local 16 end local 14 93: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 85
94: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.util.List java.util.List int int int
StackMap stack:
aload 4
aload 10
iload 11
iload 12
invokestatic org.jboss.resteasy.core.ServerResponseWriter.chooseFromM:(Ljavax/ws/rs/core/MediaType;Ljava/util/List;ZZ)Ljavax/ws/rs/core/MediaType;
astore 4
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 95: StackMap locals: org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.ResteasyProviderFactory org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int
StackMap stack:
aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "RESTEASY-SERVER-HAS-PRODUCES"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 100
96: new java.util.HashMap
dup
aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 6
start local 6 97: aload 6
ldc "RESTEASY-SERVER-HAS-PRODUCES"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
98: aload 6
getstatic org.jboss.resteasy.core.registry.SegmentNode.RESTEASY_SERVER_HAS_PRODUCES_LC:Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
99: new javax.ws.rs.core.MediaType
dup
aload 4
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
aload 4
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
aload 6
invokespecial javax.ws.rs.core.MediaType.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
astore 4
end local 6 100: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "q"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
istore 6
start local 6 101: aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "qs"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
istore 7
start local 7 102: iload 6
ifne 103
iload 7
ifeq 109
103: StackMap locals: int int
StackMap stack:
new java.util.HashMap
dup
aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 8
start local 8 104: iload 6
ifeq 106
105: aload 8
ldc "q"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
106: StackMap locals: java.util.Map
StackMap stack:
iload 7
ifeq 108
107: aload 8
ldc "qs"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
108: StackMap locals:
StackMap stack:
new javax.ws.rs.core.MediaType
dup
aload 4
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
aload 4
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
aload 8
invokespecial javax.ws.rs.core.MediaType.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
astore 4
end local 8 109: StackMap locals:
StackMap stack:
aload 4
areturn
end local 7 end local 6 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 110 0 request Lorg/jboss/resteasy/spi/HttpRequest;
0 110 1 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 110 2 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
0 110 3 method Lorg/jboss/resteasy/core/ResourceMethodInvoker;
1 110 4 chosen Ljavax/ws/rs/core/MediaType;
4 110 5 hasProduces Z
13 43 6 produces [Ljavax/ws/rs/core/MediaType;
18 24 7 producesValues [Ljava/lang/String;
20 24 8 i I
27 43 7 accepts Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;
28 43 8 M Ljava/util/List<Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;>;
29 43 9 hasStarStar Z
30 43 10 hasApplicationStar Z
32 41 11 accept Ljavax/ws/rs/core/MediaType;
34 39 13 produce Ljavax/ws/rs/core/MediaType;
35 39 17 ms Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
46 95 6 type Ljava/lang/Class;
47 95 7 generic Ljava/lang/reflect/Type;
51 95 8 annotations [Ljava/lang/annotation/Annotation;
54 95 9 accepts Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;
57 95 10 M Ljava/util/List<Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;>;
58 95 11 hasStarStar Z
59 95 12 hasApplicationStar Z
60 95 13 pFound Z
62 82 14 accept Ljavax/ws/rs/core/MediaType;
63 82 16 mbws Ljava/util/Map<Ljavax/ws/rs/ext/MessageBodyWriter<*>;Ljava/lang/Class<*>;>;
65 81 17 e Ljava/util/Map$Entry<Ljavax/ws/rs/ext/MessageBodyWriter<*>;Ljava/lang/Class<*>;>;
66 81 19 mbw Ljavax/ws/rs/ext/MessageBodyWriter<*>;
67 81 20 wt Ljava/lang/Class<*>;
68 81 21 produces Ljavax/ws/rs/Produces;
71 79 22 produceValue Ljava/lang/String;
73 79 26 produce Ljavax/ws/rs/core/MediaType;
75 79 27 ms Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
86 93 14 accept Ljavax/ws/rs/core/MediaType;
87 93 16 produce Ljavax/ws/rs/core/MediaType;
89 93 17 ms Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
97 100 6 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
101 110 6 hasQ Z
102 110 7 hasQs Z
104 109 8 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
request
jaxrsResponse
providerFactory
method
private static javax.ws.rs.core.MediaType chooseFromM(javax.ws.rs.core.MediaType, java.util.List<org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType>, boolean, boolean);
descriptor: (Ljavax/ws/rs/core/MediaType;Ljava/util/List;ZZ)Ljavax/ws/rs/core/MediaType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: new javax.ws.rs.NotAcceptableException
dup
invokespecial javax.ws.rs.NotAcceptableException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: javax.ws.rs.core.MediaType java.util.List int int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType
astore 4
start local 4 5: aload 4
invokestatic org.jboss.resteasy.core.ServerResponseWriter.isConcrete:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 8
6: aload 4
astore 0
7: goto 9
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: StackMap locals: javax.ws.rs.core.MediaType java.util.List int int
StackMap stack:
aload 0
invokestatic org.jboss.resteasy.core.ServerResponseWriter.isConcrete:(Ljavax/ws/rs/core/MediaType;)Z
ifne 14
10: iload 2
ifne 11
iload 3
ifeq 13
11: StackMap locals:
StackMap stack:
getstatic javax.ws.rs.core.MediaType.APPLICATION_OCTET_STREAM_TYPE:Ljavax/ws/rs/core/MediaType;
astore 0
12: goto 14
13: StackMap locals:
StackMap stack:
new javax.ws.rs.NotAcceptableException
dup
invokespecial javax.ws.rs.NotAcceptableException.<init>:()V
athrow
14: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 currentChoice Ljavax/ws/rs/core/MediaType;
0 15 1 M Ljava/util/List<Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;>;
0 15 2 hasStarStar Z
0 15 3 hasApplicationStar Z
5 8 4 m Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
Signature: (Ljavax/ws/rs/core/MediaType;Ljava/util/List<Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;>;ZZ)Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
currentChoice
M
hasStarStar
hasApplicationStar
private static boolean isConcrete(javax.ws.rs.core.MediaType);
descriptor: (Ljavax/ws/rs/core/MediaType;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual javax.ws.rs.core.MediaType.isWildcardType:()Z
ifne 1
aload 0
invokevirtual javax.ws.rs.core.MediaType.isWildcardSubtype:()Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 m Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
m
public static javax.ws.rs.core.MediaType resolveContentType(org.jboss.resteasy.specimpl.BuiltResponse);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;)Ljavax/ws/rs/core/MediaType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "Content-Type"
invokeinterface javax.ws.rs.core.MultivaluedMap.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
areturn
4: StackMap locals: javax.ws.rs.core.MediaType java.lang.Object
StackMap stack:
aload 2
instanceof javax.ws.rs.core.MediaType
ifeq 7
5: aload 2
checkcast javax.ws.rs.core.MediaType
astore 1
6: goto 8
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic javax.ws.rs.core.MediaType.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/MediaType;
astore 1
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 response Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 9 1 responseContentType Ljavax/ws/rs/core/MediaType;
2 9 2 type Ljava/lang/Object;
MethodParameters:
Name Flags
response
public static void (org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpResponse);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpResponse;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
ifnull 17
1: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
2: ldc "Set-Cookie"
3: invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 4: aload 2
ifnull 17
5: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 6: goto 15
7: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 8: aload 4
instanceof javax.ws.rs.core.NewCookie
ifeq 13
9: aload 4
checkcast javax.ws.rs.core.NewCookie
astore 5
start local 5 10: aload 1
aload 5
invokeinterface org.jboss.resteasy.spi.HttpResponse.addNewCookie:(Ljavax/ws/rs/core/NewCookie;)V
11: aload 3
invokeinterface java.util.Iterator.remove:()V
end local 5 12: goto 15
13: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokeinterface org.jboss.resteasy.spi.HttpResponse.getOutputHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "Set-Cookie"
aload 4
invokeinterface javax.ws.rs.core.MultivaluedMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
14: aload 3
invokeinterface java.util.Iterator.remove:()V
end local 4 15: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
16: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "Set-Cookie"
invokeinterface javax.ws.rs.core.MultivaluedMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
ifnull 20
18: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
invokeinterface javax.ws.rs.core.MultivaluedMap.size:()I
ifle 20
19: aload 1
invokeinterface org.jboss.resteasy.spi.HttpResponse.getOutputHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
invokeinterface javax.ws.rs.core.MultivaluedMap.putAll:(Ljava/util/Map;)V
20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 21 1 response Lorg/jboss/resteasy/spi/HttpResponse;
4 17 2 cookies Ljava/util/List<Ljava/lang/Object;>;
6 17 3 it Ljava/util/Iterator<Ljava/lang/Object;>;
8 15 4 next Ljava/lang/Object;
10 12 5 cookie Ljavax/ws/rs/core/NewCookie;
MethodParameters:
Name Flags
jaxrsResponse
response
private static org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType selectMostSpecific(org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType, org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType);
descriptor: (Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getType:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
1: aload 1
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getType:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: aload 0
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getSubtype:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 0
areturn
5: StackMap locals:
StackMap stack:
aload 1
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getType:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.getSubtype:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 1
areturn
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 m1 Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
0 11 1 m2 Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
MethodParameters:
Name Flags
m1
m2
private static org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType mostSpecific(javax.ws.rs.core.MediaType, java.lang.Class<?>, javax.ws.rs.core.MediaType, java.lang.Class<?>);
descriptor: (Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
1: aload 2
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: aload 0
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
aload 3
aload 0
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mixAddingQS:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mixAddingQ:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
areturn
5: StackMap locals:
StackMap stack:
aload 2
aload 3
aload 0
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mixAddingQS:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
areturn
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
aload 1
aload 2
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mixAddingQ:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 2
aload 3
aload 0
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mixAddingQS:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
areturn
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.jboss.resteasy.core.ServerResponseWriter.mixAddingQ:(Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 p Ljavax/ws/rs/core/MediaType;
0 11 1 wtp Ljava/lang/Class<*>;
0 11 2 a Ljavax/ws/rs/core/MediaType;
0 11 3 wta Ljava/lang/Class<*>;
Signature: (Ljavax/ws/rs/core/MediaType;Ljava/lang/Class<*>;Ljavax/ws/rs/core/MediaType;Ljava/lang/Class<*>;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
MethodParameters:
Name Flags
p
wtp
a
wta
private static org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType mixAddingQ(javax.ws.rs.core.MediaType, java.lang.Class<?>, javax.ws.rs.core.MediaType);
descriptor: (Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
astore 3
start local 3 1: aload 2
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "q"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 2: aload 4
ifnull 5
3: new java.util.HashMap
dup
aload 3
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
4: aload 3
ldc "q"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.Map java.lang.String
StackMap stack:
new org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType
dup
aload 0
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
aload 0
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
aload 3
aload 1
invokespecial org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/Class;)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 p Ljavax/ws/rs/core/MediaType;
0 6 1 wtp Ljava/lang/Class<*>;
0 6 2 a Ljavax/ws/rs/core/MediaType;
1 6 3 pars Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 6 4 q Ljava/lang/String;
Signature: (Ljavax/ws/rs/core/MediaType;Ljava/lang/Class<*>;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
MethodParameters:
Name Flags
p
wtp
a
private static org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType mixAddingQS(javax.ws.rs.core.MediaType, java.lang.Class<?>, javax.ws.rs.core.MediaType);
descriptor: (Ljavax/ws/rs/core/MediaType;Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
astore 3
start local 3 1: aload 2
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "qs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 2: aload 4
ifnull 5
3: new java.util.HashMap
dup
aload 3
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
4: aload 3
ldc "qs"
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.Map java.lang.String
StackMap stack:
new org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType
dup
aload 0
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
aload 0
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
aload 3
aload 1
invokespecial org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/Class;)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 a Ljavax/ws/rs/core/MediaType;
0 6 1 wta Ljava/lang/Class<*>;
0 6 2 p Ljavax/ws/rs/core/MediaType;
1 6 3 pars Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 6 4 qs Ljava/lang/String;
Signature: (Ljavax/ws/rs/core/MediaType;Ljava/lang/Class<*>;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/ServerResponseWriter$SortableMediaType;
MethodParameters:
Name Flags
a
wta
p
private static void lambda$0(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t Ljava/lang/Throwable;
private static void lambda$1(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t Ljava/lang/Throwable;
private static void lambda$2(org.jboss.resteasy.specimpl.BuiltResponse, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.spi.ResteasyProviderFactory, boolean, org.jboss.resteasy.core.ResourceMethodInvoker, org.jboss.resteasy.spi.HttpRequest, java.util.function.Consumer);
descriptor: (Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;ZLorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/HttpRequest;Ljava/util/function/Consumer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=13, locals=23, args_size=7
start local 6 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.isClosed:()Z
ifeq 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getEntity:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: astore 7
start local 7 3: aload 7
ifnull 4
aload 1
invokeinterface org.jboss.resteasy.spi.HttpResponse.getOutputStream:()Ljava/io/OutputStream;
ifnonnull 8
4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getStatus:()I
invokeinterface org.jboss.resteasy.spi.HttpResponse.setStatus:(I)V
5: aload 0
aload 1
invokestatic org.jboss.resteasy.core.ServerResponseWriter.commitHeaders:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpResponse;)V
6: aload 6
aconst_null
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
7: return
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getEntityClass:()Ljava/lang/Class;
astore 8
start local 8 9: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getGenericType:()Ljava/lang/reflect/Type;
astore 9
start local 9 10: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getAnnotations:()[Ljava/lang/annotation/Annotation;
astore 10
start local 10 11: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMediaType:()Ljavax/ws/rs/core/MediaType;
astore 11
start local 11 12: aload 2
13: aload 8
aload 9
aload 10
aload 11
14: invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getMessageBodyWriter:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)Ljavax/ws/rs/ext/MessageBodyWriter;
astore 12
start local 12 15: aload 12
ifnull 17
16: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
ldc "MessageBodyWriter: %s"
aload 12
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
17: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.HttpResponse org.jboss.resteasy.spi.ResteasyProviderFactory int org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest java.util.function.Consumer java.lang.Object java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] javax.ws.rs.core.MediaType javax.ws.rs.ext.MessageBodyWriter
StackMap stack:
aload 12
ifnonnull 21
18: aload 1
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getStatus:()I
invokeinterface org.jboss.resteasy.spi.HttpResponse.setStatus:(I)V
19: aload 6
new org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure
dup
aload 8
aload 11
invokespecial org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure.<init>:(Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)V
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
20: return
21: StackMap locals:
StackMap stack:
iload 3
ifeq 23
22: aload 1
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getStatus:()I
invokeinterface org.jboss.resteasy.spi.HttpResponse.setStatus:(I)V
23: StackMap locals:
StackMap stack:
aload 0
astore 13
start local 13 24: new org.jboss.resteasy.core.ServerResponseWriter$2
dup
aload 13
aload 1
invokespecial org.jboss.resteasy.core.ServerResponseWriter$2.<init>:(Lorg/jboss/resteasy/specimpl/BuiltResponse;Lorg/jboss/resteasy/spi/HttpResponse;)V
astore 14
start local 14 25: iload 3
ifeq 26
aload 1
invokeinterface org.jboss.resteasy.spi.HttpResponse.getOutputStream:()Ljava/io/OutputStream;
aload 14
invokestatic org.jboss.resteasy.core.ServerResponseWriter.makeCommitOutputStream:(Ljava/io/OutputStream;Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;)Ljava/io/OutputStream;
goto 27
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.util.CommitHeaderOutputStream$CommitCallback
StackMap stack:
26: aload 1
invokeinterface org.jboss.resteasy.spi.HttpResponse.getOutputStream:()Ljava/io/OutputStream;
StackMap locals:
StackMap stack: java.io.OutputStream
27: astore 15
start local 15 28: aconst_null
astore 16
start local 16 29: aload 4
ifnull 32
30: aload 4
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getWriterInterceptors:()[Ljavax/ws/rs/ext/WriterInterceptor;
astore 16
31: goto 34
32: StackMap locals: java.io.OutputStream javax.ws.rs.ext.WriterInterceptor[]
StackMap stack:
aload 2
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerWriterInterceptorRegistry:()Lorg/jboss/resteasy/spi/interception/JaxrsInterceptorRegistry;
ifnull 34
33: aload 2
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerWriterInterceptorRegistry:()Lorg/jboss/resteasy/spi/interception/JaxrsInterceptorRegistry;
aconst_null
aconst_null
invokeinterface org.jboss.resteasy.spi.interception.JaxrsInterceptorRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.ext.WriterInterceptor[]
astore 16
34: StackMap locals:
StackMap stack:
aload 5
invokestatic org.jboss.resteasy.tracing.RESTEasyTracingLogger.getInstance:(Lorg/jboss/resteasy/spi/HttpRequest;)Lorg/jboss/resteasy/tracing/RESTEasyTracingLogger;
astore 17
start local 17 35: aload 17
ldc "WI_SUMMARY"
invokeinterface org.jboss.resteasy.tracing.RESTEasyTracingLogger.timestamp:(Ljava/lang/String;)J
lstore 18
start local 18 36: new org.jboss.resteasy.core.interception.jaxrs.ServerWriterInterceptorContext
dup
aload 16
37: aload 2
aload 7
aload 8
aload 9
aload 10
aload 11
38: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
aload 15
aload 5
aload 6
39: invokespecial org.jboss.resteasy.core.interception.jaxrs.ServerWriterInterceptorContext.<init>:([Ljavax/ws/rs/ext/WriterInterceptor;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;Lorg/jboss/resteasy/spi/HttpRequest;Ljava/util/function/Consumer;)V
astore 20
start local 20 40: aload 20
invokevirtual org.jboss.resteasy.core.interception.jaxrs.AbstractWriterInterceptorContext.getStarted:()Ljava/util/concurrent/CompletionStage;
aload 17
lload 18
aload 20
iload 3
aload 1
aload 14
invokedynamic accept(Lorg/jboss/resteasy/tracing/RESTEasyTracingLogger;JLorg/jboss/resteasy/core/interception/jaxrs/AbstractWriterInterceptorContext;ZLorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/jboss/resteasy/core/ServerResponseWriter.lambda$3(Lorg/jboss/resteasy/tracing/RESTEasyTracingLogger;JLorg/jboss/resteasy/core/interception/jaxrs/AbstractWriterInterceptorContext;ZLorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;Ljava/lang/Void;Ljava/lang/Throwable;)V (6)
(Ljava/lang/Void;Ljava/lang/Throwable;)V
invokeinterface java.util.concurrent.CompletionStage.whenComplete:(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
astore 21
start local 21 41: aload 21
invokeinterface java.util.concurrent.CompletionStage.toCompletableFuture:()Ljava/util/concurrent/CompletableFuture;
aconst_null
invokevirtual java.util.concurrent.CompletableFuture.getNow:(Ljava/lang/Object;)Ljava/lang/Object;
pop
42: goto 45
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.HttpResponse org.jboss.resteasy.spi.ResteasyProviderFactory int org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest java.util.function.Consumer java.lang.Object java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] javax.ws.rs.core.MediaType javax.ws.rs.ext.MessageBodyWriter org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.util.CommitHeaderOutputStream$CommitCallback java.io.OutputStream javax.ws.rs.ext.WriterInterceptor[] org.jboss.resteasy.tracing.RESTEasyTracingLogger long org.jboss.resteasy.core.interception.jaxrs.AbstractWriterInterceptorContext java.util.concurrent.CompletionStage
StackMap stack: java.util.concurrent.CompletionException
43: astore 22
start local 22 44: aload 22
invokevirtual java.util.concurrent.CompletionException.getCause:()Ljava/lang/Throwable;
invokestatic org.jboss.resteasy.core.SynchronousDispatcher.rethrow:(Ljava/lang/Throwable;)V
end local 22 end local 21 end local 20 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 45: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.spi.HttpResponse org.jboss.resteasy.spi.ResteasyProviderFactory int org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest java.util.function.Consumer
StackMap stack:
return
end local 6 LocalVariableTable:
Start End Slot Name Signature
0 46 6 onWriteComplete Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
3 45 7 entity Ljava/lang/Object;
9 45 8 type Ljava/lang/Class;
10 45 9 generic Ljava/lang/reflect/Type;
11 45 10 annotations [Ljava/lang/annotation/Annotation;
12 45 11 mt Ljavax/ws/rs/core/MediaType;
15 45 12 writer Ljavax/ws/rs/ext/MessageBodyWriter;
24 45 13 built Lorg/jboss/resteasy/specimpl/BuiltResponse;
25 45 14 callback Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;
28 45 15 os Ljava/io/OutputStream;
29 45 16 writerInterceptors [Ljavax/ws/rs/ext/WriterInterceptor;
35 45 17 tracingLogger Lorg/jboss/resteasy/tracing/RESTEasyTracingLogger;
36 45 18 timestamp J
40 45 20 writerContext Lorg/jboss/resteasy/core/interception/jaxrs/AbstractWriterInterceptorContext;
41 45 21 writerAction Ljava/util/concurrent/CompletionStage<Ljava/lang/Void;>;
44 45 22 x Ljava/util/concurrent/CompletionException;
Exception table:
from to target type
41 42 43 Class java.util.concurrent.CompletionException
Exceptions:
throws java.io.IOException
private static void (org.jboss.resteasy.tracing.RESTEasyTracingLogger, long, org.jboss.resteasy.core.interception.jaxrs.AbstractWriterInterceptorContext, boolean, org.jboss.resteasy.spi.HttpResponse, org.jboss.resteasy.util.CommitHeaderOutputStream$CommitCallback, java.lang.Void, java.lang.Throwable);
descriptor: (Lorg/jboss/resteasy/tracing/RESTEasyTracingLogger;JLorg/jboss/resteasy/core/interception/jaxrs/AbstractWriterInterceptorContext;ZLorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/util/CommitHeaderOutputStream$CommitCallback;Ljava/lang/Void;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=8, locals=9, args_size=8
start local 7 start local 8 0: aload 0
ldc "WI_SUMMARY"
lload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual org.jboss.resteasy.core.interception.jaxrs.AbstractWriterInterceptorContext.getProcessedInterceptorCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface org.jboss.resteasy.tracing.RESTEasyTracingLogger.logDuration:(Ljava/lang/String;J[Ljava/lang/Object;)V
1: aload 8
ifnonnull 4
iload 4
ifeq 4
2: aload 5
aload 3
invokevirtual org.jboss.resteasy.core.interception.jaxrs.AbstractWriterInterceptorContext.getOutputStream:()Ljava/io/OutputStream;
invokeinterface org.jboss.resteasy.spi.HttpResponse.setOutputStream:(Ljava/io/OutputStream;)V
3: aload 6
invokeinterface org.jboss.resteasy.util.CommitHeaderOutputStream$CommitCallback.commit:()V
4: StackMap locals:
StackMap stack:
return
end local 8 end local 7 LocalVariableTable:
Start End Slot Name Signature
0 5 7 v Ljava/lang/Void;
0 5 8 t Ljava/lang/Throwable;
}
SourceFile: "ServerResponseWriter.java"
NestMembers:
org.jboss.resteasy.core.ServerResponseWriter$1 org.jboss.resteasy.core.ServerResponseWriter$2 org.jboss.resteasy.core.ServerResponseWriter$3 org.jboss.resteasy.core.ServerResponseWriter$RunnableWithIOException org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
org.jboss.resteasy.core.ServerResponseWriter$1
org.jboss.resteasy.core.ServerResponseWriter$2
public abstract RunnableWithIOException = org.jboss.resteasy.core.ServerResponseWriter$RunnableWithIOException of org.jboss.resteasy.core.ServerResponseWriter
private SortableMediaType = org.jboss.resteasy.core.ServerResponseWriter$SortableMediaType of org.jboss.resteasy.core.ServerResponseWriter
public abstract CommitCallback = org.jboss.resteasy.util.CommitHeaderOutputStream$CommitCallback of org.jboss.resteasy.util.CommitHeaderOutputStream