public class org.springframework.web.server.i18n.FixedLocaleContextResolver implements org.springframework.web.server.i18n.LocaleContextResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.server.i18n.FixedLocaleContextResolver
super_class: java.lang.Object
{
private final java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.TimeZone timeZone;
descriptor: Ljava/util/TimeZone;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokespecial org.springframework.web.server.i18n.FixedLocaleContextResolver.<init>:(Ljava/util/Locale;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/server/i18n/FixedLocaleContextResolver;
public void <init>(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.springframework.web.server.i18n.FixedLocaleContextResolver.<init>:(Ljava/util/Locale;Ljava/util/TimeZone;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/server/i18n/FixedLocaleContextResolver;
0 2 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void <init>(java.util.Locale, java.util.TimeZone);
descriptor: (Ljava/util/Locale;Ljava/util/TimeZone;)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 1
ldc "Locale must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.web.server.i18n.FixedLocaleContextResolver.locale:Ljava/util/Locale;
3: aload 0
aload 2
putfield org.springframework.web.server.i18n.FixedLocaleContextResolver.timeZone:Ljava/util/TimeZone;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/server/i18n/FixedLocaleContextResolver;
0 5 1 locale Ljava/util/Locale;
0 5 2 timeZone Ljava/util/TimeZone;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
locale
timeZone
public org.springframework.context.i18n.LocaleContext resolveLocaleContext(org.springframework.web.server.ServerWebExchange);
descriptor: (Lorg/springframework/web/server/ServerWebExchange;)Lorg/springframework/context/i18n/LocaleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.web.server.i18n.FixedLocaleContextResolver$1
dup
aload 0
invokespecial org.springframework.web.server.i18n.FixedLocaleContextResolver$1.<init>:(Lorg/springframework/web/server/i18n/FixedLocaleContextResolver;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/server/i18n/FixedLocaleContextResolver;
0 1 1 exchange Lorg/springframework/web/server/ServerWebExchange;
MethodParameters:
Name Flags
exchange
public void setLocaleContext(org.springframework.web.server.ServerWebExchange, org.springframework.context.i18n.LocaleContext);
descriptor: (Lorg/springframework/web/server/ServerWebExchange;Lorg/springframework/context/i18n/LocaleContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
1: ldc "Cannot change fixed locale - use a different locale context resolution strategy"
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/server/i18n/FixedLocaleContextResolver;
0 3 1 exchange Lorg/springframework/web/server/ServerWebExchange;
0 3 2 localeContext Lorg/springframework/context/i18n/LocaleContext;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
exchange
localeContext
}
SourceFile: "FixedLocaleContextResolver.java"
NestMembers:
org.springframework.web.server.i18n.FixedLocaleContextResolver$1
InnerClasses:
org.springframework.web.server.i18n.FixedLocaleContextResolver$1