org.zkoss.zk.device
Class AjaxDevice

java.lang.Object
  extended by org.zkoss.zk.device.GenericDevice
      extended by org.zkoss.zk.device.AjaxDevice
All Implemented Interfaces:
Device

public class AjaxDevice
extends GenericDevice

Represents a Web browser with the Ajax support.

Since:
2.4.0
Author:
tomyeh

Constructor Summary
AjaxDevice()
           
 
Method Summary
 java.lang.String getContentType()
          Returns text/html;charset=UTF-8
 java.lang.String getDocType()
          Returns <!
 boolean isCacheable()
          Return false to indicate it is cacheable.
 
Methods inherited from class org.zkoss.zk.device.GenericDevice
getServerPushClass, getTimeoutURI, getType, getUnavailableMessage, init, sessionDidActivate, sessionWillPassivate, setServerPushClass, setTimeoutURI, setUnavailableMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxDevice

public AjaxDevice()
Method Detail

isCacheable

public boolean isCacheable()
Return false to indicate it is cacheable.

Specified by:
isCacheable in interface Device
Overrides:
isCacheable in class GenericDevice

getContentType

public java.lang.String getContentType()
Returns text/html;charset=UTF-8


getDocType

public java.lang.String getDocType()
Returns <!DOCTYPE html ...XHTML 1.0 Transitional...>.

Specified by:
getDocType in interface Device
Overrides:
getDocType in class GenericDevice


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.