WebRequest
ServletRequest
MultipartRequest
HttpSession
PushBuilder (as of Spring 5.0 on Servlet 4.0)
Principal but only if not annotated in order to allow custom
resolvers to resolve it, and the falling back on
PrincipalMethodArgumentResolver.
InputStream
Reader
HttpMethod (as of Spring 4.0)
Locale
TimeZone (as of Spring 4.0)
java.time.ZoneId (as of Spring 4.0 and Java 8)
| Modifier and Type | Class and Description |
|---|---|
| private static class | ServletRequestMethodArgumentResolver.
Inner class to avoid a hard dependency on Servlet API 4.0 at runtime. |
| Modifier and Type | Field and Description |
|---|---|
| private static Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | resolveArgument(MethodParameter
the method parameter to resolve. This parameter must
have previously been passed to parameter, ModelAndViewContainer supportsParameter which must
have returned true.the ModelAndViewContainer for the current request mavContainer, NativeWebRequest the current request webRequest, WebDataBinderFactory a factory for creating binderFactory)WebDataBinder instancesImplements org. Resolves a method parameter into an argument value from a given request. |
| private Object | |
| private <T> T | |
| public boolean | supportsParameter(MethodParameter
the method parameter to check parameter)Implements org. Whether the given method parameter is supported by this resolver. |
| pushBuilder | back to summary |
|---|---|
| private static Class<?> pushBuilder
| |
| ServletRequestMethodArgumentResolver | back to summary |
|---|---|
| public ServletRequestMethodArgumentResolver() | |
| resolveArgument | back to summary |
|---|---|
| public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception Implements org. Doc from org. Resolves a method parameter into an argument value from a given request.
A
| |
| resolveArgument | back to summary |
|---|---|
private Object resolveArgument(Class<?> paramType, HttpServletRequest request) throws IOException
| |
| resolveNativeRequest | back to summary |
|---|---|
| private <T> T resolveNativeRequest(NativeWebRequest webRequest, Class<T> requiredType) | |
| supportsParameter | back to summary |
|---|---|
| public boolean supportsParameter(MethodParameter parameter) Implements org. Doc from org. Whether the given method parameter is supported by this resolver.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Object |
| PushBuilderDelegate | back to summary |
|---|---|
| private PushBuilderDelegate() | |
| resolvePushBuilder | back to summary |
|---|---|
public static Object resolvePushBuilder(HttpServletRequest request, Class<?> paramType)
| |