Uses of Class
org.springframework.web.bind.ServletRequestBindingException
Packages that use ServletRequestBindingException
Package
Description
Provides web-specific data binding functionality.
Support classes for annotation-based handler method processing.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.Support package for MVC controllers.
- 
Uses of ServletRequestBindingException in org.springframework.web.bindSubclasses of ServletRequestBindingException in org.springframework.web.bindModifier and TypeClassDescriptionclassServletRequestBindingExceptionsubclass that indicates that a matrix variable expected in the method parameters of an@RequestMappingmethod is not present among the matrix variables extracted from the URL.classServletRequestBindingExceptionsubclass that indicates that a path variable expected in the method parameters of an@RequestMappingmethod is not present among the URI variables extracted from the URL.classServletRequestBindingExceptionsubclass that indicates that a request cookie expected in the method parameters of an@RequestMappingmethod is not present.classServletRequestBindingExceptionsubclass that indicates that a request header expected in the method parameters of an@RequestMappingmethod is not present.classBase class forServletRequestBindingExceptionexceptions that could not bind because the request value is required but is either missing or otherwise resolves tonullafter conversion.classServletRequestBindingExceptionsubclass that indicates a missing parameter.classServletRequestBindingExceptionsubclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMappingannotation at the@Controllertype level.Methods in org.springframework.web.bind that throw ServletRequestBindingExceptionModifier and TypeMethodDescriptionvoidServletRequestDataBinder.closeNoCatch()Treats errors as fatal.ServletRequestUtils.getBooleanParameter(jakarta.servlet.ServletRequest request, String name) Get a Boolean parameter, ornullif not present.ServletRequestUtils.getDoubleParameter(jakarta.servlet.ServletRequest request, String name) Get a Double parameter, ornullif not present.ServletRequestUtils.getFloatParameter(jakarta.servlet.ServletRequest request, String name) Get a Float parameter, ornullif not present.ServletRequestUtils.getIntParameter(jakarta.servlet.ServletRequest request, String name) Get an Integer parameter, ornullif not present.ServletRequestUtils.getLongParameter(jakarta.servlet.ServletRequest request, String name) Get a Long parameter, ornullif not present.static booleanServletRequestUtils.getRequiredBooleanParameter(jakarta.servlet.ServletRequest request, String name) Get a boolean parameter, throwing an exception if it isn't found or isn't a boolean.static boolean[]ServletRequestUtils.getRequiredBooleanParameters(jakarta.servlet.ServletRequest request, String name) Get an array of boolean parameters, throwing an exception if not found or one isn't a boolean.static doubleServletRequestUtils.getRequiredDoubleParameter(jakarta.servlet.ServletRequest request, String name) Get a double parameter, throwing an exception if it isn't found or isn't a number.static double[]ServletRequestUtils.getRequiredDoubleParameters(jakarta.servlet.ServletRequest request, String name) Get an array of double parameters, throwing an exception if not found or one is not a number.static floatServletRequestUtils.getRequiredFloatParameter(jakarta.servlet.ServletRequest request, String name) Get a float parameter, throwing an exception if it isn't found or isn't a number.static float[]ServletRequestUtils.getRequiredFloatParameters(jakarta.servlet.ServletRequest request, String name) Get an array of float parameters, throwing an exception if not found or one is not a number.static intServletRequestUtils.getRequiredIntParameter(jakarta.servlet.ServletRequest request, String name) Get an int parameter, throwing an exception if it isn't found or isn't a number.static int[]ServletRequestUtils.getRequiredIntParameters(jakarta.servlet.ServletRequest request, String name) Get an array of int parameters, throwing an exception if not found or one is not a number.static longServletRequestUtils.getRequiredLongParameter(jakarta.servlet.ServletRequest request, String name) Get a long parameter, throwing an exception if it isn't found or isn't a number.static long[]ServletRequestUtils.getRequiredLongParameters(jakarta.servlet.ServletRequest request, String name) Get an array of long parameters, throwing an exception if not found or one is not a number.static StringServletRequestUtils.getRequiredStringParameter(jakarta.servlet.ServletRequest request, String name) Get a String parameter, throwing an exception if it isn't found.static String[]ServletRequestUtils.getRequiredStringParameters(jakarta.servlet.ServletRequest request, String name) Get an array of String parameters, throwing an exception if not found.ServletRequestUtils.getStringParameter(jakarta.servlet.ServletRequest request, String name) Get a String parameter, ornullif not present.
- 
Uses of ServletRequestBindingException in org.springframework.web.method.annotationMethods in org.springframework.web.method.annotation that throw ServletRequestBindingExceptionModifier and TypeMethodDescriptionprotected voidAbstractCookieValueMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidRequestHeaderMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) 
- 
Uses of ServletRequestBindingException in org.springframework.web.servlet.mvc.method.annotationMethods in org.springframework.web.servlet.mvc.method.annotation with parameters of type ServletRequestBindingExceptionModifier and TypeMethodDescriptionprotected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleServletRequestBindingException(ServletRequestBindingException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofServletRequestBindingException.Methods in org.springframework.web.servlet.mvc.method.annotation that throw ServletRequestBindingExceptionModifier and TypeMethodDescriptionprotected voidMatrixVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) protected voidPathVariableMethodArgumentResolver.handleMissingValue(String name, MethodParameter parameter) 
- 
Uses of ServletRequestBindingException in org.springframework.web.servlet.mvc.supportMethods in org.springframework.web.servlet.mvc.support with parameters of type ServletRequestBindingExceptionModifier and TypeMethodDescriptionprotected @Nullable ModelAndViewDefaultHandlerExceptionResolver.handleServletRequestBindingException(ServletRequestBindingException ex, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @Nullable Object handler) Handle the case when an unrecoverable binding exception occurs - for example, required header, required cookie.