org.zkoss.zk.au.AuWriters.ContentType"

From Documentation
(Created page with "xxx")
 
Line 1: Line 1:
xxx
+
{{ZKConfigurationReferencePageHeader}}
 +
'''Property:'''
 +
org.zkoss.zk.au.AuWriters.ContentType
 +
 
 +
{{GlobalLibraryProperty}}
 +
 
 +
Default: <i>text/plain;charset=UTF-8</i>
 +
[Since 8.5.2]
 +
 
 +
It specify the Content-Type of response
 +
 
 +
For example:
 +
<source lang="xml">
 +
  <library-property>
 +
    <name>org.zkoss.zk.au.AuWriters.ContentType</name>
 +
    <value>json/application;charset=UTF-8</value>
 +
  </library-property>
 +
</source>
 +
[[File:Response content type json.png]]
 +
 
 +
{{ZKConfigurationReferencePageFooter}}

Revision as of 09:23, 13 June 2018


org.zkoss.zk.au.AuWriters.ContentType


Property: org.zkoss.zk.au.AuWriters.ContentType

Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: text/plain;charset=UTF-8
[Since 8.5.2]

It specify the Content-Type of response

For example:

  <library-property>
    <name>org.zkoss.zk.au.AuWriters.ContentType</name>
    <value>json/application;charset=UTF-8</value>
  </library-property>

Response content type json.png



Last Update : 2018/06/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.