Server Communication

The Gateway applet supports CGI 1.1 compliant communications between the InfoBus and a server program. In this release, the applet only supports the POST method of CGI input; the GET method is not supported.

In this release, the applet supports only text/plain as the input MIME type to the server. This input text can be optionally URL-encoded (see HTML Parameters, below).

As for output data, the gateway supports text/plain and text/html by placing the resulting text either on the InfoBus or into the browser, if applicable. Other MIME types returned from the server are placed on the InfoBus as generic Object data (as an instance of the InfoBus SimpleDataItem class). The application developer can write InfoBus-compliant applets to render the returned data.

A separate thread of the applet is used to connect to the server URL. Press the Cancel button if the server is not responding.