public class org.jboss.resteasy.specimpl.RequestImpl implements javax.ws.rs.core.Request
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.specimpl.RequestImpl
super_class: java.lang.Object
{
private javax.ws.rs.core.HttpHeaders ;
descriptor: Ljavax/ws/rs/core/HttpHeaders;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String httpMethod;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.jboss.resteasy.spi.HttpRequest request;
descriptor: Lorg/jboss/resteasy/spi/HttpRequest;
flags: (0x0002) ACC_PRIVATE
private org.jboss.resteasy.spi.HttpResponse response;
descriptor: Lorg/jboss/resteasy/spi/HttpResponse;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
putfield org.jboss.resteasy.specimpl.RequestImpl.headers:Ljavax/ws/rs/core/HttpHeaders;
2: aload 0
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpMethod:()Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
putfield org.jboss.resteasy.specimpl.RequestImpl.httpMethod:Ljava/lang/String;
3: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.RequestImpl.request:Lorg/jboss/resteasy/spi/HttpRequest;
4: aload 0
aload 2
putfield org.jboss.resteasy.specimpl.RequestImpl.response:Lorg/jboss/resteasy/spi/HttpResponse;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 6 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 6 2 response Lorg/jboss/resteasy/spi/HttpResponse;
MethodParameters:
Name Flags
request
response
public java.lang.String getMethod();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.httpMethod:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
private boolean isRfc7232preconditions();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc Lorg/jboss/resteasy/spi/ResteasyConfiguration;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getContextData:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.jboss.resteasy.spi.ResteasyConfiguration
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
ldc "resteasy.rfc7232preconditions"
invokeinterface org.jboss.resteasy.spi.ResteasyConfiguration.getParameter:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifeq 2
iconst_1
ireturn
StackMap locals: org.jboss.resteasy.spi.ResteasyConfiguration
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
1 3 1 context Lorg/jboss/resteasy/spi/ResteasyConfiguration;
public javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> getFormParameters();
descriptor: ()Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.request:Lorg/jboss/resteasy/spi/HttpRequest;
invokeinterface org.jboss.resteasy.spi.HttpRequest.getDecodedFormParameters:()Ljavax/ws/rs/core/MultivaluedMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
Signature: ()Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
public javax.ws.rs.core.Variant selectVariant(java.util.List<javax.ws.rs.core.Variant>);
descriptor: (Ljava/util/List;)Ljavax/ws/rs/core/Variant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.List.size:()I
ifne 2
StackMap locals:
StackMap stack:
1: new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.variantListMustNotBeZero:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.jboss.resteasy.core.request.ServerDrivenNegotiation
dup
invokespecial org.jboss.resteasy.core.request.ServerDrivenNegotiation.<init>:()V
astore 2
start local 2 3: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.headers:Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getRequestHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
astore 3
start local 3 4: aload 2
aload 3
ldc "Accept"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.jboss.resteasy.core.request.ServerDrivenNegotiation.setAcceptHeaders:(Ljava/util/List;)V
5: aload 2
aload 3
ldc "Accept-Charset"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.jboss.resteasy.core.request.ServerDrivenNegotiation.setAcceptCharsetHeaders:(Ljava/util/List;)V
6: aload 2
aload 3
ldc "Accept-Encoding"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.jboss.resteasy.core.request.ServerDrivenNegotiation.setAcceptEncodingHeaders:(Ljava/util/List;)V
7: aload 2
aload 3
ldc "Accept-Language"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.jboss.resteasy.core.request.ServerDrivenNegotiation.setAcceptLanguageHeaders:(Ljava/util/List;)V
8: aload 0
aload 1
invokestatic org.jboss.resteasy.specimpl.ResponseBuilderImpl.createVaryHeader:(Ljava/util/List;)Ljava/lang/String;
putfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
9: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.response:Lorg/jboss/resteasy/spi/HttpResponse;
invokeinterface org.jboss.resteasy.spi.HttpResponse.getOutputHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "Vary"
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
invokeinterface javax.ws.rs.core.MultivaluedMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
10: aload 2
aload 1
invokevirtual org.jboss.resteasy.core.request.ServerDrivenNegotiation.getBestMatch:(Ljava/util/List;)Ljavax/ws/rs/core/Variant;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 11 1 variants Ljava/util/List<Ljavax/ws/rs/core/Variant;>;
3 11 2 negotiation Lorg/jboss/resteasy/core/request/ServerDrivenNegotiation;
4 11 3 requestHeaders Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/util/List<Ljavax/ws/rs/core/Variant;>;)Ljavax/ws/rs/core/Variant;
MethodParameters:
Name Flags
variants
public java.util.List<javax.ws.rs.core.EntityTag> convertEtag(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 3
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 4: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 8
StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List java.util.ArrayList java.lang.String java.util.Iterator java.lang.String[] top int int java.lang.String[]
StackMap stack:
5: aload 9
iload 7
aaload
astore 6
start local 6 6: aload 2
aload 6
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic javax.ws.rs.core.EntityTag.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/EntityTag;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 6 7: iinc 7 1
StackMap locals:
StackMap stack:
8: iload 7
iload 8
if_icmplt 5
end local 5 end local 3 9: StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List java.util.ArrayList top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 11 1 tags Ljava/util/List<Ljava/lang/String;>;
1 11 2 result Ljava/util/ArrayList<Ljavax/ws/rs/core/EntityTag;>;
3 9 3 tag Ljava/lang/String;
4 9 5 split [Ljava/lang/String;
6 7 6 etag Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljavax/ws/rs/core/EntityTag;>;
MethodParameters:
Name Flags
tags
public javax.ws.rs.core.Response$ResponseBuilder ifMatch(java.util.List<javax.ws.rs.core.EntityTag>, javax.ws.rs.core.EntityTag);
descriptor: (Ljava/util/List;Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.EntityTag
astore 4
start local 4 3: aload 4
aload 2
invokevirtual javax.ws.rs.core.EntityTag.equals:(Ljava/lang/Object;)Z
ifne 4
aload 4
invokevirtual javax.ws.rs.core.EntityTag.getValue:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int javax.ws.rs.core.EntityTag java.util.Iterator
StackMap stack:
iconst_1
istore 3
5: goto 7
end local 4 6: StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int
StackMap stack:
iload 3
ifeq 8
aconst_null
areturn
8: StackMap locals:
StackMap stack:
sipush 412
invokestatic javax.ws.rs.core.Response.status:(I)Ljavax/ws/rs/core/Response$ResponseBuilder;
aload 2
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.tag:(Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 9 1 ifMatch Ljava/util/List<Ljavax/ws/rs/core/EntityTag;>;
0 9 2 eTag Ljavax/ws/rs/core/EntityTag;
1 9 3 match Z
3 6 4 tag Ljavax/ws/rs/core/EntityTag;
Signature: (Ljava/util/List<Ljavax/ws/rs/core/EntityTag;>;Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
MethodParameters:
Name Flags
ifMatch
eTag
public javax.ws.rs.core.Response$ResponseBuilder ifNoneMatch(java.util.List<javax.ws.rs.core.EntityTag>, javax.ws.rs.core.EntityTag);
descriptor: (Ljava/util/List;Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.EntityTag
astore 4
start local 4 3: aload 4
aload 2
invokevirtual javax.ws.rs.core.EntityTag.equals:(Ljava/lang/Object;)Z
ifne 4
aload 4
invokevirtual javax.ws.rs.core.EntityTag.getValue:()Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int javax.ws.rs.core.EntityTag java.util.Iterator
StackMap stack:
iconst_1
istore 3
5: goto 7
end local 4 6: StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: org.jboss.resteasy.specimpl.RequestImpl java.util.List javax.ws.rs.core.EntityTag int
StackMap stack:
iload 3
ifeq 11
8: ldc "GET"
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.httpMethod:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
ldc "HEAD"
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.httpMethod:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.ws.rs.core.Response.notModified:(Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
areturn
10: StackMap locals:
StackMap stack:
sipush 412
invokestatic javax.ws.rs.core.Response.status:(I)Ljavax/ws/rs/core/Response$ResponseBuilder;
aload 2
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.tag:(Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
areturn
11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 12 1 ifMatch Ljava/util/List<Ljavax/ws/rs/core/EntityTag;>;
0 12 2 eTag Ljavax/ws/rs/core/EntityTag;
1 12 3 match Z
3 6 4 tag Ljavax/ws/rs/core/EntityTag;
Signature: (Ljava/util/List<Ljavax/ws/rs/core/EntityTag;>;Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
MethodParameters:
Name Flags
ifMatch
eTag
public javax.ws.rs.core.Response$ResponseBuilder evaluatePreconditions(javax.ws.rs.core.EntityTag);
descriptor: (Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.eTagParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.headers:Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getRequestHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "If-Match"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 3: aload 3
ifnull 5
aload 3
invokeinterface java.util.List.size:()I
ifle 5
4: aload 0
aload 0
aload 3
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.convertEtag:(Ljava/util/List;)Ljava/util/List;
aload 1
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.ifMatch:(Ljava/util/List;Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 2
5: StackMap locals: javax.ws.rs.core.Response$ResponseBuilder java.util.List
StackMap stack:
aload 2
ifnonnull 9
6: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.headers:Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getRequestHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "If-None-Match"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 7: aload 4
ifnull 9
aload 4
invokeinterface java.util.List.size:()I
ifle 9
8: aload 0
aload 0
aload 4
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.convertEtag:(Ljava/util/List;)Ljava/util/List;
aload 1
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.ifNoneMatch:(Ljava/util/List;Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 2
end local 4 9: StackMap locals:
StackMap stack:
aload 2
ifnull 11
10: aload 2
aload 1
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.tag:(Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 2
ifnull 12
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
ifnull 12
aload 2
ldc "Vary"
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.header:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 13 1 eTag Ljavax/ws/rs/core/EntityTag;
2 13 2 builder Ljavax/ws/rs/core/Response$ResponseBuilder;
3 13 3 ifMatch Ljava/util/List<Ljava/lang/String;>;
7 9 4 ifNoneMatch Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
eTag
public javax.ws.rs.core.Response$ResponseBuilder ifModifiedSince(java.lang.String, java.util.Date);
descriptor: (Ljava/lang/String;Ljava/util/Date;)Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jboss.resteasy.util.DateUtil.parseDate:(Ljava/lang/String;)Ljava/util/Date;
astore 3
start local 3 1: aload 3
invokevirtual java.util.Date.getTime:()J
aload 2
invokevirtual java.util.Date.getTime:()J
lcmp
iflt 3
2: invokestatic javax.ws.rs.core.Response.notModified:()Ljavax/ws/rs/core/Response$ResponseBuilder;
areturn
3: StackMap locals: java.util.Date
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 4 1 strDate Ljava/lang/String;
0 4 2 lastModified Ljava/util/Date;
1 4 3 date Ljava/util/Date;
MethodParameters:
Name Flags
strDate
lastModified
public javax.ws.rs.core.Response$ResponseBuilder ifUnmodifiedSince(java.lang.String, java.util.Date);
descriptor: (Ljava/lang/String;Ljava/util/Date;)Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jboss.resteasy.util.DateUtil.parseDate:(Ljava/lang/String;)Ljava/util/Date;
astore 3
start local 3 1: aload 3
invokevirtual java.util.Date.getTime:()J
aload 2
invokevirtual java.util.Date.getTime:()J
lcmp
iflt 3
2: aconst_null
areturn
3: StackMap locals: java.util.Date
StackMap stack:
sipush 412
invokestatic javax.ws.rs.core.Response.status:(I)Ljavax/ws/rs/core/Response$ResponseBuilder;
aload 2
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.lastModified:(Ljava/util/Date;)Ljavax/ws/rs/core/Response$ResponseBuilder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 4 1 strDate Ljava/lang/String;
0 4 2 lastModified Ljava/util/Date;
1 4 3 date Ljava/util/Date;
MethodParameters:
Name Flags
strDate
lastModified
public javax.ws.rs.core.Response$ResponseBuilder evaluatePreconditions(java.util.Date);
descriptor: (Ljava/util/Date;)Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.lastModifiedParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.headers:Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getRequestHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
astore 3
start local 3 3: aload 3
ldc "If-Modified-Since"
invokeinterface javax.ws.rs.core.MultivaluedMap.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 4
ifnull 6
aload 0
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.isRfc7232preconditions:()Z
ifeq 5
aload 3
ldc "If-None-Match"
invokeinterface javax.ws.rs.core.MultivaluedMap.containsKey:(Ljava/lang/Object;)Z
ifne 6
5: StackMap locals: javax.ws.rs.core.Response$ResponseBuilder javax.ws.rs.core.MultivaluedMap java.lang.String
StackMap stack:
aload 0
aload 4
aload 1
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.ifModifiedSince:(Ljava/lang/String;Ljava/util/Date;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
7: aload 3
ldc "If-Unmodified-Since"
invokeinterface javax.ws.rs.core.MultivaluedMap.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 8: aload 5
ifnull 10
aload 0
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.isRfc7232preconditions:()Z
ifeq 9
aload 3
ldc "If-Match"
invokeinterface javax.ws.rs.core.MultivaluedMap.containsKey:(Ljava/lang/Object;)Z
ifne 10
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 5
aload 1
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.ifUnmodifiedSince:(Ljava/lang/String;Ljava/util/Date;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 2
end local 5 10: StackMap locals:
StackMap stack:
aload 2
ifnull 11
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
ifnull 11
aload 2
ldc "Vary"
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.header:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 12 1 lastModified Ljava/util/Date;
2 12 2 builder Ljavax/ws/rs/core/Response$ResponseBuilder;
3 12 3 headers Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
4 12 4 ifModifiedSince Ljava/lang/String;
8 10 5 ifUnmodifiedSince Ljava/lang/String;
MethodParameters:
Name Flags
lastModified
public javax.ws.rs.core.Response$ResponseBuilder evaluatePreconditions(java.util.Date, javax.ws.rs.core.EntityTag);
descriptor: (Ljava/util/Date;Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.lastModifiedParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.eTagParamNull:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 3: aload 0
aload 1
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.evaluatePreconditions:(Ljava/util/Date;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 4
start local 4 4: aload 0
aload 2
invokevirtual org.jboss.resteasy.specimpl.RequestImpl.evaluatePreconditions:(Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 5
start local 5 5: aload 4
ifnonnull 6
aload 5
ifnonnull 6
aconst_null
astore 3
goto 10
6: StackMap locals: javax.ws.rs.core.Response$ResponseBuilder javax.ws.rs.core.Response$ResponseBuilder javax.ws.rs.core.Response$ResponseBuilder
StackMap stack:
aload 4
ifnull 7
aload 5
ifnonnull 7
aload 4
astore 3
goto 10
7: StackMap locals:
StackMap stack:
aload 4
ifnonnull 8
aload 5
ifnull 8
aload 5
astore 3
goto 10
8: StackMap locals:
StackMap stack:
aload 4
astore 3
9: aload 3
aload 2
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.tag:(Ljavax/ws/rs/core/EntityTag;)Ljavax/ws/rs/core/Response$ResponseBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 3
ifnull 11
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
ifnull 11
aload 3
ldc "Vary"
aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.varyHeader:Ljava/lang/String;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.header:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 3
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 12 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
0 12 1 lastModified Ljava/util/Date;
0 12 2 eTag Ljavax/ws/rs/core/EntityTag;
3 12 3 rtn Ljavax/ws/rs/core/Response$ResponseBuilder;
4 12 4 lastModifiedBuilder Ljavax/ws/rs/core/Response$ResponseBuilder;
5 12 5 etagBuilder Ljavax/ws/rs/core/Response$ResponseBuilder;
MethodParameters:
Name Flags
lastModified
eTag
public javax.ws.rs.core.Response$ResponseBuilder evaluatePreconditions();
descriptor: ()Ljavax/ws/rs/core/Response$ResponseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.RequestImpl.headers:Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getRequestHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
ldc "If-Match"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface java.util.List.size:()I
ifne 3
2: StackMap locals: java.util.List
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
sipush 412
invokestatic javax.ws.rs.core.Response.status:(I)Ljavax/ws/rs/core/Response$ResponseBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/RequestImpl;
1 4 1 ifMatch Ljava/util/List<Ljava/lang/String;>;
}
SourceFile: "RequestImpl.java"
InnerClasses:
public abstract ResponseBuilder = javax.ws.rs.core.Response$ResponseBuilder of javax.ws.rs.core.Response