@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2002 - 2018 the original author or authors .
* Copyright 2002 - 2023 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -21,8 +21,6 @@ import java.lang.reflect.Type;
@@ -21,8 +21,6 @@ import java.lang.reflect.Type;
import java.net.URI ;
import java.util.List ;
import jakarta.servlet.http.HttpServletRequest ;
import org.springframework.core.Conventions ;
import org.springframework.core.MethodParameter ;
import org.springframework.core.annotation.AnnotatedElementUtils ;
@ -34,7 +32,6 @@ import org.springframework.http.converter.HttpMessageNotWritableException;
@@ -34,7 +32,6 @@ import org.springframework.http.converter.HttpMessageNotWritableException;
import org.springframework.http.server.ServletServerHttpRequest ;
import org.springframework.http.server.ServletServerHttpResponse ;
import org.springframework.lang.Nullable ;
import org.springframework.util.Assert ;
import org.springframework.validation.BindingResult ;
import org.springframework.web.HttpMediaTypeNotAcceptableException ;
import org.springframework.web.HttpMediaTypeNotSupportedException ;
@ -157,7 +154,6 @@ public class RequestResponseBodyMethodProcessor extends AbstractMessageConverter
@@ -157,7 +154,6 @@ public class RequestResponseBodyMethodProcessor extends AbstractMessageConverter
Type paramType ) throws IOException , HttpMediaTypeNotSupportedException , HttpMessageNotReadableException {
ServletServerHttpRequest inputMessage = createInputMessage ( webRequest ) ;
Object arg = readWithMessageConverters ( inputMessage , parameter , paramType ) ;
if ( arg = = null & & checkRequired ( parameter ) ) {
throw new HttpMessageNotReadableException ( "Required request body is missing: " +