|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mozilla.javascript.ScriptableObject
org.jaggeryjs.modules.ws.WSRequestHostObject
public class WSRequestHostObject
Mozilla Rhino host Object Implementation of the WSRequest Specification. See the WSRequest Host Object reference guide for more information.
| 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 | |
|---|---|
WSRequestHostObject()
Constructor for the use by Rhino |
|
| Method Summary | |
|---|---|
String |
getClassName()
Returns the name to be used for this JavaScript Object. |
static org.mozilla.javascript.Scriptable |
jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr)
Constructor the user will be using inside javaScript |
static String |
jsFunction_getResponseHeader(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
|
static void |
jsFunction_open(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
This method prepares the WSRequest object to invoke a Web service. |
static void |
jsFunction_openWSDL(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
This function enables you to give a WSDL and get WSRequest configured. |
static void |
jsFunction_send(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
This method invokes the Web service with the requested payload. |
org.mozilla.javascript.Scriptable |
jsGet_error()
Getter for the WebServiceError object |
org.mozilla.javascript.Scriptable |
jsGet_onreadystatechange()
Getter for the 'onreadystatechange' javascript function. |
int |
jsGet_readyState()
Getter for the readyState property |
org.mozilla.javascript.Scriptable |
jsGet_responseE4X()
Getter for the responseE4X property. |
String |
jsGet_responseText()
Getter for the responseText property. |
org.mozilla.javascript.Scriptable |
jsGet_responseXML()
Getter for the responseXML property. |
int |
jsGet_status()
|
void |
jsSet_onreadystatechange(org.mozilla.javascript.Function function)
Setter for the 'onreadystatechange' javascript function. |
protected void |
updateResponse(org.apache.axiom.om.OMElement response)
|
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
|---|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSRequestHostObject()
| Method Detail |
|---|
public static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr)
throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptExceptionpublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObject
public static void jsFunction_open(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.jaggeryjs.scriptengine.exceptions.ScriptException
void open ( in object options | in String method, in String url [, in boolean async [, in String user [, in String password]]]);See WSRequest host object reference & WSRequest specification for more details.
org.jaggeryjs.scriptengine.exceptions.ScriptException
public static void jsFunction_openWSDL(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
public static void jsFunction_send(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.jaggeryjs.scriptengine.exceptions.ScriptException,
org.apache.axis2.AxisFault
void send ( [in Document payload | in XMLString payload | in XMLString payload ]);See WSRequest host object reference & WSRequest specification for more details.
org.jaggeryjs.scriptengine.exceptions.ScriptException
org.apache.axis2.AxisFaultpublic String jsGet_responseText()
public int jsGet_status()
throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
protected void updateResponse(org.apache.axiom.om.OMElement response)
throws XMLStreamException
XMLStreamException
public static String jsFunction_getResponseHeader(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
public org.mozilla.javascript.Scriptable jsGet_responseE4X()
throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptException
public org.mozilla.javascript.Scriptable jsGet_responseXML()
throws org.jaggeryjs.scriptengine.exceptions.ScriptException
org.jaggeryjs.scriptengine.exceptions.ScriptExceptionpublic org.mozilla.javascript.Scriptable jsGet_onreadystatechange()
public void jsSet_onreadystatechange(org.mozilla.javascript.Function function)
public int jsGet_readyState()
public org.mozilla.javascript.Scriptable jsGet_error()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||