|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
|
|
|
|
<xsd:element name="annotation-driven">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation source="java:org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"><![CDATA[
|
|
|
|
|
<xsd:documentation source="java:org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter"><![CDATA[
|
|
|
|
|
Configures the annotation-driven Spring MVC Controller programming model.
|
|
|
|
|
Note that this tag works in Web MVC only, not in Portlet MVC!
|
|
|
|
|
|
|
|
|
|
@@ -83,10 +83,10 @@
|
|
|
|
|
<xsd:element name="message-converters" minOccurs="0">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Configures one or more HttpMessageConverter types to use for converting @RequestBody method parameters and @ResponseBody method return values.
|
|
|
|
|
Using this configuration element is optional.
|
|
|
|
|
HttpMessageConverter registrations provided here will take precedence over HttpMessageConverter types registered by default.
|
|
|
|
|
Also see the register-defaults attribute if you want to turn off default registrations entirely.
|
|
|
|
|
Configures one or more HttpMessageConverter types to use for converting @RequestBody method parameters and
|
|
|
|
|
@ResponseBody method return values. Using this configuration element is optional.
|
|
|
|
|
HttpMessageConverter registrations provided here will take precedence over HttpMessageConverter types registered
|
|
|
|
|
by default. Also see the register-defaults attribute if you want to turn off default registrations entirely.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:complexType>
|
|
|
|
|
@@ -111,7 +111,8 @@
|
|
|
|
|
<xsd:attribute name="register-defaults" type="xsd:boolean" default="true">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Whether or not default HttpMessageConverter registrations should be added in addition to the ones provided within this element.
|
|
|
|
|
Whether or not default HttpMessageConverter registrations should be added in addition to the ones provided
|
|
|
|
|
within this element.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
@@ -141,7 +142,7 @@
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.web.method.support.HandlerMethodArgumentResolver" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.web.method.support.HandlerMethodArgumentResolver"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -173,7 +174,7 @@
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.web.method.support.HandlerMethodReturnValueHandler" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.web.method.support.HandlerMethodReturnValueHandler"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -237,7 +238,7 @@
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.core.task.AsyncTaskExecutor" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.core.task.AsyncTaskExecutor"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -246,8 +247,9 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Specify the amount of time, in milliseconds, before asynchronous request handling times out.
|
|
|
|
|
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.
|
|
|
|
|
If this value is not set, the default timeout of the underlying implementation is used, e.g. 10 seconds on Tomcat with Servlet 3.
|
|
|
|
|
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. If this value is not set,
|
|
|
|
|
the default timeout of the underlying implementation is used, e.g. 10 seconds on Tomcat with Servlet 3.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
@@ -258,13 +260,12 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation source="java:org.springframework.core.convert.ConversionService"><![CDATA[
|
|
|
|
|
The bean name of the ConversionService that is to be used for type conversion during field binding.
|
|
|
|
|
This attribute is not required, and only needs to be specified explicitly if custom converters need to be configured.
|
|
|
|
|
If not specified, a default FormattingConversionService is registered that contains converters to/from standard JDK types.
|
|
|
|
|
In addition, full support for date/time formatting will be installed if the Joda Time library is present on the classpath.
|
|
|
|
|
This attribute is not required, and only needs to be specified if custom converters need to be configured.
|
|
|
|
|
If not specified, a default FormattingConversionService is registered with converters to/from common value types.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.core.convert.ConversionService" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.core.convert.ConversionService"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -273,12 +274,12 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation source="java:org.springframework.validation.Validator"><![CDATA[
|
|
|
|
|
The bean name of the Validator that is to be used to validate Controller model objects.
|
|
|
|
|
This attribute is not required, and only needs to be specified explicitly if a custom Validator needs to be configured.
|
|
|
|
|
This attribute is not required, and only needs to be specified if a custom Validator needs to be configured.
|
|
|
|
|
If not specified, JSR-303 validation will be installed if a JSR-303 provider is present on the classpath.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.validation.Validator" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.validation.Validator"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -286,15 +287,15 @@
|
|
|
|
|
<xsd:attribute name="content-negotiation-manager" type="xsd:string">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation source="java:org.springframework.web.accept.ContentNegotiationManager"><![CDATA[
|
|
|
|
|
The bean name of a ContentNegotiationManager that is to be used to determine requested media types. If not specified,
|
|
|
|
|
a default ContentNegotiationManager is configured that checks the request path extension first and the "Accept" header
|
|
|
|
|
second where path extensions such as ".json", ".xml", ".atom", and ".rss" are recognized if Jackson, JAXB2, or the
|
|
|
|
|
Rome libraries are available. As a fallback option, the path extension is also used to perform a lookup through
|
|
|
|
|
the ServletContext and the Java Activation Framework (if available).
|
|
|
|
|
The bean name of a ContentNegotiationManager that is to be used to determine requested media types.
|
|
|
|
|
If not specified, a default ContentNegotiationManager is configured that checks the request path extension
|
|
|
|
|
first and the "Accept" header second where path extensions such as ".json", ".xml", ".atom", and ".rss" are
|
|
|
|
|
recognized if Jackson, JAXB2, or the Rome libraries are available. As a fallback option, the path extension
|
|
|
|
|
is also used to perform a lookup through the ServletContext and the Java Activation Framework (if available).
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.web.accept.ContentNegotiationManager" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.web.accept.ContentNegotiationManager"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -308,7 +309,7 @@
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.validation.MessageCodesResolver" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.validation.MessageCodesResolver"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -328,9 +329,10 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
By default, the content of the "default" model is used both during rendering and redirect scenarios.
|
|
|
|
|
Alternatively a controller method can declare a RedirectAttributes argument and use it to provide attributes for a redirect.
|
|
|
|
|
Setting this flag to true ensures the "default" model is never used in a redirect scenario even if a RedirectAttributes argument is not declared.
|
|
|
|
|
Setting it to false means the "default" model may be used in a redirect if the controller method doesn't declare a RedirectAttributes argument.
|
|
|
|
|
Alternatively a controller method can declare a RedirectAttributes argument and use it to provide attributes
|
|
|
|
|
for a redirect. Setting this flag to true ensures the "default" model is never used in a redirect scenario
|
|
|
|
|
even if a RedirectAttributes argument is not declared. Setting it to false means the "default" model
|
|
|
|
|
may be used in a redirect if the controller method doesn't declare a RedirectAttributes argument.
|
|
|
|
|
The default setting is false but new applications should consider setting it to true.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -345,7 +347,7 @@
|
|
|
|
|
to the file name, e.g. "styles/main-e36d2e05253c6c7085a91522ce43a0b4.css".
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:attribute name="patterns" type="xsd:string" use="required" />
|
|
|
|
|
<xsd:attribute name="patterns" type="xsd:string" use="required"/>
|
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
|
|
<xsd:complexType name="fixed-version-strategy">
|
|
|
|
|
@@ -355,8 +357,8 @@
|
|
|
|
|
e.g. reduced SHA, version name, release date, etc.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:attribute name="version" type="xsd:string" use="required" />
|
|
|
|
|
<xsd:attribute name="patterns" type="xsd:string" use="required" />
|
|
|
|
|
<xsd:attribute name="version" type="xsd:string" use="required"/>
|
|
|
|
|
<xsd:attribute name="patterns" type="xsd:string" use="required"/>
|
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
|
|
<xsd:complexType name="resource-version-strategy">
|
|
|
|
|
@@ -381,7 +383,7 @@
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:element>
|
|
|
|
|
</xsd:choice>
|
|
|
|
|
<xsd:attribute name="patterns" type="xsd:string" use="required" />
|
|
|
|
|
<xsd:attribute name="patterns" type="xsd:string" use="required"/>
|
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
|
|
<xsd:complexType name="version-resolver">
|
|
|
|
|
@@ -393,9 +395,9 @@
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:choice maxOccurs="unbounded">
|
|
|
|
|
<xsd:element type="content-version-strategy" name="content-version-strategy" />
|
|
|
|
|
<xsd:element type="fixed-version-strategy" name="fixed-version-strategy" />
|
|
|
|
|
<xsd:element type="resource-version-strategy" name="version-strategy" />
|
|
|
|
|
<xsd:element type="content-version-strategy" name="content-version-strategy"/>
|
|
|
|
|
<xsd:element type="fixed-version-strategy" name="fixed-version-strategy"/>
|
|
|
|
|
<xsd:element type="resource-version-strategy" name="version-strategy"/>
|
|
|
|
|
</xsd:choice>
|
|
|
|
|
</xsd:complexType>
|
|
|
|
|
|
|
|
|
|
@@ -403,13 +405,13 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation source="org.springframework.web.servlet.resource.ResourceResolver"><![CDATA[
|
|
|
|
|
A list of ResourceResolver beans definition and references.
|
|
|
|
|
A ResourceResolver provides mechanisms for resolving an incoming request to an actual Resource and for obtaining the public
|
|
|
|
|
URL path that clients should use when requesting the resource.
|
|
|
|
|
A ResourceResolver provides mechanisms for resolving an incoming request to an actual Resource and for
|
|
|
|
|
obtaining the public URL path that clients should use when requesting the resource.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:sequence>
|
|
|
|
|
<xsd:choice maxOccurs="unbounded">
|
|
|
|
|
<xsd:element type="version-resolver" name="version-resolver" />
|
|
|
|
|
<xsd:element type="version-resolver" name="version-resolver"/>
|
|
|
|
|
<xsd:element ref="beans:bean">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation source="org.springframework.web.servlet.resource.ResourceResolver"><![CDATA[
|
|
|
|
|
@@ -590,8 +592,9 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation
|
|
|
|
|
source="java:org.springframework.web.servlet.resource.ResourceHttpRequestHandler"><![CDATA[
|
|
|
|
|
Configures a handler for serving static resources such as images, js, and, css files with cache headers optimized for efficient
|
|
|
|
|
loading in a web browser. Allows resources to be served out of any path that is reachable via Spring's Resource handling.
|
|
|
|
|
Configures a handler for serving static resources such as images, js, and, css files with cache headers
|
|
|
|
|
optimized for efficient loading in a web browser. Allows resources to be served out of any path that is
|
|
|
|
|
reachable via Spring's Resource handling.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:complexType>
|
|
|
|
|
@@ -602,7 +605,8 @@
|
|
|
|
|
<xsd:attribute name="mapping" use="required" type="xsd:string">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
The URL mapping pattern, within the current Servlet context, to use for serving resources from this handler, such as "/resources/**"
|
|
|
|
|
The URL mapping pattern within the current Servlet context to use for serving resources from this handler,
|
|
|
|
|
such as "/resources/**"
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
@@ -633,7 +637,8 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation>
|
|
|
|
|
<![CDATA[
|
|
|
|
|
Specifies the order of the HandlerMapping for the resource handler. The default order is Ordered.LOWEST_PRECEDENCE - 1.
|
|
|
|
|
Specifies the order of the HandlerMapping for the resource handler.
|
|
|
|
|
The default order is Ordered.LOWEST_PRECEDENCE - 1.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
@@ -644,22 +649,23 @@
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation
|
|
|
|
|
source="java:org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler"><![CDATA[
|
|
|
|
|
Configures a handler for serving static resources by forwarding to the Servlet container's default Servlet. Use of this
|
|
|
|
|
handler allows using a "/" mapping with the DispatcherServlet while still utilizing the Servlet container to serve static
|
|
|
|
|
resources.
|
|
|
|
|
This handler will forward all requests to the default Servlet. Therefore it is important that it remains last in the
|
|
|
|
|
order of all other URL HandlerMappings. That will be the case if you use the "annotation-driven" element or alternatively
|
|
|
|
|
if you are setting up your customized HandlerMapping instance be sure to set its "order" property to a value lower than
|
|
|
|
|
that of the DefaultServletHttpRequestHandler, which is Integer.MAX_VALUE.
|
|
|
|
|
Configures a handler for serving static resources by forwarding to the Servlet container's default Servlet.
|
|
|
|
|
Use of this handler allows using a "/" mapping with the DispatcherServlet while still utilizing the Servlet
|
|
|
|
|
container to serve static resources.
|
|
|
|
|
This handler will forward all requests to the default Servlet. Therefore it is important that it remains last
|
|
|
|
|
in the order of all other URL HandlerMappings. That will be the case if you use the "annotation-driven" element
|
|
|
|
|
or alternatively if you are setting up your customized HandlerMapping instance be sure to set its "order"
|
|
|
|
|
property to a value lower than that of the DefaultServletHttpRequestHandler, which is Integer.MAX_VALUE.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:complexType>
|
|
|
|
|
<xsd:attribute name="default-servlet-name" type="xsd:string">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
The name of the default Servlet to forward to for static resource requests. The handler will try to auto-detect the container's
|
|
|
|
|
default Servlet at startup time using a list of known names. If the default Servlet cannot be detected because of using an unknown
|
|
|
|
|
container or because it has been manually configured, the servlet name must be set explicitly.
|
|
|
|
|
The name of the default Servlet to forward to for static resource requests. The handler will try to
|
|
|
|
|
autodetect the container's default Servlet at startup time using a list of known names. If the default
|
|
|
|
|
Servlet cannot be detected because of using an unknown container or because it has been manually configured,
|
|
|
|
|
the servlet name must be set explicitly.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
@@ -671,7 +677,7 @@
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
The ordered set of interceptors that intercept HTTP Servlet Requests handled by Controllers.
|
|
|
|
|
Interceptors allow requests to be pre/post processed before/after handling.
|
|
|
|
|
Each inteceptor must implement the org.springframework.web.servlet.HandlerInterceptor or
|
|
|
|
|
Each interceptor must implement the org.springframework.web.servlet.HandlerInterceptor or
|
|
|
|
|
org.springframework.web.context.request.WebRequestInterceptor interface.
|
|
|
|
|
The interceptors in this set are automatically detected by every registered HandlerMapping.
|
|
|
|
|
The URI paths each interceptor applies to are configurable.
|
|
|
|
|
@@ -756,7 +762,7 @@
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:org.springframework.util.PathMatcher" />
|
|
|
|
|
<tool:expected-type type="java:org.springframework.util.PathMatcher"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -947,7 +953,7 @@
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
<xsd:appinfo>
|
|
|
|
|
<tool:annotation kind="ref">
|
|
|
|
|
<tool:expected-type type="java:java.lang.Class" />
|
|
|
|
|
<tool:expected-type type="java:java.lang.Class"/>
|
|
|
|
|
</tool:annotation>
|
|
|
|
|
</xsd:appinfo>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
@@ -1285,67 +1291,67 @@
|
|
|
|
|
<xsd:element name="mapping" minOccurs="1" maxOccurs="unbounded">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Enable cross origin requests processing on the specified path pattern.
|
|
|
|
|
By default, all origins, GET HEAD POST methods, all headers and credentials
|
|
|
|
|
are allowed and max age is set to 30 minutes.
|
|
|
|
|
Enable cross origin requests processing on the specified path pattern.
|
|
|
|
|
By default, all origins, GET HEAD POST methods, all headers and credentials
|
|
|
|
|
are allowed and max age is set to 30 minutes.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
<xsd:complexType>
|
|
|
|
|
<xsd:attribute name="path" type="xsd:string" use="required">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
A path into the application that should handle CORS requests.
|
|
|
|
|
Exact path mapping URIs (such as "/admin") are supported as well as Ant-stype path patterns (such as /admin/**).
|
|
|
|
|
A path into the application that should handle CORS requests.
|
|
|
|
|
Exact path mapping URIs (such as "/admin") are supported as well as Ant-stype path patterns (such as /admin/**).
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
<xsd:attribute name="allowed-origins" type="xsd:string">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Comma-separated list of origins to allow, e.g. "http://domain1.com, http://domain2.com".
|
|
|
|
|
The special value "*" allows all domains (default).
|
|
|
|
|
Comma-separated list of origins to allow, e.g. "http://domain1.com, http://domain2.com".
|
|
|
|
|
The special value "*" allows all domains (default).
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
<xsd:attribute name="allowed-methods" type="xsd:string">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Comma-separated list of HTTP methods to allow, e.g. "GET, POST".
|
|
|
|
|
The special value "*" allows all method.
|
|
|
|
|
By default GET, HEAD and POST methods are allowed.
|
|
|
|
|
Comma-separated list of HTTP methods to allow, e.g. "GET, POST".
|
|
|
|
|
The special value "*" allows all method.
|
|
|
|
|
By default GET, HEAD and POST methods are allowed.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
<xsd:attribute name="allowed-headers" type="xsd:string">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Comma-separated list of headers that a pre-flight request can list as allowed for use during an actual request.
|
|
|
|
|
The special value of "*" allows actual requests to send any header (default).
|
|
|
|
|
Comma-separated list of headers that a pre-flight request can list as allowed for use during an actual request.
|
|
|
|
|
The special value of "*" allows actual requests to send any header (default).
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
<xsd:attribute name="exposed-headers" type="xsd:string">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Comma-separated list of response headers other than simple headers (i.e.
|
|
|
|
|
Cache-Control, Content-Language, Content-Type, Expires, Last-Modified, Pragma) that an
|
|
|
|
|
actual response might have and can be exposed.
|
|
|
|
|
Empty by default.
|
|
|
|
|
Comma-separated list of response headers other than simple headers (i.e.
|
|
|
|
|
Cache-Control, Content-Language, Content-Type, Expires, Last-Modified, Pragma) that an
|
|
|
|
|
actual response might have and can be exposed.
|
|
|
|
|
Empty by default.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
<xsd:attribute name="allow-credentials" type="xsd:boolean">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
Whether user credentials are supported (true by default).
|
|
|
|
|
Whether user credentials are supported (true by default).
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
<xsd:attribute name="max-age" type="xsd:long">
|
|
|
|
|
<xsd:annotation>
|
|
|
|
|
<xsd:documentation><![CDATA[
|
|
|
|
|
How long, in seconds, the response from a pre-flight request can be cached by clients.
|
|
|
|
|
1800 seconds (30 minutes) by default.
|
|
|
|
|
How long, in seconds, the response from a pre-flight request can be cached by clients.
|
|
|
|
|
1800 seconds (30 minutes) by default.
|
|
|
|
|
]]></xsd:documentation>
|
|
|
|
|
</xsd:annotation>
|
|
|
|
|
</xsd:attribute>
|
|
|
|
|
|