public class org.jboss.resteasy.util.NoContent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.util.NoContent
super_class: java.lang.Object
{
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/util/NoContent;
public static java.io.InputStream noContentCheck(javax.ws.rs.core.MultivaluedMap, java.io.InputStream);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/InputStream;)Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.jboss.resteasy.util.NoContent.contentLengthCheck:(Ljavax/ws/rs/core/MultivaluedMap;)V
1: new org.jboss.resteasy.util.NoContentInputStreamDelegate
dup
aload 1
invokespecial org.jboss.resteasy.util.NoContentInputStreamDelegate.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 httpHeaders Ljavax/ws/rs/core/MultivaluedMap;
0 3 1 is Ljava/io/InputStream;
2 3 2 delegate Lorg/jboss/resteasy/util/NoContentInputStreamDelegate;
Exceptions:
throws javax.ws.rs.core.NoContentException
MethodParameters:
Name Flags
httpHeaders
is
public static boolean isContentLengthZero(javax.ws.rs.core.MultivaluedMap);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
ldc "Content-Length"
invokeinterface javax.ws.rs.core.MultivaluedMap.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 1
ifnull 5
3: aload 1
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 2
start local 2 4: lload 2
lconst_0
lcmp
ifne 5
iconst_1
ireturn
end local 2 5: StackMap locals: java.lang.String
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 httpHeaders Ljavax/ws/rs/core/MultivaluedMap;
2 6 1 contentLength Ljava/lang/String;
4 5 2 length J
MethodParameters:
Name Flags
httpHeaders
public static void contentLengthCheck(javax.ws.rs.core.MultivaluedMap);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jboss.resteasy.util.NoContent.isContentLengthZero:(Ljavax/ws/rs/core/MultivaluedMap;)Z
ifeq 1
new javax.ws.rs.core.NoContentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.noContentContentLength0:()Ljava/lang/String;
invokespecial javax.ws.rs.core.NoContentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 httpHeaders Ljavax/ws/rs/core/MultivaluedMap;
Exceptions:
throws javax.ws.rs.core.NoContentException
MethodParameters:
Name Flags
httpHeaders
}
SourceFile: "NoContent.java"