-2029577871.cache 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xsd:schema xmlns="http://www.springframework.org/schema/mvc"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. xmlns:beans="http://www.springframework.org/schema/beans"
  5. xmlns:tool="http://www.springframework.org/schema/tool"
  6. targetNamespace="http://www.springframework.org/schema/mvc"
  7. elementFormDefault="qualified"
  8. attributeFormDefault="unqualified">
  9. <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-4.0.xsd"/>
  10. <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-4.0.xsd"/>
  11. <xsd:element name="annotation-driven">
  12. <xsd:annotation>
  13. <xsd:documentation source="java:org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"><![CDATA[
  14. Configures the annotation-driven Spring MVC Controller programming model.
  15. Note that this tag works in Web MVC only, not in Portlet MVC!
  16. See org.springframework.web.servlet.config.annotation.EnableWebMvc javadoc for details
  17. on code-based alternatives to enabling annotation-driven Spring MVC support.
  18. ]]></xsd:documentation>
  19. </xsd:annotation>
  20. <xsd:complexType>
  21. <xsd:all minOccurs="0">
  22. <xsd:element name="path-matching" minOccurs="0">
  23. <xsd:annotation>
  24. <xsd:documentation><![CDATA[
  25. Configures the path matching part of the Spring MVC Controller programming model.
  26. Like annotation-driven, code-based alternatives are also documented in EnableWebMvc javadoc.
  27. ]]></xsd:documentation>
  28. </xsd:annotation>
  29. <xsd:complexType>
  30. <xsd:attribute name="suffix-pattern" type="xsd:boolean">
  31. <xsd:annotation>
  32. <xsd:documentation><![CDATA[
  33. Whether to use suffix pattern match (".*") when matching patterns to requests. If enabled
  34. a method mapped to "/users" also matches to "/users.*".
  35. The default value is true.
  36. ]]></xsd:documentation>
  37. </xsd:annotation>
  38. </xsd:attribute>
  39. <xsd:attribute name="trailing-slash" type="xsd:boolean">
  40. <xsd:annotation>
  41. <xsd:documentation><![CDATA[
  42. Whether to match to URLs irrespective of the presence of a trailing slash.
  43. If enabled a method mapped to "/users" also matches to "/users/".
  44. The default value is true.
  45. ]]></xsd:documentation>
  46. </xsd:annotation>
  47. </xsd:attribute>
  48. <xsd:attribute name="registered-suffixes-only" type="xsd:boolean">
  49. <xsd:annotation>
  50. <xsd:documentation><![CDATA[
  51. Whether to use suffix pattern match for registered file extensions only when matching patterns to requests.
  52. If enabled, a controller method mapped to "/users" also matches to "/users.json" assuming ".json" is a file extension registered with
  53. the provided ContentNegotiationManager. This can be useful for allowing only specific URL extensions to be used as well as in cases
  54. where a "." in the URL path can lead to ambiguous interpretation of path variable content, (e.g. given "/users/{user}" and incoming
  55. URLs such as "/users/john.j.joe" and "/users/john.j.joe.json").
  56. If enabled, this attribute also enables suffix-pattern. The default value is false.
  57. ]]></xsd:documentation>
  58. </xsd:annotation>
  59. </xsd:attribute>
  60. <xsd:attribute name="path-helper" type="xsd:string">
  61. <xsd:annotation>
  62. <xsd:documentation><![CDATA[
  63. The bean name of the UrlPathHelper to use for resolution of lookup paths.
  64. Use this to override the default UrlPathHelper with a custom subclass, or to share common UrlPathHelper settings across
  65. multiple HandlerMappings and MethodNameResolvers.
  66. ]]></xsd:documentation>
  67. </xsd:annotation>
  68. </xsd:attribute>
  69. <xsd:attribute name="path-matcher" type="xsd:string">
  70. <xsd:annotation>
  71. <xsd:documentation><![CDATA[
  72. The bean name of the PathMatcher implementation to use for matching URL paths against registered URL patterns.
  73. Default is AntPathMatcher.
  74. ]]></xsd:documentation>
  75. </xsd:annotation>
  76. </xsd:attribute>
  77. </xsd:complexType>
  78. </xsd:element>
  79. <xsd:element name="message-converters" minOccurs="0">
  80. <xsd:annotation>
  81. <xsd:documentation><![CDATA[
  82. Configures one or more HttpMessageConverter types to use for converting @RequestBody method parameters and @ResponseBody method return values.
  83. Using this configuration element is optional.
  84. HttpMessageConverter registrations provided here will take precedence over HttpMessageConverter types registered by default.
  85. Also see the register-defaults attribute if you want to turn off default registrations entirely.
  86. ]]></xsd:documentation>
  87. </xsd:annotation>
  88. <xsd:complexType>
  89. <xsd:sequence>
  90. <xsd:choice maxOccurs="unbounded">
  91. <xsd:element ref="beans:bean">
  92. <xsd:annotation>
  93. <xsd:documentation><![CDATA[
  94. An HttpMessageConverter bean definition.
  95. ]]></xsd:documentation>
  96. </xsd:annotation>
  97. </xsd:element>
  98. <xsd:element ref="beans:ref">
  99. <xsd:annotation>
  100. <xsd:documentation><![CDATA[
  101. A reference to an HttpMessageConverter bean.
  102. ]]></xsd:documentation>
  103. </xsd:annotation>
  104. </xsd:element>
  105. </xsd:choice>
  106. </xsd:sequence>
  107. <xsd:attribute name="register-defaults" type="xsd:boolean" default="true">
  108. <xsd:annotation>
  109. <xsd:documentation><![CDATA[
  110. Whether or not default HttpMessageConverter registrations should be added in addition to the ones provided within this element.
  111. ]]></xsd:documentation>
  112. </xsd:annotation>
  113. </xsd:attribute>
  114. </xsd:complexType>
  115. </xsd:element>
  116. <xsd:element name="argument-resolvers" minOccurs="0">
  117. <xsd:annotation>
  118. <xsd:documentation><![CDATA[
  119. Configures HandlerMethodArgumentResolver types to support custom controller method argument types.
  120. Using this option does not override the built-in support for resolving handler method arguments.
  121. To customize the built-in support for argument resolution configure RequestMappingHandlerAdapter directly.
  122. ]]></xsd:documentation>
  123. </xsd:annotation>
  124. <xsd:complexType>
  125. <xsd:sequence>
  126. <xsd:element ref="beans:bean" minOccurs="1" maxOccurs="unbounded">
  127. <xsd:annotation>
  128. <xsd:documentation><![CDATA[
  129. The HandlerMethodArgumentResolver (or WebArgumentResolver for backwards compatibility) bean definition.
  130. ]]></xsd:documentation>
  131. </xsd:annotation>
  132. </xsd:element>
  133. </xsd:sequence>
  134. </xsd:complexType>
  135. </xsd:element>
  136. <xsd:element name="return-value-handlers" minOccurs="0">
  137. <xsd:annotation>
  138. <xsd:documentation><![CDATA[
  139. Configures HandlerMethodReturnValueHandler types to support custom controller method return value handling.
  140. Using this option does not override the built-in support for handling return values.
  141. To customize the built-in support for handling return values configure RequestMappingHandlerAdapter directly.
  142. ]]></xsd:documentation>
  143. </xsd:annotation>
  144. <xsd:complexType>
  145. <xsd:sequence>
  146. <xsd:element ref="beans:bean" minOccurs="1" maxOccurs="unbounded">
  147. <xsd:annotation>
  148. <xsd:documentation><![CDATA[
  149. The HandlerMethodReturnValueHandler bean definition.
  150. ]]></xsd:documentation>
  151. </xsd:annotation>
  152. </xsd:element>
  153. </xsd:sequence>
  154. </xsd:complexType>
  155. </xsd:element>
  156. <xsd:element name="async-support" minOccurs="0">
  157. <xsd:annotation>
  158. <xsd:documentation><![CDATA[
  159. Configure options for asynchronous request processing.
  160. ]]></xsd:documentation>
  161. </xsd:annotation>
  162. <xsd:complexType>
  163. <xsd:all minOccurs="0">
  164. <xsd:element name="callable-interceptors" minOccurs="0">
  165. <xsd:annotation>
  166. <xsd:documentation><![CDATA[
  167. The ordered set of interceptors that intercept the lifecycle of concurrently executed
  168. requests, which start after a controller returns a java.util.concurrent.Callable.
  169. ]]></xsd:documentation>
  170. </xsd:annotation>
  171. <xsd:complexType>
  172. <xsd:sequence>
  173. <xsd:element ref="beans:bean" minOccurs="1" maxOccurs="unbounded">
  174. <xsd:annotation>
  175. <xsd:documentation><![CDATA[
  176. Registers a CallableProcessingInterceptor.
  177. ]]></xsd:documentation>
  178. </xsd:annotation>
  179. </xsd:element>
  180. </xsd:sequence>
  181. </xsd:complexType>
  182. </xsd:element>
  183. <xsd:element name="deferred-result-interceptors" minOccurs="0">
  184. <xsd:annotation>
  185. <xsd:documentation><![CDATA[
  186. The ordered set of interceptors that intercept the lifecycle of concurrently executed
  187. requests, which start after a controller returns a DeferredResult.
  188. ]]></xsd:documentation>
  189. </xsd:annotation>
  190. <xsd:complexType>
  191. <xsd:sequence>
  192. <xsd:element ref="beans:bean" minOccurs="1" maxOccurs="unbounded">
  193. <xsd:annotation>
  194. <xsd:documentation><![CDATA[
  195. Registers a DeferredResultProcessingInterceptor.
  196. ]]></xsd:documentation>
  197. </xsd:annotation>
  198. </xsd:element>
  199. </xsd:sequence>
  200. </xsd:complexType>
  201. </xsd:element>
  202. </xsd:all>
  203. <xsd:attribute name="task-executor" type="xsd:string">
  204. <xsd:annotation>
  205. <xsd:documentation source="java:org.springframework.core.task.AsyncTaskExecutor"><![CDATA[
  206. The bean name of a default AsyncTaskExecutor to use when a controller method returns a {@link Callable}.
  207. Controller methods can override this default on a per-request basis by returning an AsyncTask.
  208. By default, a SimpleAsyncTaskExecutor is used which does not re-use threads and is not recommended for production.
  209. ]]></xsd:documentation>
  210. <xsd:appinfo>
  211. <tool:annotation kind="ref">
  212. <tool:expected-type type="java:org.springframework.core.task.AsyncTaskExecutor" />
  213. </tool:annotation>
  214. </xsd:appinfo>
  215. </xsd:annotation>
  216. </xsd:attribute>
  217. <xsd:attribute name="default-timeout" type="xsd:long">
  218. <xsd:annotation>
  219. <xsd:documentation><![CDATA[
  220. Specify the amount of time, in milliseconds, before asynchronous request handling times out.
  221. In Servlet 3, the timeout begins after the main request processing thread has exited and ends when the request is dispatched again for further processing of the concurrently produced result.
  222. If this value is not set, the default timeout of the underlying implementation is used, e.g. 10 seconds on Tomcat with Servlet 3.
  223. ]]></xsd:documentation>
  224. </xsd:annotation>
  225. </xsd:attribute>
  226. </xsd:complexType>
  227. </xsd:element>
  228. </xsd:all>
  229. <xsd:attribute name="conversion-service" type="xsd:string">
  230. <xsd:annotation>
  231. <xsd:documentation source="java:org.springframework.core.convert.ConversionService"><![CDATA[
  232. The bean name of the ConversionService that is to be used for type conversion during field binding.
  233. This attribute is not required, and only needs to be specified explicitly if custom converters need to be configured.
  234. If not specified, a default FormattingConversionService is registered that contains converters to/from standard JDK types.
  235. In addition, full support for date/time formatting will be installed if the Joda Time library is present on the classpath.
  236. ]]></xsd:documentation>
  237. <xsd:appinfo>
  238. <tool:annotation kind="ref">
  239. <tool:expected-type type="java:org.springframework.core.convert.ConversionService" />
  240. </tool:annotation>
  241. </xsd:appinfo>
  242. </xsd:annotation>
  243. </xsd:attribute>
  244. <xsd:attribute name="validator" type="xsd:string">
  245. <xsd:annotation>
  246. <xsd:documentation source="java:org.springframework.validation.Validator"><![CDATA[
  247. The bean name of the Validator that is to be used to validate Controller model objects.
  248. This attribute is not required, and only needs to be specified explicitly if a custom Validator needs to be configured.
  249. If not specified, JSR-303 validation will be installed if a JSR-303 provider is present on the classpath.
  250. ]]></xsd:documentation>
  251. <xsd:appinfo>
  252. <tool:annotation kind="ref">
  253. <tool:expected-type type="java:org.springframework.validation.Validator" />
  254. </tool:annotation>
  255. </xsd:appinfo>
  256. </xsd:annotation>
  257. </xsd:attribute>
  258. <xsd:attribute name="content-negotiation-manager" type="xsd:string">
  259. <xsd:annotation>
  260. <xsd:documentation source="java:org.springframework.web.accept.ContentNegotiationManager"><![CDATA[
  261. The bean name of a ContentNegotiationManager that is to be used to determine requested media types. If not specified,
  262. a default ContentNegotiationManager is configured that checks the request path extension first and the "Accept" header
  263. second where path extensions such as ".json", ".xml", ".atom", and ".rss" are recognized if Jackson, JAXB2, or the
  264. Rome libraries are available. As a fallback option, the path extension is also used to perform a lookup through
  265. the ServletContext and the Java Activation Framework (if available).
  266. ]]></xsd:documentation>
  267. <xsd:appinfo>
  268. <tool:annotation kind="ref">
  269. <tool:expected-type type="java:org.springframework.web.accept.ContentNegotiationManager" />
  270. </tool:annotation>
  271. </xsd:appinfo>
  272. </xsd:annotation>
  273. </xsd:attribute>
  274. <xsd:attribute name="message-codes-resolver" type="xsd:string">
  275. <xsd:annotation>
  276. <xsd:documentation><![CDATA[
  277. The bean name of a MessageCodesResolver to use to build message codes from data binding and validation error codes.
  278. This attribute is not required.
  279. If not specified the DefaultMessageCodesResolver is used.
  280. ]]></xsd:documentation>
  281. <xsd:appinfo>
  282. <tool:annotation kind="ref">
  283. <tool:expected-type type="java:org.springframework.validation.MessageCodesResolver" />
  284. </tool:annotation>
  285. </xsd:appinfo>
  286. </xsd:annotation>
  287. </xsd:attribute>
  288. <xsd:attribute name="enable-matrix-variables" type="xsd:boolean">
  289. <xsd:annotation>
  290. <xsd:documentation><![CDATA[
  291. Matrix variables can appear in any path segment, each matrix variable separated with a ";" (semicolon).
  292. For example "/cars;color=red;year=2012". By default, they're removed from the URL. If this property
  293. is set to true, matrix variables are not removed from the URL, and the request mapping pattern
  294. must use URI variable in path segments where matrix variables are expected. For example "/{cars}".
  295. Matrix variables can then be injected into a controller method with @MatrixVariable.
  296. ]]></xsd:documentation>
  297. </xsd:annotation>
  298. </xsd:attribute>
  299. <xsd:attribute name="ignore-default-model-on-redirect" type="xsd:boolean">
  300. <xsd:annotation>
  301. <xsd:documentation><![CDATA[
  302. By default, the content of the "default" model is used both during rendering and redirect scenarios.
  303. Alternatively a controller method can declare a RedirectAttributes argument and use it to provide attributes for a redirect.
  304. Setting this flag to true ensures the "default" model is never used in a redirect scenario even if a RedirectAttributes argument is not declared.
  305. Setting it to false means the "default" model may be used in a redirect if the controller method doesn't declare a RedirectAttributes argument.
  306. The default setting is false but new applications should consider setting it to true.
  307. ]]></xsd:documentation>
  308. </xsd:annotation>
  309. </xsd:attribute>
  310. </xsd:complexType>
  311. </xsd:element>
  312. <xsd:element name="resources">
  313. <xsd:annotation>
  314. <xsd:documentation
  315. source="java:org.springframework.web.servlet.resource.ResourceHttpRequestHandler"><![CDATA[
  316. Configures a handler for serving static resources such as images, js, and, css files with cache headers optimized for efficient
  317. loading in a web browser. Allows resources to be served out of any path that is reachable via Spring's Resource handling.
  318. ]]></xsd:documentation>
  319. </xsd:annotation>
  320. <xsd:complexType>
  321. <xsd:attribute name="mapping" use="required" type="xsd:string">
  322. <xsd:annotation>
  323. <xsd:documentation><![CDATA[
  324. The URL mapping pattern, within the current Servlet context, to use for serving resources from this handler, such as "/resources/**"
  325. ]]></xsd:documentation>
  326. </xsd:annotation>
  327. </xsd:attribute>
  328. <xsd:attribute name="location" use="required" type="xsd:string">
  329. <xsd:annotation>
  330. <xsd:documentation><![CDATA[
  331. The resource location from which to serve static content, specified at a Spring Resource pattern.
  332. Each location must point to a valid directory. Multiple locations may be specified as a comma-separated list,
  333. and the locations will be checked for a given resource in the order specified. For example, a value of
  334. "/, classpath:/META-INF/public-web-resources/" will allow resources to be served both from the web app
  335. root and from any JAR on the classpath that contains a /META-INF/public-web-resources/ directory,
  336. with resources in the web app root taking precedence.
  337. ]]></xsd:documentation>
  338. </xsd:annotation>
  339. </xsd:attribute>
  340. <xsd:attribute name="cache-period" type="xsd:string">
  341. <xsd:annotation>
  342. <xsd:documentation>
  343. <![CDATA[
  344. Specifies the cache period for the resources served by this resource handler, in seconds.
  345. The default is to not send any cache headers but rather to rely on last-modified timestamps only.
  346. Set this to 0 in order to send cache headers that prevent caching, or to a positive number of
  347. seconds in order to send cache headers with the given max-age value.
  348. ]]></xsd:documentation>
  349. </xsd:annotation>
  350. </xsd:attribute>
  351. <xsd:attribute name="order" type="xsd:token">
  352. <xsd:annotation>
  353. <xsd:documentation>
  354. <![CDATA[
  355. Specifies the order of the HandlerMapping for the resource handler. The default order is Ordered.LOWEST_PRECEDENCE - 1.
  356. ]]></xsd:documentation>
  357. </xsd:annotation>
  358. </xsd:attribute>
  359. </xsd:complexType>
  360. </xsd:element>
  361. <xsd:element name="default-servlet-handler">
  362. <xsd:annotation>
  363. <xsd:documentation
  364. source="java:org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler"><![CDATA[
  365. Configures a handler for serving static resources by forwarding to the Servlet container's default Servlet. Use of this
  366. handler allows using a "/" mapping with the DispatcherServlet while still utilizing the Servlet container to serve static
  367. resources.
  368. This handler will forward all requests to the default Servlet. Therefore it is important that it remains last in the
  369. order of all other URL HandlerMappings. That will be the case if you use the "annotation-driven" element or alternatively
  370. if you are setting up your customized HandlerMapping instance be sure to set its "order" property to a value lower than
  371. that of the DefaultServletHttpRequestHandler, which is Integer.MAX_VALUE.
  372. ]]></xsd:documentation>
  373. </xsd:annotation>
  374. <xsd:complexType>
  375. <xsd:attribute name="default-servlet-name" type="xsd:string">
  376. <xsd:annotation>
  377. <xsd:documentation><![CDATA[
  378. The name of the default Servlet to forward to for static resource requests. The handler will try to auto-detect the container's
  379. default Servlet at startup time using a list of known names. If the default Servlet cannot be detected because of using an unknown
  380. container or because it has been manually configured, the servlet name must be set explicitly.
  381. ]]></xsd:documentation>
  382. </xsd:annotation>
  383. </xsd:attribute>
  384. </xsd:complexType>
  385. </xsd:element>
  386. <xsd:element name="interceptors">
  387. <xsd:annotation>
  388. <xsd:documentation><![CDATA[
  389. The ordered set of interceptors that intercept HTTP Servlet Requests handled by Controllers.
  390. Interceptors allow requests to be pre/post processed before/after handling.
  391. Each inteceptor must implement the org.springframework.web.servlet.HandlerInterceptor or
  392. org.springframework.web.context.request.WebRequestInterceptor interface.
  393. The interceptors in this set are automatically configured on each registered HandlerMapping.
  394. The URI paths each interceptor applies to are configurable.
  395. ]]></xsd:documentation>
  396. </xsd:annotation>
  397. <xsd:complexType>
  398. <xsd:choice maxOccurs="unbounded">
  399. <xsd:choice>
  400. <xsd:element ref="beans:bean">
  401. <xsd:annotation>
  402. <xsd:documentation><![CDATA[
  403. Registers an interceptor that intercepts every request regardless of its URI path..
  404. ]]></xsd:documentation>
  405. </xsd:annotation>
  406. </xsd:element>
  407. <xsd:element ref="beans:ref">
  408. <xsd:annotation>
  409. <xsd:documentation><![CDATA[
  410. Registers an interceptor that intercepts every request regardless of its URI path..
  411. ]]></xsd:documentation>
  412. </xsd:annotation>
  413. </xsd:element>
  414. </xsd:choice>
  415. <xsd:element name="interceptor">
  416. <xsd:annotation>
  417. <xsd:documentation source="java:org.springframework.web.servlet.handler.MappedInterceptor"><![CDATA[
  418. Registers an interceptor that interceptors requests sent to one or more URI paths.
  419. ]]></xsd:documentation>
  420. </xsd:annotation>
  421. <xsd:complexType>
  422. <xsd:sequence>
  423. <xsd:element name="mapping" maxOccurs="unbounded">
  424. <xsd:complexType>
  425. <xsd:attribute name="path" type="xsd:string" use="required">
  426. <xsd:annotation>
  427. <xsd:documentation><![CDATA[
  428. A path into the application intercepted by this interceptor.
  429. Exact path mapping URIs (such as "/myPath") are supported as well as Ant-stype path patterns (such as /myPath/**).
  430. ]]></xsd:documentation>
  431. </xsd:annotation>
  432. </xsd:attribute>
  433. </xsd:complexType>
  434. </xsd:element>
  435. <xsd:element name="exclude-mapping" minOccurs="0" maxOccurs="unbounded">
  436. <xsd:complexType>
  437. <xsd:attribute name="path" type="xsd:string" use="required">
  438. <xsd:annotation>
  439. <xsd:documentation><![CDATA[
  440. A path into the application that should not be intercepted by this interceptor.
  441. Exact path mapping URIs (such as "/admin") are supported as well as Ant-stype path patterns (such as /admin/**).
  442. ]]></xsd:documentation>
  443. </xsd:annotation>
  444. </xsd:attribute>
  445. </xsd:complexType>
  446. </xsd:element>
  447. <xsd:choice>
  448. <xsd:element ref="beans:bean">
  449. <xsd:annotation>
  450. <xsd:documentation><![CDATA[
  451. The interceptor's bean definition.
  452. ]]></xsd:documentation>
  453. </xsd:annotation>
  454. </xsd:element>
  455. <xsd:element ref="beans:ref">
  456. <xsd:annotation>
  457. <xsd:documentation><![CDATA[
  458. A reference to an interceptor bean.
  459. ]]></xsd:documentation>
  460. </xsd:annotation>
  461. </xsd:element>
  462. </xsd:choice>
  463. </xsd:sequence>
  464. </xsd:complexType>
  465. </xsd:element>
  466. </xsd:choice>
  467. <xsd:attribute name="path-matcher" type="xsd:string">
  468. <xsd:annotation>
  469. <xsd:documentation source="java:org.springframework.util.PathMatcher"><![CDATA[
  470. The bean name of a PathMatcher implementation to use with nested interceptors. This is an optional,
  471. advanced property required only if using custom PathMatcher implementations that support mapping
  472. metadata other than the Ant path patterns supported by default.
  473. ]]></xsd:documentation>
  474. <xsd:appinfo>
  475. <tool:annotation kind="ref">
  476. <tool:expected-type type="java:org.springframework.util.PathMatcher" />
  477. </tool:annotation>
  478. </xsd:appinfo>
  479. </xsd:annotation>
  480. </xsd:attribute>
  481. </xsd:complexType>
  482. </xsd:element>
  483. <xsd:element name="view-controller">
  484. <xsd:annotation>
  485. <xsd:documentation source="java:org.springframework.web.servlet.mvc.ParameterizableViewController"><![CDATA[
  486. Map a simple (logic-less) view controller to a specific URL path (or pattern)
  487. in order to render a response with a pre-configured status code and view.
  488. ]]></xsd:documentation>
  489. </xsd:annotation>
  490. <xsd:complexType>
  491. <xsd:attribute name="path" type="xsd:string" use="required">
  492. <xsd:annotation>
  493. <xsd:documentation><![CDATA[
  494. The URL path (or pattern) the controller is mapped to.
  495. ]]></xsd:documentation>
  496. </xsd:annotation>
  497. </xsd:attribute>
  498. <xsd:attribute name="view-name" type="xsd:string">
  499. <xsd:annotation>
  500. <xsd:documentation><![CDATA[
  501. The name of the view to render. Optional.
  502. If not specified, the view name will be determined from the current HttpServletRequest
  503. by the DispatcherServlet's RequestToViewNameTranslator.
  504. ]]></xsd:documentation>
  505. </xsd:annotation>
  506. </xsd:attribute>
  507. </xsd:complexType>
  508. </xsd:element>
  509. </xsd:schema>