ContentMapping
This type is a class for model objects.
@since 7.0.0 Represents the content type mapping for a particular file extension
Package: proxy
Classifier ID: -1
Instance class name: * Unspecified *
Instance class: * Unspecified *
Collection attributes having this type:
StaticFileServingPolicy.contentMappings
Attributes Summary extension : EString @since 7.0.0 The subject file extension to map to a content type. header : HeaderKind @since 7.0.0 The header name to send to the client " type=HeaderName.ContentTypeMaping or HeaderName.LanguageTypeMapping value : EString @since 7.0.0 The value of to send to the client in the content-type header. weight : EFloat @since 7.0.0 A float value used to calculate the rank of files with such extension. Minimum value is 0.0.
Attribute Details
extension - @since 7.0.0 The subject file extension to map to a content type.
Data Type: EString
Default value:
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
header - @since 7.0.0 The header name to send to the client " type=HeaderName.ContentTypeMaping or HeaderName.LanguageTypeMapping
Data Type: HeaderKind
Default value: CONTENT_TYPE
Allowed values:
0 - CONTENT_TYPE
1 - CONTENT_LANGUAGE
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
value - @since 7.0.0 The value of to send to the client in the content-type header.
Data Type: EString
Default value:
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
weight - @since 7.0.0 A float value used to calculate the rank of files with such extension. Minimum value is 0.0.
Data Type: EFloat
Default value: 1.0
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
(C) COPYRIGHT International Business Machines Corp. 1996-2006