@ -56,8 +56,6 @@ import org.springframework.util.StringUtils;
@@ -56,8 +56,6 @@ import org.springframework.util.StringUtils;
* /
public class ServletServerHttpRequest implements ServerHttpRequest {
protected static final String FORM_CONTENT_TYPE = MediaType . APPLICATION_FORM_URLENCODED_VALUE ;
protected static final Charset FORM_CHARSET = StandardCharsets . UTF_8 ;
@ -231,7 +229,7 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
@@ -231,7 +229,7 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
private static boolean isFormPost ( HttpServletRequest request ) {
String contentType = request . getContentType ( ) ;
return ( contentType ! = null & & contentType . contains ( FORM_CONTENT_TYP E) & &
return ( contentType ! = null & & contentType . contains ( MediaType . APPLICATION_FORM_URLENCODED_VALU E) & &
HttpMethod . POST . matches ( request . getMethod ( ) ) ) ;
}