Uses of Interface
org.springframework.web.context.request.WebRequest
Packages that use WebRequest
Package
Description
Classes supporting the
org.springframework.orm.jpa package.Support classes for web data binding.
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Support for asynchronous request processing.
Support classes for annotation-based handler method processing.
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.-
Uses of WebRequest in org.springframework.orm.jpa.support
Methods in org.springframework.orm.jpa.support with parameters of type WebRequestModifier and TypeMethodDescriptionvoidOpenEntityManagerInViewInterceptor.afterCompletion(WebRequest request, @Nullable Exception ex) voidOpenEntityManagerInViewInterceptor.afterConcurrentHandlingStarted(WebRequest request) voidOpenEntityManagerInViewInterceptor.postHandle(WebRequest request, @Nullable ModelMap model) voidOpenEntityManagerInViewInterceptor.preHandle(WebRequest request) -
Uses of WebRequest in org.springframework.web.bind.support
Methods in org.springframework.web.bind.support with parameters of type WebRequestModifier and TypeMethodDescriptionvoidWebRequestDataBinder.bind(WebRequest request) Bind the parameters of the given request to this binder's target, also binding multipart files in case of a multipart request.voidDefaultSessionAttributeStore.cleanupAttribute(WebRequest request, String attributeName) voidSessionAttributeStore.cleanupAttribute(WebRequest request, String attributeName) Clean up the specified attribute in the backend session.voidWebRequestDataBinder.construct(WebRequest request) Use a default or single data constructor to create the target by binding request parameters, multipart files, or parts to constructor args.protected StringDefaultSessionAttributeStore.getAttributeNameInSession(WebRequest request, String attributeName) Calculate the attribute name in the backend session.DefaultSessionAttributeStore.retrieveAttribute(WebRequest request, String attributeName) SessionAttributeStore.retrieveAttribute(WebRequest request, String attributeName) Retrieve the specified attribute from the backend session.voidDefaultSessionAttributeStore.storeAttribute(WebRequest request, String attributeName, Object attributeValue) voidSessionAttributeStore.storeAttribute(WebRequest request, String attributeName, Object attributeValue) Store the supplied attribute in the backend session. -
Uses of WebRequest in org.springframework.web.context.request
Subinterfaces of WebRequest in org.springframework.web.context.requestModifier and TypeInterfaceDescriptioninterfaceExtension of theWebRequestinterface, exposing the native request and response objects in a generic fashion.Classes in org.springframework.web.context.request that implement WebRequestModifier and TypeClassDescriptionclassWebRequestadapter for a JSFFacesContext.classWebRequestadapter for anHttpServletRequest.Methods in org.springframework.web.context.request with parameters of type WebRequestModifier and TypeMethodDescriptionvoidWebRequestInterceptor.afterCompletion(WebRequest request, @Nullable Exception ex) Callback after completion of request processing, that is, after rendering the view.voidAsyncWebRequestInterceptor.afterConcurrentHandlingStarted(WebRequest request) Called instead ofpostHandleandafterCompletion, when the handler started handling the request concurrently.voidWebRequestInterceptor.postHandle(WebRequest request, @Nullable ModelMap model) Intercept the execution of a request handler after its successful invocation, right before view rendering (if any).voidWebRequestInterceptor.preHandle(WebRequest request) Intercept the execution of a request handler before its invocation. -
Uses of WebRequest in org.springframework.web.context.request.async
Subinterfaces of WebRequest in org.springframework.web.context.request.asyncModifier and TypeInterfaceDescriptioninterfaceExtendsNativeWebRequestwith methods for asynchronous request processing.Classes in org.springframework.web.context.request.async that implement WebRequestMethods in org.springframework.web.context.request.async with parameters of type WebRequestModifier and TypeMethodDescriptionstatic WebAsyncManagerWebAsyncUtils.getAsyncManager(WebRequest webRequest) Obtain theWebAsyncManagerfor the current request, or if not found, create and associate it with the request. -
Uses of WebRequest in org.springframework.web.method.annotation
Methods in org.springframework.web.method.annotation with parameters of type WebRequestModifier and TypeMethodDescriptionvoidSessionAttributesHandler.cleanupAttributes(WebRequest request) Remove "known" attributes from the session, i.e.SessionAttributesHandler.retrieveAttributes(WebRequest request) Retrieve "known" attributes from the session, i.e.voidSessionAttributesHandler.storeAttributes(WebRequest request, Map<String, ?> attributes) Store a subset of the given attributes in the session. -
Uses of WebRequest in org.springframework.web.servlet.handler
Classes in org.springframework.web.servlet.handler that implement WebRequestModifier and TypeClassDescriptionclassServletWebRequestsubclass that is aware ofDispatcherServlet's request context, such as the Locale determined by the configuredLocaleResolver. -
Uses of WebRequest in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type WebRequestModifier and TypeMethodDescriptionprotected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(Exception ex, HttpStatusCode status, String defaultDetail, @Nullable String detailMessageCode, Object @Nullable [] detailMessageArguments, WebRequest request) Convenience method to create aProblemDetailfor any exception that doesn't implementErrorResponse, also performing aMessageSourcelookup for the "detail" field.protected ResponseEntity<Object> ResponseEntityExceptionHandler.createResponseEntity(@Nullable Object body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) Create theResponseEntityto use from the given body, headers, and statusCode.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleAsyncRequestNotUsableException(AsyncRequestNotUsableException ex, WebRequest request) Customize the handling ofAsyncRequestNotUsableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleAsyncRequestTimeoutException(AsyncRequestTimeoutException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofAsyncRequestTimeoutException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleConversionNotSupported(ConversionNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofConversionNotSupportedException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleErrorResponseException(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling of anyErrorResponseException.final @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleException(Exception ex, WebRequest request) Handle all exceptions raised within Spring MVC handling of the request.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex, @Nullable Object body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) Internal handler method that all others in this class delegate to, for common handling, and for the creation of aResponseEntity.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHandlerMethodValidationException(HandlerMethodValidationException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHandlerMethodValidationException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMediaTypeNotAcceptableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMediaTypeNotSupportedException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotReadableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotWritableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpRequestMethodNotSupportedException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMaxUploadSizeExceededException(MaxUploadSizeExceededException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling of anyMaxUploadSizeExceededException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMethodArgumentNotValidException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMethodValidationException(MethodValidationException ex, HttpHeaders headers, HttpStatus status, WebRequest request) Customize the handling ofMethodValidationException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingPathVariableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMissingServletRequestParameter(MissingServletRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingServletRequestParameterException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMissingServletRequestPart(MissingServletRequestPartException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingServletRequestPartException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleNoHandlerFoundException(NoHandlerFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofNoHandlerFoundException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleNoResourceFoundException(NoResourceFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofNoResourceFoundException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleServletRequestBindingException(ServletRequestBindingException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofServletRequestBindingException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofTypeMismatchException.