complexType "cacheControlType"
Namespace:
Content:
complex, 5 attributes, attr. wildcard, 1 element
Defined:
globally in mule-http.xsd; see XML source
Includes:
definitions of 5 attributes
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
( | (xsd:string | xsd:int) | ("public" | "private"))
 = 
(xsd:string | xsd:boolean) : "false"
 = 
(xsd:string | xsd:boolean) : "false"
 = 
(xsd:string | xsd:boolean) : "false"
 = 
(xsd:string | xsd:int)
    {any attribute with non-schema namespace}
    >
   
Content: 
mule:annotations?
</...>
Content Model Elements (1):
mule:annotations
All Direct / Indirect Based Elements (1):
cache-control
Known Usage Locations
Type Definition Detail
Type Derivation Tree
mule:annotatedType (extension)
  cacheControlType
XML Source (w/o annotations (6); see within schema source)
<xsd:complexType name="cacheControlType">
<xsd:complexContent>
<xsd:extension base="mule:annotatedType">
<xsd:attribute name="directive">
<xsd:simpleType>
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="mule:substitutableInt"/>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="public"/>
<xsd:enumeration value="private"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute default="false" name="noCache" type="mule:substitutableBoolean" use="optional"/>
<xsd:attribute default="false" name="noStore" type="mule:substitutableBoolean" use="optional"/>
<xsd:attribute default="false" name="mustRevalidate" type="mule:substitutableBoolean" use="optional"/>
<xsd:attribute name="maxAge" type="mule:substitutableInt" use="optional"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 5/6)
directive
Type:
anonymous simpleType (union of (restriction of mule:substitutableInt | restriction of xsd:NMTOKEN))
Use:
optional
Attribute Value
(xsd:string | xsd:int) | ("public" | "private")
Anonymous simpleType
Type Derivation Tree
union of (restriction of mule:substitutableInt | restriction of xsd:NMTOKEN)
  simpleType
Derivation:
by union
Member Types
  1. anonymous simpleType:
    Derivation:
    restriction of mule:substitutableInt
  2. anonymous simpleType:
    Derivation:
    restriction of xsd:NMTOKEN
    Facets:
    enumeration:
    "public"
     - 
    Indicates that the response MAY be cached by any cache.
    "private"
     - 
    Indicates that all or part of the response message is intended for a single user and MUST NOT be cached by a shared cache.
XML Source (w/o annotations (2); see within schema source)
<xsd:attribute name="directive">
<xsd:simpleType>
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="mule:substitutableInt"/>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="public"/>
<xsd:enumeration value="private"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:attribute>

maxAge
Type:
Use:
optional
When the max-age cache-control directive is present in a cached response, the response is stale if its current age is greater than the age value given. If a response includes both an Expires header and a max-age directive, the max-age directive overrides the Expires header, even if the Expires header is more restrictive.
Attribute Value
xsd:string | xsd:int
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="maxAge" type="mule:substitutableInt" use="optional"/>

mustRevalidate
Type:
Use:
optional
When the must-revalidate directive is present in a response received by a cache, that cache MUST NOT use the entry after it becomes stale to respond to a subsequent request without first revalidating it with the origin server.
Attribute Value
xsd:string | xsd:boolean
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="false" name="mustRevalidate" type="mule:substitutableBoolean" use="optional"/>

noCache
Type:
Use:
optional
Specifies that a cache MUST NOT use the response to satisfy a subsequent request without successful revalidation with the origin server.
Attribute Value
xsd:string | xsd:boolean
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="false" name="noCache" type="mule:substitutableBoolean" use="optional"/>

noStore
Type:
Use:
optional
The purpose of the no-store directive is to prevent the inadvertent release or retention of sensitive information.
Attribute Value
xsd:string | xsd:boolean
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="false" name="noStore" type="mule:substitutableBoolean" use="optional"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.