Name

webapprpc

Synopsis

LZX: webapprpc
JavaScript: webapprpc
Type: Class
Access: public
Topic: Components.RPC
Declared in: lps/components/rpc/webapprpc.lzx

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.

Superclass Chain

node (LzNode) » rpc » webapprpc

Known Subclasses

Details

Methods (1)

load()
<method name="load" />
public function load();
Load web application object.

LZX Synopsis

<class name="webapprpc" extends=" rpc ">
  <method name=" load " />
</class>

JavaScript Synopsis

public webapprpc extends  rpc  {
  prototype public function load ();
}