|
1 | 1 | <?xml version="1.0" encoding="UTF-8" ?>
|
2 |
| - |
3 | 2 | <xsd:schema xmlns="http://www.springframework.org/schema/mvc"
|
4 | 3 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
5 | 4 | xmlns:beans="http://www.springframework.org/schema/beans"
|
|
23 | 22 | </xsd:annotation>
|
24 | 23 | <xsd:complexType>
|
25 | 24 | <xsd:all minOccurs="0">
|
| 25 | + <xsd:element name="path-matching" minOccurs="0"> |
| 26 | + <xsd:annotation> |
| 27 | + <xsd:documentation><![CDATA[ |
| 28 | + Configures the path matching part of the Spring MVC Controller programming model. |
| 29 | + Like annotation-driven, code-based alternatives are also documented in EnableWebMvc javadoc. |
| 30 | + ]]></xsd:documentation> |
| 31 | + </xsd:annotation> |
| 32 | + <xsd:complexType> |
| 33 | + <xsd:attribute name="suffix-pattern" type="xsd:boolean"> |
| 34 | + <xsd:annotation> |
| 35 | + <xsd:documentation><![CDATA[ |
| 36 | + Whether to use suffix pattern match (".*") when matching patterns to requests. If enabled |
| 37 | + a method mapped to "/users" also matches to "/users.*". |
| 38 | + The default value is true. |
| 39 | + ]]></xsd:documentation> |
| 40 | + </xsd:annotation> |
| 41 | + </xsd:attribute> |
| 42 | + <xsd:attribute name="trailing-slash" type="xsd:boolean"> |
| 43 | + <xsd:annotation> |
| 44 | + <xsd:documentation><![CDATA[ |
| 45 | + Whether to match to URLs irrespective of the presence of a trailing slash. |
| 46 | + If enabled a method mapped to "/users" also matches to "/users/". |
| 47 | + The default value is true. |
| 48 | + ]]></xsd:documentation> |
| 49 | + </xsd:annotation> |
| 50 | + </xsd:attribute> |
| 51 | + <xsd:attribute name="registered-suffixes-only" type="xsd:boolean"> |
| 52 | + <xsd:annotation> |
| 53 | + <xsd:documentation><![CDATA[ |
| 54 | + Whether suffix pattern matching should work only against path extensions |
| 55 | + explicitly registered when you configure content negotiation. |
| 56 | + This is generally recommended to reduce ambiguity and to |
| 57 | + avoid issues such as when a "." appears in the path for other reasons. |
| 58 | + The default value is false. |
| 59 | + ]]></xsd:documentation> |
| 60 | + </xsd:annotation> |
| 61 | + </xsd:attribute> |
| 62 | + <xsd:attribute name="path-helper" type="xsd:string"> |
| 63 | + <xsd:annotation> |
| 64 | + <xsd:documentation><![CDATA[ |
| 65 | + The bean name of the UrlPathHelper to use for resolution of lookup paths. |
| 66 | + Use this to override the default UrlPathHelper with a custom subclass, or to share common UrlPathHelper settings across |
| 67 | + multiple HandlerMappings and MethodNameResolvers. |
| 68 | + ]]></xsd:documentation> |
| 69 | + </xsd:annotation> |
| 70 | + </xsd:attribute> |
| 71 | + <xsd:attribute name="path-matcher" type="xsd:string"> |
| 72 | + <xsd:annotation> |
| 73 | + <xsd:documentation><![CDATA[ |
| 74 | + The bean name of the PathMatcher implementation to use for matching URL paths against registered URL patterns. |
| 75 | + Default is AntPathMatcher. |
| 76 | + ]]></xsd:documentation> |
| 77 | + </xsd:annotation> |
| 78 | + </xsd:attribute> |
| 79 | + </xsd:complexType> |
| 80 | + </xsd:element> |
26 | 81 | <xsd:element name="message-converters" minOccurs="0">
|
27 | 82 | <xsd:annotation>
|
28 | 83 | <xsd:documentation><![CDATA[
|
|
0 commit comments