public class org.springframework.http.CacheControl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.CacheControl
super_class: java.lang.Object
{
private long maxAge;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean noCache;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean noStore;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean mustRevalidate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean noTransform;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean cachePublic;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean cachePrivate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean proxyRevalidate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long staleWhileRevalidate;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long staleIfError;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long sMaxAge;
descriptor: J
flags: (0x0002) ACC_PRIVATE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -1
putfield org.springframework.http.CacheControl.maxAge:J
2: aload 0
iconst_0
putfield org.springframework.http.CacheControl.noCache:Z
3: aload 0
iconst_0
putfield org.springframework.http.CacheControl.noStore:Z
4: aload 0
iconst_0
putfield org.springframework.http.CacheControl.mustRevalidate:Z
5: aload 0
iconst_0
putfield org.springframework.http.CacheControl.noTransform:Z
6: aload 0
iconst_0
putfield org.springframework.http.CacheControl.cachePublic:Z
7: aload 0
iconst_0
putfield org.springframework.http.CacheControl.cachePrivate:Z
8: aload 0
iconst_0
putfield org.springframework.http.CacheControl.proxyRevalidate:Z
9: aload 0
ldc -1
putfield org.springframework.http.CacheControl.staleWhileRevalidate:J
10: aload 0
ldc -1
putfield org.springframework.http.CacheControl.staleIfError:J
11: aload 0
ldc -1
putfield org.springframework.http.CacheControl.sMaxAge:J
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/http/CacheControl;
public static org.springframework.http.CacheControl empty();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.springframework.http.CacheControl
dup
invokespecial org.springframework.http.CacheControl.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.springframework.http.CacheControl maxAge(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lorg/springframework/http/CacheControl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 2 0: new org.springframework.http.CacheControl
dup
invokespecial org.springframework.http.CacheControl.<init>:()V
astore 3
start local 3 1: aload 3
aload 2
lload 0
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
putfield org.springframework.http.CacheControl.maxAge:J
2: aload 3
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 maxAge J
0 3 2 unit Ljava/util/concurrent/TimeUnit;
1 3 3 cc Lorg/springframework/http/CacheControl;
MethodParameters:
Name Flags
maxAge
unit
public static org.springframework.http.CacheControl noCache();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new org.springframework.http.CacheControl
dup
invokespecial org.springframework.http.CacheControl.<init>:()V
astore 0
start local 0 1: aload 0
iconst_1
putfield org.springframework.http.CacheControl.noCache:Z
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 cc Lorg/springframework/http/CacheControl;
public static org.springframework.http.CacheControl noStore();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new org.springframework.http.CacheControl
dup
invokespecial org.springframework.http.CacheControl.<init>:()V
astore 0
start local 0 1: aload 0
iconst_1
putfield org.springframework.http.CacheControl.noStore:Z
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 cc Lorg/springframework/http/CacheControl;
public org.springframework.http.CacheControl mustRevalidate();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.springframework.http.CacheControl.mustRevalidate:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
public org.springframework.http.CacheControl noTransform();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.springframework.http.CacheControl.noTransform:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
public org.springframework.http.CacheControl cachePublic();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.springframework.http.CacheControl.cachePublic:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
public org.springframework.http.CacheControl cachePrivate();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.springframework.http.CacheControl.cachePrivate:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
public org.springframework.http.CacheControl proxyRevalidate();
descriptor: ()Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.springframework.http.CacheControl.proxyRevalidate:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
public org.springframework.http.CacheControl sMaxAge(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
putfield org.springframework.http.CacheControl.sMaxAge:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
0 2 1 sMaxAge J
0 2 3 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
sMaxAge
unit
public org.springframework.http.CacheControl staleWhileRevalidate(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
putfield org.springframework.http.CacheControl.staleWhileRevalidate:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
0 2 1 staleWhileRevalidate J
0 2 3 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
staleWhileRevalidate
unit
public org.springframework.http.CacheControl staleIfError(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lorg/springframework/http/CacheControl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
putfield org.springframework.http.CacheControl.staleIfError:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/CacheControl;
0 2 1 staleIfError J
0 2 3 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
staleIfError
unit
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.CacheControl.toHeaderValue:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 2
aload 1
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/CacheControl;
1 4 1 headerValue Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.springframework.http.CacheControl.maxAge:J
ldc -1
lcmp
ifeq 3
2: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "max-age="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.http.CacheControl.maxAge:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.noCache:Z
ifeq 5
4: aload 0
aload 1
ldc "no-cache"
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.noStore:Z
ifeq 7
6: aload 0
aload 1
ldc "no-store"
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.mustRevalidate:Z
ifeq 9
8: aload 0
aload 1
ldc "must-revalidate"
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.noTransform:Z
ifeq 11
10: aload 0
aload 1
ldc "no-transform"
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.cachePublic:Z
ifeq 13
12: aload 0
aload 1
ldc "public"
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.cachePrivate:Z
ifeq 15
14: aload 0
aload 1
ldc "private"
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.proxyRevalidate:Z
ifeq 17
16: aload 0
aload 1
ldc "proxy-revalidate"
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.sMaxAge:J
ldc -1
lcmp
ifeq 19
18: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "s-maxage="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.http.CacheControl.sMaxAge:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.staleIfError:J
ldc -1
lcmp
ifeq 21
20: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "stale-if-error="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.http.CacheControl.staleIfError:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.CacheControl.staleWhileRevalidate:J
ldc -1
lcmp
ifeq 23
22: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "stale-while-revalidate="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.http.CacheControl.staleWhileRevalidate:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.springframework.http.CacheControl.appendDirective:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/springframework/http/CacheControl;
1 24 1 headerValue Ljava/lang/StringBuilder;
private void appendDirective(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 2
1: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/CacheControl;
0 4 1 builder Ljava/lang/StringBuilder;
0 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
builder
value
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CacheControl ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.http.CacheControl.toHeaderValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/CacheControl;
}
SourceFile: "CacheControl.java"