public abstract class org.springframework.web.servlet.support.RequestContextUtils
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.web.servlet.support.RequestContextUtils
super_class: java.lang.Object
{
public static final java.lang.String REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "requestDataValueProcessor"
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/springframework/web/servlet/support/RequestContextUtils;
public static org.springframework.web.context.WebApplicationContext findWebApplicationContext(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/ServletContext;)Lorg/springframework/web/context/WebApplicationContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
1: getstatic org.springframework.web.servlet.DispatcherServlet.WEB_APPLICATION_CONTEXT_ATTRIBUTE:Ljava/lang/String;
2: invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.springframework.web.context.WebApplicationContext
astore 2
start local 2 3: aload 2
ifnonnull 8
4: aload 1
ifnull 6
5: aload 1
invokestatic org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext:(Ljavax/servlet/ServletContext;)Lorg/springframework/web/context/WebApplicationContext;
astore 2
6: StackMap locals: org.springframework.web.context.WebApplicationContext
StackMap stack:
aload 2
ifnonnull 8
7: invokestatic org.springframework.web.context.ContextLoader.getCurrentWebApplicationContext:()Lorg/springframework/web/context/WebApplicationContext;
astore 2
8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 request Ljavax/servlet/http/HttpServletRequest;
0 9 1 servletContext Ljavax/servlet/ServletContext;
3 9 2 webApplicationContext Lorg/springframework/web/context/WebApplicationContext;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
servletContext
public static org.springframework.web.context.WebApplicationContext findWebApplicationContext(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/context/WebApplicationContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getServletContext() is undefined for the type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.LocaleResolver getLocaleResolver(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/LocaleResolver;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.springframework.web.servlet.DispatcherServlet.LOCALE_RESOLVER_ATTRIBUTE:Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.springframework.web.servlet.LocaleResolver
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljavax/servlet/http/HttpServletRequest;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static java.util.Locale getLocale(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.web.servlet.support.RequestContextUtils.getLocaleResolver:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/LocaleResolver;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
aload 0
invokeinterface org.springframework.web.servlet.LocaleResolver.resolveLocale:(Ljavax/servlet/http/HttpServletRequest;)Ljava/util/Locale;
goto 3
StackMap locals: org.springframework.web.servlet.LocaleResolver
StackMap stack:
2: aload 0
invokeinterface javax.servlet.http.HttpServletRequest.getLocale:()Ljava/util/Locale;
StackMap locals:
StackMap stack: java.util.Locale
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 request Ljavax/servlet/http/HttpServletRequest;
1 4 1 localeResolver Lorg/springframework/web/servlet/LocaleResolver;
MethodParameters:
Name Flags
request
public static java.util.TimeZone getTimeZone(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljava/util/TimeZone;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.web.servlet.support.RequestContextUtils.getLocaleResolver:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/LocaleResolver;
astore 1
start local 1 1: aload 1
instanceof org.springframework.web.servlet.LocaleContextResolver
ifeq 5
2: aload 1
checkcast org.springframework.web.servlet.LocaleContextResolver
aload 0
invokeinterface org.springframework.web.servlet.LocaleContextResolver.resolveLocaleContext:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/context/i18n/LocaleContext;
astore 2
start local 2 3: aload 2
instanceof org.springframework.context.i18n.TimeZoneAwareLocaleContext
ifeq 5
4: aload 2
checkcast org.springframework.context.i18n.TimeZoneAwareLocaleContext
invokeinterface org.springframework.context.i18n.TimeZoneAwareLocaleContext.getTimeZone:()Ljava/util/TimeZone;
areturn
end local 2 5: StackMap locals: org.springframework.web.servlet.LocaleResolver
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 request Ljavax/servlet/http/HttpServletRequest;
1 6 1 localeResolver Lorg/springframework/web/servlet/LocaleResolver;
3 5 2 localeContext Lorg/springframework/context/i18n/LocaleContext;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.ThemeResolver getThemeResolver(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/ThemeResolver;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.springframework.web.servlet.DispatcherServlet.THEME_RESOLVER_ATTRIBUTE:Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.springframework.web.servlet.ThemeResolver
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljavax/servlet/http/HttpServletRequest;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static org.springframework.ui.context.ThemeSource getThemeSource(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/ui/context/ThemeSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.springframework.web.servlet.DispatcherServlet.THEME_SOURCE_ATTRIBUTE:Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.springframework.ui.context.ThemeSource
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljavax/servlet/http/HttpServletRequest;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static org.springframework.ui.context.Theme getTheme(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/ui/context/Theme;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.web.servlet.support.RequestContextUtils.getThemeResolver:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/ThemeResolver;
astore 1
start local 1 1: aload 0
invokestatic org.springframework.web.servlet.support.RequestContextUtils.getThemeSource:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/ui/context/ThemeSource;
astore 2
start local 2 2: aload 1
ifnull 5
aload 2
ifnull 5
3: aload 1
aload 0
invokeinterface org.springframework.web.servlet.ThemeResolver.resolveThemeName:(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
astore 3
start local 3 4: aload 2
aload 3
invokeinterface org.springframework.ui.context.ThemeSource.getTheme:(Ljava/lang/String;)Lorg/springframework/ui/context/Theme;
areturn
end local 3 5: StackMap locals: org.springframework.web.servlet.ThemeResolver org.springframework.ui.context.ThemeSource
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 request Ljavax/servlet/http/HttpServletRequest;
1 6 1 themeResolver Lorg/springframework/web/servlet/ThemeResolver;
2 6 2 themeSource Lorg/springframework/ui/context/ThemeSource;
4 5 3 themeName Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static java.util.Map<java.lang.String, ?> getInputFlashMap(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.springframework.web.servlet.DispatcherServlet.INPUT_FLASH_MAP_ATTRIBUTE:Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Map
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljavax/servlet/http/HttpServletRequest;
Signature: (Ljavax/servlet/http/HttpServletRequest;)Ljava/util/Map<Ljava/lang/String;*>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.FlashMap getOutputFlashMap(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/FlashMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.springframework.web.servlet.DispatcherServlet.OUTPUT_FLASH_MAP_ATTRIBUTE:Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.springframework.web.servlet.FlashMap
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljavax/servlet/http/HttpServletRequest;
MethodParameters:
Name Flags
request
public static org.springframework.web.servlet.FlashMapManager getFlashMapManager(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/FlashMapManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.springframework.web.servlet.DispatcherServlet.FLASH_MAP_MANAGER_ATTRIBUTE:Ljava/lang/String;
invokeinterface javax.servlet.http.HttpServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.springframework.web.servlet.FlashMapManager
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljavax/servlet/http/HttpServletRequest;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
request
public static void saveOutputFlashMap(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse);
descriptor: (Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.springframework.web.servlet.support.RequestContextUtils.getOutputFlashMap:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/FlashMap;
astore 3
start local 3 1: aload 3
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Map;)Z
ifeq 3
2: return
3: StackMap locals: org.springframework.web.servlet.FlashMap
StackMap stack:
aload 0
invokestatic org.springframework.web.util.UriComponentsBuilder.fromUriString:(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;
invokevirtual org.springframework.web.util.UriComponentsBuilder.build:()Lorg/springframework/web/util/UriComponents;
astore 4
start local 4 4: aload 3
aload 4
invokevirtual org.springframework.web.util.UriComponents.getPath:()Ljava/lang/String;
invokevirtual org.springframework.web.servlet.FlashMap.setTargetRequestPath:(Ljava/lang/String;)V
5: aload 3
aload 4
invokevirtual org.springframework.web.util.UriComponents.getQueryParams:()Lorg/springframework/util/MultiValueMap;
invokevirtual org.springframework.web.servlet.FlashMap.addTargetRequestParams:(Lorg/springframework/util/MultiValueMap;)Lorg/springframework/web/servlet/FlashMap;
pop
6: aload 1
invokestatic org.springframework.web.servlet.support.RequestContextUtils.getFlashMapManager:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/servlet/FlashMapManager;
astore 5
start local 5 7: aload 5
ifnull 8
iconst_1
goto 9
StackMap locals: org.springframework.web.util.UriComponents org.springframework.web.servlet.FlashMapManager
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: ldc "No FlashMapManager. Is this a DispatcherServlet handled request?"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
10: aload 5
aload 3
aload 1
aload 2
invokeinterface org.springframework.web.servlet.FlashMapManager.saveOutputFlashMap:(Lorg/springframework/web/servlet/FlashMap;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
11: 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 12 0 location Ljava/lang/String;
0 12 1 request Ljavax/servlet/http/HttpServletRequest;
0 12 2 response Ljavax/servlet/http/HttpServletResponse;
1 12 3 flashMap Lorg/springframework/web/servlet/FlashMap;
4 12 4 uriComponents Lorg/springframework/web/util/UriComponents;
7 12 5 manager Lorg/springframework/web/servlet/FlashMapManager;
MethodParameters:
Name Flags
location
request
response
}
SourceFile: "RequestContextUtils.java"