Description
A class to get an http web application object and invoke its methods.
Remote method signatures are:
getAttribute(name) - returns object, array, or primitive type.
getAttributeNames() - returns array of attribute names.
getMajorVersion() - returns the major version number of the Java
Servlet API that the remote servlet supports.
getMinorVersion() - returns the minor version number of the Java
Servlet API that the remote servlet supports.
getMimeType(filename) - returns the MIME type of the specified
filename, or null if the MIME type is not known.
getServerInfo() - returns the name and version of the servlet container
on which the servlet is running.
getServletContextName() - returns the name of this web application
correponding to this ServletContext as specified in the deployment
descriptor for this web application by the display-name element.
log(msg) - writes the specified message to a servlet log file, usually
an event log; returns void.
removeAttribute(name) - remove attribute named name; returns void.
setAttribute(name,value) - set attribute named name with value; returns
void.
See javax.servlet.ServletContext in the Java Servlet API documentation
for more information.
Details
Properties (3)
-
_attributename
-
<attribute name="_attributename" type="string" value="none" />
private var _attributename : String;
-
_classname
-
<attribute name="_classname" type="string" value="org.openlaszlo.remote.LZWebAppRemote" />
private var _classname : String;
-
_scope
-
<attribute name="_scope" type="string" value="none" />
private var _scope : String;
Methods (2)
-
load()
-
Load web application object.
-
_setup()
-
<method name="_setup" args="o" />
private function _setup(o);
LZX Synopsis
<class name="
lz.webapprpc" extends="
lz.rpc
">
<attribute name="
_classname
" type="
string" value="
org.openlaszlo.remote.LZWebAppRemote" />
<attribute name="
_scope
" type="
string" value="
none" />
<method name="
_setup
" args="
o" />
</class>
JavaScript Synopsis
public
lz.webapprpc extends
lz.rpc
{
prototype public function
load
();
prototype private function
_setup
(
o);
}