|
spring-webmvc | ||||||||
PREV NEXT | FRAMES NO FRAMES |
WebApplicationInitializer
implementations that register a DispatcherServlet
configured with annotated classes, e.g.ViewResolver
implementations.input
'
element with a 'type
' of 'checkbox
' or 'radio
'.HandlerMapping
implementations
that derive URL paths according to conventions for specific controller types.HandlerMapping
interface, detecting URL mappings for handler beans through introspection of all
defined beans in the application context.WebApplicationInitializer
implementations that register a DispatcherServlet
in
the servlet context.FlashMapManager
implementations.HandlerExceptionResolver
implementations.HandlerMapping
implementations.HandlerAdapter
implementations that support
handlers of type HandlerMethod
.HandlerExceptionResolver
implementations that support handling exceptions from handlers of type HandlerMethod
.HandlerMapping
implementations that define a
mapping between a request and a HandlerMethod
.AbstractHtmlElementTag
.AbstractJasperReportsView
to provide basic rendering logic
for views that use a fixed format, e.g.LocaleResolver
implementations.HttpMessageConverter
s.AbstractMessageConverterMethodArgumentResolver
with the ability to handle method return
values by writing to the response with HttpMessageConverter
s.input
' elements with a 'type
'
of 'checkbox
' or 'radio
'.RequestCondition
types providing implementations of
AbstractRequestCondition.equals(Object)
, AbstractRequestCondition.hashCode()
, and AbstractRequestCondition.toString()
.input
' element with a 'type
'
of 'checkbox
' or 'radio
'.PreparerFactory
interface, obtaining the current Spring WebApplicationContext and delegating to
AbstractSpringPreparerFactory.getPreparer(String, org.springframework.web.context.WebApplicationContext)
.ThemeResolver
implementations.HandlerMapping
implementations.MethodNameResolver
implementations.Controllers
that return a view name
based on the request URL.View
implementations.XsltView
and its
more flexible XsltView.locateSource(java.util.Map)
mechanismaccesskey
' attribute.
HandlerMethodArgumentResolver
s to use in addition to
the ones registered by default.
HandlerExceptionResolver
s.
generated name
.
Converter
s and Formatter
s.
Converter
s and Formatter
s in addition to the ones
registered by default.
Converter
s and Formatter
s in addition to the ones
registered by default.
HandlerInterceptor
.
HandlerMethodReturnValueHandler
s in addition to the
ones registered by default.
SimpleMappingExceptionResolver.setStatusCodes(Properties)
for use with
Java-based configuration.
WebRequestInterceptor
.
HandlerAdapter
interface
that maps handler methods based on HTTP paths, HTTP methods and request parameters
expressed through the RequestMapping
annotation.HandlerExceptionResolver
interface that handles
exceptions through the ExceptionHandler
annotation.ApplicationContextInitializer
instances specified by the
"contextInitializerClasses" servlet init-param.
HanderInterceptor
with lifecycle methods specific to async
request processing.Callable
and DeferredResult
.FreeMarkerConfig
object via the ApplicationContext.
for
' attribute value for this tag.
id
' attribute value for this tag.
id
' attribute.
BeanNameUrlHandlerMapping
ordered at 2 to map URL
paths to controller bean names.
HandlerMapping
interface that map from URLs to beans with names that start with a slash ("/"),
similar to how Struts maps URLs to action names.HttpServletRequest
attribute that contains the
best matching pattern within the handler mapping.
AbstractAtomFeedView.buildFeedEntries(Map, HttpServletRequest, HttpServletResponse)
to get a list of feed entries.
AbstractRssFeedView.buildFeedItems(Map, HttpServletRequest, HttpServletResponse)
to get a list of feed items.
HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE
, as well as
the HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE
before executing the handler.
ViewResolver
can
handle the supplied view name.
input
'
elements with a 'type
' of 'checkbox
'.input
'
element with a 'type
' of 'checkbox
'.VelocityView.checkTemplate()
to additionally check
that both the layout template and the screen content template can be loaded.
PathMatcher.combine(String, String)
.
FormTag.MODEL_ATTRIBUTE_VARIABLE_NAME
MediaType.sortByQualityValue(List)
and iterate the list.
RequestCondition
contract by delegating to multiple
RequestCondition
types and using a logical conjunction (' && ') to
ensure all conditions match a given request.RequestCondition
types.
HandlerExceptionResolver
s to use.
HandlerExceptionResolver
s to handle unresolved
controller exceptions.
HandlerExceptionResolver
s to handle unresolved
controller exceptions.
Transformer
.
HttpMessageConverter
s to use
with the RequestMappingHandlerAdapter
and the
ExceptionHandlerExceptionResolver
.
HttpMessageConverter
s to use in argument resolvers
and return value handlers that support reading and/or writing to the
body of the request and response.
HttpMessageConverter
s to use in argument resolvers
and return value handlers that support reading and/or writing to the
body of the request and response.
HttpServletResponse
.
Transformer
instance.
ViewResolver
that resolves a view based on the request file name or Accept
header.HttpServletRequest
and HttpServletResponse
instances just like a HttpServlet
but is able to
participate in an MVC workflow.HandlerMapping
that
follows a simple convention for generating URL path mappings from the bean names
of registered Controller
beans
as well as @Controller
annotated beans.HandlerMapping
that
follows a simple convention for generating URL path mappings from the class names
of registered Controller
beans
as well as @Controller
annotated beans.ConversionService
in request scope
so it's available during request processing.ConversionServiceExposingInterceptor
.
String
s corresponding to the fully qualified name of the
JRExporterParameter
into parameters which are keyed by
JRExporterParameter
.
JRExporterParameter
.
JRDataSource
.
Object
into an XSLT Source
if the
Object
type is supported
.
LocaleResolver
implementation that uses a cookie sent back to the user
in case of a custom setting, with a fallback to the specified default locale
or the request's accept-header locale.CookieLocaleResolver
class
using the default cookie name
.
parameter set
of the supplied Transformer
.
Properties
, if any, into the
output property set
of the supplied
Transformer
.
ExtendedServletRequestDataBinder
.
JRExporter
class.
HttpInputMessage
from the given NativeWebRequest
.
null
) that includes dynamic values and static attributes.
HttpOutputMessage
from the given NativeWebRequest
.
Result
used to render the result of the transformation.
DispatcherServlet
.
DispatcherServlet
.
TagWriter
which all output will be written to.
BasicTilesInitializer
.
Transformer
instance used to prefer the XSLT transformation.
XmlWebApplicationContext
or a custom context class
, if set.
XmlWebApplicationContext
or a custom context class
, if set.
Source
to transform.
AbstractDispatcherServletInitializer.registerDispatcherServlet(ServletContext)
has completed.
layout key
.
layout url
.
screen content key
.
HandlerMapping
interface that maps handlers based on HTTP paths expressed through the
RequestMapping
annotation at the type or method level.HandlerExceptionResolver
interface that resolves standard Spring exceptions and translates
them to corresponding HTTP status codes.Ordered.LOWEST_PRECEDENCE
.
RequestToViewNameTranslator
that simply transforms the URI of the incoming request into a view name.DefaultServletHandlerConfigurer
instance.
HttpRequestHandler
for serving static files using the Servlet container's "default" Servlet.WebMvcConfigurationSupport
that detects and delegates
to all beans of type WebMvcConfigurer
allowing them to customize the
configuration provided by WebMvcConfigurationSupport
.MappedInterceptor
and adds them to the list of mapped interceptors.
RequestMapping
annotation on the handler class and on any of its methods.
AbstractControllerUrlHandlerMapping.buildUrlsForHandler(java.lang.String, java.lang.Class)
,
provided that AbstractControllerUrlHandlerMapping.isEligibleForMapping(java.lang.String, java.lang.Class)
returns true
.
"excludedExecptions"
, then searching the
"exceptionMappings"
, and finally using the
"defaultErrorView"
as a fallback.
disabled
' attribute.
disabled
' attribute.
disabled
' attribute.
DispatcherServlet
that will create its own internal web
application context based on defaults and values provided through servlet
init-params.
DispatcherServlet
with the given web application context.
ServletWebRequest
subclass that is aware of
DispatcherServlet
's
request context, such as the Locale determined by the configured
LocaleResolver
.FrameworkServlet.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
.
rendering
, flush any buffered
BodyContent
or, if no BodyContent
is supplied,
render the default content
.
button
' block tag.
form
' block tag and removes the form object name
from the PageContext
.
label
' tag.
options
.
BindStatus
instance.
TagWriter
.
TagWriter
instance.
TagWriter
that might have been left over when using
nested options
.
FrameworkServlet.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
, if desired.
FrameworkServlet.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
.
FrameworkServlet.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
.
ExceptionHandler
method and invoke it to handle the
raised exception.
DispatcherServlet.doDispatch(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
for the actual dispatching.
AbstractFormTag.createTagWriter()
and passes
the created TagWriter
to the AbstractFormTag.writeTagContent(TagWriter)
method.
FrameworkServlet.processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
, if desired.
@Configuration
class to have the Spring MVC
configuration defined in WebMvcConfigurationSupport
imported:
@Configuration @EnableWebMvc @ComponentScan(basePackageClasses = { MyConfiguration.class }) public class MyWebConfiguration { }
AbstractHandlerMethodExceptionResolver
that resolves exceptions
through @ExceptionHandler
methods.AbstractHtmlElementBodyTag.writeTagContent(org.springframework.web.servlet.tags.form.TagWriter)
allowing subclasses to add any attributes to the
PageContext
as needed.
this key
in the PageContext.PAGE_SCOPE
.
HttpServletRequest
attributes under the keys defined in the Servlet 2.4 specification,
for Servlet 2.3 containers as well as misbehaving Servlet 2.4 containers
(such as OC4J).
ServletRequestDataBinder
that adds URI template variables
to the values used for data binding.AbstractHandlerMapping.setInterceptors(java.lang.Object[])
).
JasperPrint
instance from the configured
JasperReport
instance.
WebApplicationContext
from the ServletContext
attribute with the configured name
.
LocaleResolver
implementation
that always returns a fixed default locale.FlashMapManager
.
JspWriter
.
form
' whose
inner elements are bound to properties on a form object.FrameworkServlet
that will create its own internal web
application context based on defaults and values provided through servlet
init-params.
FrameworkServlet
with the given web application context.
UrlBasedViewResolver
that supports FreeMarkerView
(i.e.ServletUriComponentsBuilder.fromContextPath(HttpServletRequest)
except the
request is obtained through RequestContextHolder
.
ServletUriComponentsBuilder.fromRequest(HttpServletRequest)
except the
request is obtained through RequestContextHolder
.
ServletUriComponentsBuilder.fromRequestUri(HttpServletRequest)
except the
request is obtained through RequestContextHolder
.
ServletUriComponentsBuilder.fromServletMapping(HttpServletRequest)
except the
request is obtained through RequestContextHolder
.
acceptCharset
' attribute.
accesskey
' attribute.
action
' attribute.
alt
' attribute.
null
if
not initialized yet via ExceptionHandlerExceptionResolver.afterPropertiesSet()
.
null
if
not initialized yet via RequestMappingHandlerAdapter.afterPropertiesSet()
.
#preHandle(WebRequest)
and before
the handler is executed.
autocomplete
' attribute.
autocomplete
' attribute.
null
.
BindStatus
for this tag.
Locale
.
ClassLoader
to load resource bundles with.
cols
' attribute.
null
if not holding one.
null
.
RequestMappingInfo
;
or instance with 0 consumes expressions, never null
Content-Disposition
header values to
mapping keys.
WebApplicationContext
that this servlet is supposed to use.
{}
).
class
' attribute.
style
' attribute.
null
.
null
.
RequestMappingInfo
; or null
null
.
null
.
ExceptionHandlerExceptionResolver.setCustomArgumentResolvers(java.util.List)
.
null
if none.
ExceptionHandlerExceptionResolver.setReturnValueHandlers(java.util.List)
.
input type="radio"
' tag.
dir
' attribute.
disabled
' attribute.
disabled
' attribute.
disabled
' attribute.
disabled
' attribute.
disabled
' attribute.
Object
, HTML escaped
as required.
Object
, HTML escaped
as required.
PropertyEditor
for EditorAwareTag
.
input type="checkbox/radio"
' tag.
enctype
' attribute.
ExceptionHandler
method for the given exception.
JRExporterParameter
for the given parameter object,
converting it from a String if necessary.
null
if not field-specific.
HttpServletRequest.getLocale()
.
id
' attribute.
DispatcherServlet.getHandler(javax.servlet.http.HttpServletRequest)
,
with this method's cache attribute now effectively getting ignored
null
if no
specific one is found.
Integer.MAX_VALUE
containing the
DefaultServletHttpRequestHandler
instance mapped to "/**"
; or null
if
default servlet handling was not been enabled.
null
in case of no registrations.
null
in case of no registrations.
getHandlerMethodNameForUrlPath
.
RequestMappingInfo
;
or instance with 0 header expressions, never null
id
' attribute.
@InitBinder
methods, or possibly
null
if not initialized yet via RequestMappingHandlerAdapter.afterPropertiesSet()
.
Map
with "input" flash attributes saved on a
previous request.
HandlerMapping
instances with.
input type="checkbox/radio"
' tag.
option
' tag.
itemLabel
' attribute.
Collection
, Map
or array of objects
used to generate the 'input type="checkbox/radio"
' tags.
Collection
, Map
or array
of objects used to generate the inner 'option
' tags.
items
' attribute.
value
' attribute
of the 'input type="checkbox/radio"
' tag.
value
'
attribute of the 'option
' tag.
itemValue
' attribute.
javax.sql.DataSource
that this view uses, if any.
label
' attribute.
<option>
tag.
lang
' attribute.
getLastModified
method.
getLastModified
method.
getLastModified
method.
HttpServlet.getLastModified(HttpServletRequest)
.
null
).
MappedInterceptor
s as an array.
RequestMapping
annotations to create
the RequestMappingInfo.
RequestMappingInfo
.
null
otherwise.
null
otherwise.
PathMatcher.getPatternComparator(String)
.
maxlength
' attribute.
MediaType
for the given filename.
MediaType
for the given parameter value.
MediaType
for the given HttpServletRequest
.
MessageCodesResolver
.
MessageCodesResolver
for building message codes
from data binding and validation error codes.
MessageCodesResolver
for building message codes
from data binding and validation error codes.
HttpMessageConverter
s used by the
RequestMappingHandlerAdapter
and the
ExceptionHandlerExceptionResolver
.
method
' attribute.
RequestMethod
s contained in this condition.
RequestMappingInfo
;
or instance with 0 request methods, never null
ModelAndViewResolver
s, or null
.
ModelMap
instance (never null
).
multiple
' attribute rendered
on the final 'select
' element.
name
' attribute.
name
' attribute.
name
' attribute.
name
' attribute.
LabelTag.getName()
to always return null
,
because the 'name
' attribute is not supported by the
'label
' tag.
NestedPathTag
.
ObjectWrapper
, or the
default wrapper
if none specified.
onblur
' attribute.
onchange
' attribute.
onclick
' attribute.
ondblclick
' attribute.
onfocus
' attribute.
onkeydown
' attribute.
onkeypress
' attribute.
onkeyup
' attribute.
onmousedown
' attribute.
onmousemove
' attribute.
onmouseout
' attribute.
onmouseover
' attribute.
onmouseup
' attribute.
onreset
' attribute.
onselect
' attribute.
onselect
' attribute.
onsubmit
' attribute.
ViewResolver
is evaluated.
RequestMappingInfo
;
or instance with 0 parameter expressions, never null
resolved
property path for the
form object
.
RequestMappingInfo
;
or instance with 0 patterns, never null
RequestMappingInfo
;
or instance with 0 produces expressions, never null
MediaType.ALL
null
if bound to an object rather than a specific property.
PropertyEditor
, if any, in use for value bound to this tag.
readonly
' attribute.
MappingJackson2JsonView.getModelKeys()
instead
MappingJacksonJsonView.getModelKeys()
instead
JasperReport
to fill.
JRDataSource
for passed-in report data.
JRDataSource
,
in prioritized order.
"requestDataValueProcessor"
.
ResourceHttpRequestHandler
instance.
null
if not
initialized yet via ExceptionHandlerExceptionResolver.afterPropertiesSet()
.
null
if not
initialized yet via RequestMappingHandlerAdapter.afterPropertiesSet()
.
@Configuration
and/or @Component
classes to be
provided to the root application context.
null
if none.
rows
' attribute.
@Configuration
and/or @Component
classes to be
provided to the dispatcher servlet
application context.
null
when no
ServletConfig set yet.
DispatcherServlet
, e.g.
null
when no
ServletConfig set yet.
DispatcherServlet
will be registered.
size
' attribute.
size
' attribute.
Classes
that are supported when converting to an
XSLT Source
.
SimpleMappingExceptionResolver.setStatusCodes(Properties)
.
Source
for the XSLT template under the configured URL
.
tabindex
' attribute.
TaglibFactory
used to enable JSP tags to be
accessed from FreeMarker templates.
target
' attribute.
null
.
null
).
null
.
title
' attribute.
type
' attribute.
type
' attribute.
password
' causing the rendered HTML 'input
'
element to have a 'type
' of 'password
'.
Validator
.
Validator
instead of the one created by default.
Validator
instead of the one created by default.
value
' attribute.
value
' attribute.
<option>
tag.
Class
' type of the field.
null
if we are using a view name
to be resolved by the DispatcherServlet via a ViewResolver.
null
if we are using a View object.
HttpServletRequest
into a view name.
HttpServletRequest
into the view name based on the configured parameters.
ViewResolver
.
null
.
WebDataBinder
conversion cannot occur.
Accept
header.
@Valid
such as
an RequestBody
or RequestPart
argument fails validation.
RequestPart
, a MultipartFile
,
or a javax.servlet.http.Part
argument is required but missing.
AbstractUrlViewController.getViewNameForRequest(javax.servlet.http.HttpServletRequest)
.
HandlerExceptionResolverComposite
containing a list
of exception resolvers obtained either through
WebMvcConfigurationSupport.configureHandlerExceptionResolvers(List)
or through
WebMvcConfigurationSupport.addDefaultHandlerExceptionResolvers(List)
.
HandlerExceptionResolver
that delegates to a list of other HandlerExceptionResolver
s.WebDataBinder
conversion error occurs.
ModelAndView
has a view, either
as a view name or as a direct View
instance.
RequestMapping.headers()
.input
' field
containing the databound value.HttpEntity
method argument values and also handles
both HttpEntity
and ResponseEntity
return values.HttpRequestHandlerAdapter
for processing requests
with HttpRequestHandler
s.
HttpRequestHandler
interface with the generic DispatcherServlet
.HttpServlet
which treats
its config parameters (init-param
entries within the
servlet
tag in web.xml
) as bean properties.@InitBinder
methods.
AbstractDetectingUrlHandlerMapping.detectHandlers()
method in addition to the
superclass's initialization.
SimpleUrlHandlerMapping.registerHandlers(java.util.Map)
method in addition to the
superclass's initialization.
ApplicationContext
to do it.
BeanFactory
from the ResourceBundle
,
for the given locale
.
MappedInterceptor
s and adapting
HandlerInterceptors where necessary.
HttpServletBean
, invoked after any bean properties
have been set.
javax.servlet.jsp.jstl.fmt.localizationContext
context-param.
Map<String,?>
with "input" flash attributes saved by a previous request, if any.
input
'
element with a 'type
' of 'text
'.HandlerInterceptor
and an optional list of URL patterns.InterceptorRegistration
instance.
MethodNameResolver
that maps URL to
method name.UrlBasedViewResolver
that supports
InternalResourceView
(i.e.view class
to InternalResourceViewResolver.requiredViewClass()
:
by default InternalResourceView
, or JstlView
if the JSTL API
is present.
HttpServletRequest
attribute that indicates
whether type-level mappings should be inspected.
HandlerMethodReturnValueHandler
.
true
if request parameters should be bound in case of a new form.
false
in case of no explicit default given.
true
in case of no explicit default given.
FlashMap.startExpirationPeriod(int)
.
isFormChangeRequest
variant, called by the full
variant SimpleFormController.isFormChangeRequest(HttpServletRequest, Object)
.
true
if the given path is not a valid resource path.
true
if session form mode is activated.
type="checkbox"
and type="radio"
as illegal
dynamic attributes.
AbstractJasperReportsSingleFormatView
that renders report results in CSV format.AbstractJasperReportsSingleFormatView
that renders report results in HTML format.JasperReportsMultiFormatView
instance
with a default set of mappings.
AbstractJasperReportsSingleFormatView
that renders report results in PDF format.ViewResolver
implementation that
resolves instances of AbstractJasperReportsView
by translating
the supplied view name into the URL of the report file.AbstractJasperReportsSingleFormatView
that renders report results in XLS format.javax.servlet.jsp.PageContext
.InternalResourceView
for JSTL pages,
i.e.label
' element
that defines text that is associated with a single form element.PageContext
attribute under
which the bound value is exposed to inner OptionTags
.
JasperReport
from the specified Resource
.
JasperReport
from the specified Resource
.
buildView
for creating a new instance of the
specified view class, and applies the following Spring lifecycle methods
(as supported by the generic Spring bean factory):
ApplicationContextAware's setApplicationContext
InitializingBean's afterPropertiesSet
Source
object in the supplied model,
converting objects as required.
"warnLogCategory"
property.
View
that renders JSON content by serializing the model for the current request
using Jackson 2's ObjectMapper
.JacksonJsonView
, setting the content type to application/json
.
View
that renders JSON content by serializing the model for the current request
using Jackson's ObjectMapper
.JacksonJsonView
, setting the content type to application/json
.
View
that allows for response context to be rendered as the result of marshalling by a Marshaller
.MarshallingView
with no Marshaller
set.
MarshallingView
with the given Marshaller
set.
true
if the interceptor applies to the given request path.
page context scope
.
@ModelAttribute
methods.
PageContext
attribute under which the
form object name is exposed.
ModelAndView
copying view and model
information to the ModelAndViewContainer
.Controller
implementation that allows multiple request types to be handled by the same
class.MultiActionController
that looks for
handler methods in the present subclass.
MultiActionController
that looks for
handler methods in delegate, rather than a subclass of this class.
FormattingConversionService
for use with annotated
controller methods and the spring:eval
JSP tag.
NamespaceHandler
for Spring MVC configuration namespace.Validator
instance for example for validating
@ModelAttribute
and @RequestBody
method arguments.
"name!=value"
style expression used to specify request
parameters and request header conditions in @RequestMapping
.onblur
' attribute.
onCancel
version.
onchange
' attribute.
onfocus
' attribute.
SimpleFormController.isFormChangeRequest(javax.servlet.http.HttpServletRequest)
returns true
.
onFormChange
variant, called by the full variant
SimpleFormController.onFormChange(HttpServletRequest, HttpServletResponse, Object, BindException)
.
exporterClass
property is specified.
DispatcherServlet.initStrategies(org.springframework.context.ApplicationContext)
.
onSubmit
variant.
onSubmit
variant.
AbstractHtmlElementBodyTag.writeTagContent(org.springframework.web.servlet.tags.form.TagWriter)
allowing subclasses to perform
any precondition checks or setup tasks that might be necessary.
select
' tag before proceeding.
option
' tags within a
'select
' tag.option
' tag.org.springframework.web.method
package.org.springframework.web.method.annotation
package.FlashMap
with
attributes to save for a subsequent request.
ParamTag
to a
ParamAware
tag.spring:param
tags.MethodNameResolver
which supports several strategies
for mapping parameter values to the names of methods to invoke.RequestMapping.params()
.ParamAware
ancestor in the tag hierarchy.input
'
element with a 'type
' of 'password
'.HttpServletRequest
attribute that contains a Map with path variables.
HttpServletRequest
attribute that contains the path
within the handler mapping, in case of a pattern match, or the full
relevant URI (typically within the DispatcherServlet's mapping) else.
Map
method arguments annotated with an @PathVariable
where the annotation does not specify a path variable name.PathVariable
.true
.
RequestDataValueProcessor
instance if one is configured or otherwise returns the same value.
CancellableFormController.isCancelRequest(javax.servlet.http.HttpServletRequest)
.
SimpleFormController.showForm(HttpServletRequest, HttpServletResponse, BindException)
in case of errors, and delegates to the full
SimpleFormController.onSubmit(HttpServletRequest, HttpServletResponse, Object, BindException)
's
variant else.
HttpServletRequest
attribute that contains the set of producible MediaTypes
applicable to the mapped handler.
MethodNameResolver
interface.RedirectView.appendQueryProperties(java.lang.StringBuilder, java.util.Map, java.lang.String)
.
input
'
elements with a 'type
' of 'radio
'.input
'
element with a 'type
' of 'radio
'.readonly
' attribute.
Model
interface that controllers can use to
select attributes for a redirect scenario.RedirectAttributes
.ModelMap
implementation of RedirectAttributes
that formats
values as Strings using a DataBinder
.DispatcherServlet
against the given servlet context.
AbstractHtmlElementBodyTag.doFinally()
allowing subclasses to remove any attributes from the
PageContext
as needed.
this key
in the PageContext.PAGE_SCOPE
.
BodyContent
.
input(checkbox)
' with the supplied value, marking
the 'input
' element as 'checked' if the supplied Boolean is
true
.
input(checkbox)
' with the supplied value, marking the
'input
' element as 'checked' if the supplied value matches the
bound value.
input(checkbox)
' with the supplied value, marking the
'input
' element as 'checked' if the supplied value matches the
bound value.
AbstractJasperReportsView.renderReport(net.sf.jasperreports.engine.JasperPrint, java.util.Map, javax.servlet.http.HttpServletResponse)
method that should be implemented by the subclass.
PageContext
attribute for the
page-level RequestContext
instance.
RequestCondition
useful when the type of the request
condition is not known ahead of time, e.g.RequestContext
.DispatcherServlet
.RequestMappingHandlerAdapter
for processing requests
through annotated controller methods.
AbstractHandlerMethodAdapter
that supports HandlerMethod
s
with the signature -- method argument and return types, defined in
@RequestMapping
.RequestMappingHandlerMapping
ordered at 0 for mapping
requests to annotated controllers.
RequestMappingInfo
instances from type and method-level
@RequestMapping
annotations in
@Controller
classes.PatternsRequestCondition
RequestMethodsRequestCondition
ParamsRequestCondition
HeadersRequestCondition
ConsumesRequestCondition
ProducesRequestCondition
RequestCondition<?>
(optional, custom request condition)
RequestMappingInfo
defines
the mapping between a request and a handler method.RequestMethod
s.@RequestPart
Of type MultipartFile
in conjunction with Spring's
MultipartResolver
abstraction
Of type javax.servlet.http.Part
in conjunction with
Servlet 3.0 multipart requests
@RequestBody
and handles
return values from methods annotated with @ResponseBody
by reading
and writing to the body of the request or response with an
HttpMessageConverter
.HttpServletRequest
into a
logical view name when no view name is explicitly supplied.FreeMarkerView
.
InternalResourceView
.
AbstractJasperReportsView
.
TilesView
.
VelocityView
.
action
' attribute.
ModelAndViewContainer.setRequestHandled(boolean)
to
false
to indicate that the method signature provides access
to the response.
BindStatus
object.
for
' attribute value for this tag,
autogenerating one if none specified.
id
' attribute value for this tag,
autogenerating one if none specified.
Resolves
and returns the name of the form object.
@ResponseStatus
annotation.
ViewResolver
implementation
that uses bean definitions in a ResourceBundle
, specified by
the bundle basename.ResourceHandlerRegistration
instance.
HttpRequestHandler
that serves static resources optimized for superior browser performance
(according to the guidelines of Page Speed, YSlow, etc.) by allowing for flexible cache settings
("cacheSeconds" property, last-modified support).HttpServletRequest
attribute that contains the response status code.
HandlerExceptionResolver
interface that uses the @ResponseStatus
annotation to map exceptions to HTTP status codes.select
'
element.AbstractCookieValueMethodArgumentResolver
that resolves cookie
values from an HttpServletRequest
.InvocableHandlerMethod
with the ability to handle return
values through a registered HandlerMethodReturnValueHandler
and
also supports setting the response status based on a method-level
@ResponseStatus
annotation.ServletInvocableHandlerMethod
instance with the given bean and method.
ModelAttributeMethodProcessor
that applies data
binding through a WebDataBinder of type ServletRequestDataBinder
.ServletRequestDataBinder
.WebRequest
ServletRequest
MultipartRequest
HttpSession
Principal
Locale
InputStream
Reader
ServletResponse
OutputStream
Writer
AbstractWebArgumentResolverAdapter
that creates a
NativeWebRequest
from ServletRequestAttributes
.FlashMap
instances to and from the HTTP session.acceptCharset
' attribute.
accesskey
' attribute.
action
' attribute.
alt
' attribute.
Callable
.
java.util.Properties
object.
java.util.Properties
object,
for all views returned by this resolver.
autocomplete
' attribute.
autocomplete
' attribute.
ResourceBundle
conventions.
ResourceBundle
conventions.
PropertyAccessException
s.
ClassLoader
to load resource bundles with.
@SessionAttributes
annotated handlers
for the given number of seconds.
@SessionAttributes
annotated handlers
for the given number of seconds.
Templates
instance.
null
should be cached and
automatically resolved to null
subsequently.
cols
' attribute.
Content-Disposition
header values to
mapping keys.
WebApplicationContext
that this servlet is supposed to use.
ApplicationContextInitializer
class
names, per the optional "contextInitializerClasses" servlet init-param.
ApplicationContextInitializer
instances should be used
to initialize the application context used by this FrameworkServlet
.
class
' attribute.
style
' attribute.
null
if not needed.
null
if not needed.
ResourceBundle
.
ViewResolver
chain.
DefinitionsFactory
implementation to use.
this
,
assuming that handler methods have been added by a subclass.
input type="checkbox/radio"
' tag.
dir
' attribute.
disabled
' attribute.
disabled
' attribute.
disabled
' attribute.
disabled
' attribute.
disabled
' attribute.
FrameworkServlet.doService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method.
FrameworkServlet.doService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method.
input type="checkbox/radio"
' tag.
JsonEncoding
for this converter.
JsonEncoding
for this converter.
enctype
' attribute.
ErrorListener
interface for custom handling of transformation errors and warnings.
ErrorListener
interface for custom handling of transformation errors and warnings.
ErrorListener
interface for custom handling of transformation errors and warnings.
JRExporter
implementation Class
to use.
exporterParameters
the view class should use.
exposeModelAttributes
flag which denotes whether
or not model attributes should be exposed as HTTP query parameters.
Accept
header.
Accept
header.
FlashMap
is saved
(at request completion) and before it expires.
for
' attribute.
HandlerMethodReturnValueHandler
instances to use to
handle return values.
headers
the view class should use.
id
' attribute.
Accept
header should be ignored.
@InitBinder
methods.
input type="checkbox/radio"
' tag.
option
' tag.
option
' tag.
Collection
, Map
or array of objects
used to generate the 'input type="checkbox/radio"
' tags.
Collection
, Map
or array
of objects used to generate the inner 'option
' tags.
Collection
, Map
or array of objects used to
generate the inner 'option
' tags.
value
' attribute
of the 'input type="checkbox/radio"
' tag.
value
'
attribute of the 'option
' tag.
value
'
attribute of the 'option
' tag.
javax.sql.DataSource
to use for reports with
embedded SQL statements.
DataSource
the view class should use.
label
' attribute.
<option>
tag.
lang
' attribute.
List
of Resource
paths to use as sources
for serving static resources.
Marshaller
to be used by this view.
maxlength
' attribute.
method
' attribute.
@RequestMapping
annotation).
ModelAndViewResolver
s.
multiple
' attribute rendered
on the final 'select
' element.
name
' attribute.
name
' attribute.
null
if not needed.
null
if not needed.
ObjectMapper
for this view.
ObjectMapper
for this view.
onblur
' attribute.
onchange
' attribute.
onclick
' attribute.
ondblclick
' attribute.
onfocus
' attribute.
onkeydown
' attribute.
onkeypress
' attribute.
onkeyup
' attribute.
onmousedown
' attribute.
onmousemove
' attribute.
onmouseout
' attribute.
onmouseover
' attribute.
onmouseup
' attribute.
onreset
' attribute.
onselect
' attribute.
onselect
' attribute.
onsubmit
' attribute.
HandlerMapping
s configured in
the Spring MVC application context.
HandlerMapping
s
configured in the Spring MVC application context.
ViewResolver
is evaluated.
ContentNegotiatingViewResolver.setFavorParameter(boolean)
property is true
.
form object
.
PreparerFactory
implementation to use.
DefaultPrettyPrinter
when writing JSON.
DefaultPrettyPrinter
when writing JSON.
readonly
' attribute.
MappingJackson2JsonView.setModelKeys(Set)
instead
MappingJacksonJsonView.setModelKeys(Set)
instead
reportDataKey
the view class should use.
rows
' attribute.
/
' as the separator
in the view name.
defaultServletName
property has not been explicitly set,
attempts to locate the default Servlet using the known common
container-specific names.
TaglibFactory
for the given ServletContext.
size
' attribute.
size
' attribute rendered
on the final 'select
' element.
subReportDataKeys
the view class should use.
JasperReport
and passed to the JasperReports engine for
rendering as sub-reports, under the same keys as in this mapping.
subReportUrls
the view class should use.
tabindex
' attribute.
target
' attribute.
InheritableThreadLocal
).
title
' attribute.
UrlPathHelper
to use for
the resolution of lookup paths.
406 Not Acceptable
status code should be returned if no suitable view can be found.
setServletConfig
, if available.
JRExporter
writes to the PrintWriter
of the associated with the request (true
) or whether it writes directly to the
InputStream
of the request (false
).
Validators
for this controller.
value
' attribute.
value
' attribute.
<option>
tag.
ViewResolver
.
HandlerMethod
instance and performs the check against the bean
instance it contains.
SimpleFormController.showForm(HttpServletRequest, HttpServletResponse, BindException, Map)
variant with a "controlModel" argument.
SimpleControllerHandlerAdapter
for processing requests
with interface-based controllers.
Controller
workflow interface with
the generic DispatcherServlet
.HandlerExceptionResolver
implementation that allows for mapping exception
class names to view names, either for a set of given handlers or for all handlers in the DispatcherServlet.BeanPostProcessor
that applies initialization and destruction callbacks to beans that
implement the Servlet
interface.PreparerFactory
implementation
that expects preparer class names and builds preparer instances for those,
creating them through the Spring ApplicationContext in order to apply
Spring container callbacks and configured Spring BeanPostProcessors.HandlerMapping
interface to map from URLs to request handler beans.span
' tag.
PreparerFactory
implementation
that expects preparer bean names and obtains preparer beans from the
Spring ApplicationContext.LocaleResolver
,
exposing the DispatcherServlet-managed locale.true
since any method argument and return value
type will be processed in some way.
@RequestPart
Of type MultipartFile
unless annotated with @RequestParam
.
true
.
BaseCommandController.suppressValidation(HttpServletRequest, Object)
variant
SimpleFormController.isFormChangeRequest(HttpServletRequest, Object)
:
A form change request changes the appearance of the form and should not get
validated but just show the new form.
Writer
instance.TagWriter
class that writes to
the supplied PageContext
.
TagWriter
class that writes to
the supplied Writer
.
textarea
'.View
implementation that retrieves a
Tiles definition.UrlBasedViewResolver
that supports TilesView
(i.e.toString()
.
spring:bind
tag (or a data-bound
form element tag from Spring's form tag library).RequestDataValueProcessor
, if any, and allow
it to update the redirect target URL.
HttpServletRequest
attribute that contains the URI
templates map, mapping variable names to values.
UriComponentsBuilder
.ViewResolver
interface, allowing for direct resolution of symbolic view names to URLs,
without explicit mapping definition.Controller
implementation that transforms the virtual
path of a URL into a view name and returns that view.include
or
forward
method.
include
or
forward
method.
java.io.Writer
to write text content
to the HTTP response.
JRExporter
should render its data.
java.io.Writer
to write text content
to the HTTP response.
VelocityView
subclass which adds support for Velocity Tools toolboxes
and Velocity Tools ViewTool callbacks / Velocity Tools 1.3 init methods.UrlBasedViewResolver
that supports VelocityView
(i.e.ViewControllerRegistration
with the given URL path.
View
.void
and String
interpreting
them as view name reference.ModelAndView.clear()
i.e.
AbstractController
and WebContentInterceptor
.@EnableWebMvc
.WebMvcConfigurer
with empty methods allowing
sub-classes to override only the methods they're interested in.TagWriter
.
TagWriter
.
TagWriter
.
TagWriter
.
null
or zero length.
input
' element to the supplied
TagWriter
,
marking it as 'checked' if appropriate.
input type="radio"
' element with the configured
AbstractMultiCheckedElementTag.setItems(Object)
values.
input(radio)
' element with the configured
value
.
form
' tag and exposes
the form object name in the PageContext
.
input
' tag to the supplied TagWriter
including the
databound value.
input
' tag to the supplied TagWriter
.
label
' tag and forces a block tag so
that body content is written correctly.
select
' tag to the supplied
TagWriter
.
value
' attribute to the supplied TagWriter
.
value
' attribute to the supplied TagWriter
.
PasswordInputTag
only writes it's value if the
'showPassword'
property value is
true
.
ViewResolver
implementation that
resolves instances of XsltView
by translating the supplied view name
into the URL of the XSLT stylesheet.
|
spring-webmvc | ||||||||
PREV NEXT | FRAMES NO FRAMES |