org.cometd
Class XMLHttpRequestClient

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.cometd.XMLHttpRequestClient
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class XMLHttpRequestClient
extends org.mozilla.javascript.ScriptableObject

Implementation of the XMLHttpRequest functionality using Jetty's HttpClient.

Version:
$Revision: 600 $ $Date: 2009-05-07 09:42:08 +0200 (Thu, 07 May 2009) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
XMLHttpRequestClient()
           
 
Method Summary
 java.lang.String getClassName()
           
 void jsConstructor(int maxConnections)
           
 void jsFunction_send(XMLHttpRequestExchange exchange)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLHttpRequestClient

public XMLHttpRequestClient()
Method Detail

jsConstructor

public void jsConstructor(int maxConnections)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

jsFunction_send

public void jsFunction_send(XMLHttpRequestExchange exchange)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 Dojo Foundation. All Rights Reserved.