Package | Description |
---|---|
org.springframework.orm.hibernate3.support |
Classes supporting the
org.springframework.orm.hibernate3 package. |
org.springframework.orm.jdo.support |
Classes supporting the
org.springframework.orm.jdo package. |
org.springframework.orm.jpa.support |
Classes supporting the
org.springframework.orm.jpa package. |
org.springframework.web.bind.support |
Support classes for web data binding.
|
org.springframework.web.context.request |
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
|
org.springframework.web.context.request.async |
Support for asynchronous request processing.
|
org.springframework.web.method.annotation |
Support classes for annotation-based handler method processing.
|
org.springframework.web.portlet.context |
Support for Spring's application context concept in a portlet environment,
including ApplicationContext implementations and various utility classes.
|
org.springframework.web.servlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
Modifier and Type | Method and Description |
---|---|
void |
OpenSessionInViewInterceptor.afterCompletion(WebRequest request,
Exception ex)
Unbind the Hibernate
Session from the thread and close it (in
single session mode), or process deferred close for all sessions that have
been opened during the current request (in deferred close mode). |
void |
OpenSessionInViewInterceptor.afterConcurrentHandlingStarted(WebRequest request) |
void |
OpenSessionInViewInterceptor.postHandle(WebRequest request,
ModelMap model)
Flush the Hibernate
Session before view rendering, if necessary. |
void |
OpenSessionInViewInterceptor.preHandle(WebRequest request)
Open a new Hibernate
Session according to the settings of this
HibernateAccessor and bind it to the thread via the
TransactionSynchronizationManager . |
Modifier and Type | Method and Description |
---|---|
void |
OpenPersistenceManagerInViewInterceptor.afterCompletion(WebRequest request,
Exception ex) |
void |
OpenPersistenceManagerInViewInterceptor.postHandle(WebRequest request,
ModelMap model) |
void |
OpenPersistenceManagerInViewInterceptor.preHandle(WebRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
OpenEntityManagerInViewInterceptor.afterCompletion(WebRequest request,
Exception ex) |
void |
OpenEntityManagerInViewInterceptor.afterConcurrentHandlingStarted(WebRequest request) |
void |
OpenEntityManagerInViewInterceptor.postHandle(WebRequest request,
ModelMap model) |
void |
OpenEntityManagerInViewInterceptor.preHandle(WebRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
WebRequestDataBinder.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.
|
void |
DefaultSessionAttributeStore.cleanupAttribute(WebRequest request,
String attributeName) |
void |
SessionAttributeStore.cleanupAttribute(WebRequest request,
String attributeName)
Clean up the specified attribute in the backend session.
|
protected String |
DefaultSessionAttributeStore.getAttributeNameInSession(WebRequest request,
String attributeName)
Calculate the attribute name in the backend session.
|
void |
WebBindingInitializer.initBinder(WebDataBinder binder,
WebRequest request)
Initialize the given DataBinder for the given request.
|
void |
ConfigurableWebBindingInitializer.initBinder(WebDataBinder binder,
WebRequest request) |
Object |
DefaultSessionAttributeStore.retrieveAttribute(WebRequest request,
String attributeName) |
Object |
SessionAttributeStore.retrieveAttribute(WebRequest request,
String attributeName)
Retrieve the specified attribute from the backend session.
|
void |
DefaultSessionAttributeStore.storeAttribute(WebRequest request,
String attributeName,
Object attributeValue) |
void |
SessionAttributeStore.storeAttribute(WebRequest request,
String attributeName,
Object attributeValue)
Store the supplied attribute in the backend session.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NativeWebRequest
Extension of the
WebRequest interface, exposing the
native request and response objects in a generic fashion. |
Modifier and Type | Class and Description |
---|---|
class |
FacesWebRequest
WebRequest adapter for a JSF FacesContext . |
class |
ServletWebRequest
WebRequest adapter for an HttpServletRequest . |
Modifier and Type | Method and Description |
---|---|
void |
WebRequestInterceptor.afterCompletion(WebRequest request,
Exception ex)
Callback after completion of request processing, that is, after rendering
the view.
|
void |
Log4jNestedDiagnosticContextInterceptor.afterCompletion(WebRequest request,
Exception ex)
Removes the log message from the Log4J NDC after the request is processed.
|
void |
AsyncWebRequestInterceptor.afterConcurrentHandlingStarted(WebRequest request)
Called instead of
postHandle and afterCompletion , when the
the handler started handling the request concurrently. |
void |
Log4jNestedDiagnosticContextInterceptor.afterConcurrentHandlingStarted(WebRequest request)
Removes the log message from the Log4J NDC when the processing thread is
exited after the start of asynchronous request handling.
|
protected String |
Log4jNestedDiagnosticContextInterceptor.getNestedDiagnosticContextMessage(WebRequest request)
Determine the message to be pushed onto the Log4J nested diagnostic context.
|
void |
WebRequestInterceptor.postHandle(WebRequest request,
ModelMap model)
Intercept the execution of a request handler after its successful
invocation, right before view rendering (if any).
|
void |
Log4jNestedDiagnosticContextInterceptor.postHandle(WebRequest request,
ModelMap model) |
void |
WebRequestInterceptor.preHandle(WebRequest request)
Intercept the execution of a request handler before its invocation.
|
void |
Log4jNestedDiagnosticContextInterceptor.preHandle(WebRequest request)
Adds a message the Log4J NDC before the request is processed.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncWebRequest
Extends
NativeWebRequest with methods for asynchronous request processing. |
Modifier and Type | Class and Description |
---|---|
class |
NoSupportAsyncWebRequest
An
AsyncWebRequest to use when there is no underlying async support. |
class |
StandardServletAsyncWebRequest
A Servlet 3.0 implementation of
AsyncWebRequest . |
Modifier and Type | Method and Description |
---|---|
static WebAsyncManager |
WebAsyncUtils.getAsyncManager(WebRequest webRequest)
Obtain the
WebAsyncManager for the current request, or if not
found, create and associate it with the request. |
Modifier and Type | Method and Description |
---|---|
void |
SessionAttributesHandler.cleanupAttributes(WebRequest request)
Remove "known" attributes from the session, i.e.
|
Map<String,Object> |
SessionAttributesHandler.retrieveAttributes(WebRequest request)
Retrieve "known" attributes from the session, i.e.
|
void |
SessionAttributesHandler.storeAttributes(WebRequest request,
Map<String,?> attributes)
Store a subset of the given attributes in the session.
|
Modifier and Type | Class and Description |
---|---|
class |
PortletWebRequest
WebRequest adapter
for a PortletRequest . |
Modifier and Type | Class and Description |
---|---|
class |
DispatcherServletWebRequest
ServletWebRequest subclass that is aware of
DispatcherServlet 's
request context, such as the Locale determined by the configured
LocaleResolver . |
Modifier and Type | Method and Description |
---|---|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleBindException(BindException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for BindException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleConversionNotSupported(ConversionNotSupportedException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for ConversionNotSupportedException.
|
ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleException(Exception ex,
WebRequest request)
Provides handling for standard Spring MVC exceptions.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex,
Object body,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
A single place to customize the response body of all Exception types.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for HttpMediaTypeNotAcceptableException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for HttpMediaTypeNotSupportedException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for HttpMessageNotReadableException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for HttpMessageNotWritableException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for HttpRequestMethodNotSupportedException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleMethodArgumentNotValid(MethodArgumentNotValidException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for MethodArgumentNotValidException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleMissingServletRequestParameter(MissingServletRequestParameterException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for MissingServletRequestParameterException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleMissingServletRequestPart(MissingServletRequestPartException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for MissingServletRequestPartException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleNoSuchRequestHandlingMethod(NoSuchRequestHandlingMethodException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for NoSuchRequestHandlingMethodException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleServletRequestBindingException(ServletRequestBindingException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for ServletRequestBindingException.
|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for TypeMismatchException.
|
Copyright © 2015. All rights reserved.