|
|
|
@ -116,7 +116,6 @@ public abstract class AbstractMessageConverterMethodArgumentResolver implements |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Create the method argument value of the expected parameter type by |
|
|
|
* Create the method argument value of the expected parameter type by |
|
|
|
* reading from the given request. |
|
|
|
* reading from the given request. |
|
|
|
* @param <T> the expected type of the argument value to be created |
|
|
|
|
|
|
|
* @param webRequest the current request |
|
|
|
* @param webRequest the current request |
|
|
|
* @param parameter the method parameter descriptor (may be {@code null}) |
|
|
|
* @param parameter the method parameter descriptor (may be {@code null}) |
|
|
|
* @param paramType the type of the argument value to be created |
|
|
|
* @param paramType the type of the argument value to be created |
|
|
|
@ -125,7 +124,7 @@ public abstract class AbstractMessageConverterMethodArgumentResolver implements |
|
|
|
* @throws HttpMediaTypeNotSupportedException if no suitable message converter is found |
|
|
|
* @throws HttpMediaTypeNotSupportedException if no suitable message converter is found |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|
protected <T> Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter, |
|
|
|
protected Object readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter, |
|
|
|
Type paramType) throws IOException, HttpMediaTypeNotSupportedException, HttpMessageNotReadableException { |
|
|
|
Type paramType) throws IOException, HttpMediaTypeNotSupportedException, HttpMessageNotReadableException { |
|
|
|
|
|
|
|
|
|
|
|
HttpInputMessage inputMessage = createInputMessage(webRequest); |
|
|
|
HttpInputMessage inputMessage = createInputMessage(webRequest); |
|
|
|
|