Template Engine

Class OpalRequest

Extends:
UrlRequest
Requires:
Class
UrlRequest
Defined in:
OpalRequest.js

OpalRequest

Constructor

OpalRequest()

Methods

Method
returns application ident string
Inherited from UrlRequest
returns data or parameters that will be sent to service
returns host that will handle request transmission
gets the port of a gateway host
Inherited from UrlRequest
returns headers value pair object
returns hostname of a service endpoint
Inherited from UrlRequest
returns method of communicating with a service
returns method of communicating with a service
Inherited from UrlRequest
getUrl()
returns url of a service endpoint
sets the application ident string
Inherited from UrlRequest
setData(data)
sets the data or parameters that will be sent to service
sets host that will handle request transmission
sets the port of a gateway host
Inherited from UrlRequest
setHeaders(headerName, headerValue, headers)
sets request headers could be Object with key/value pais or two String Objects first with a header name, second with the header value
setHost(host)
sets hostname of a service endpoint
Inherited from UrlRequest
setMethod(method)
sets method of communicating with a service
setRemoteMethod(method)
sets method of communicating with a service
Inherited from UrlRequest
setUrl(url)
sets url of a service endpoint
Class Detail
OpalRequest()
Method Details
getApplication() :{OpalRequest}
returns application ident string
Returns:
{OpalRequest}
getGatewayHost() :{OpalRequest}
returns host that will handle request transmission
Returns:
{OpalRequest}
getGatewayPort() :{Number}
gets the port of a gateway host
Returns:
{Number}
getHost() :{OpalRequest}
returns hostname of a service endpoint
Returns:
{OpalRequest}
getRemoteMethod() :{OpalRequest}
returns method of communicating with a service
Returns:
{OpalRequest}
setApplication(app) :{OpalRequest}
sets the application ident string
Parameters (optional)
app {String}
Returns:
{OpalRequest}
setGatewayHost(host) :{OpalRequest}
sets host that will handle request transmission
Parameters (optional)
host {String}
Returns:
{OpalRequest}
setGatewayPort(port) :{OpalRequest}
sets the port of a gateway host
Parameters (optional)
port {Number}
Returns:
{OpalRequest}
setHost(host) :{OpalRequest}
sets hostname of a service endpoint
Parameters (optional)
host {String}
Returns:
{OpalRequest}
setRemoteMethod(method) :{OpalRequest}
sets method of communicating with a service
Parameters (optional)
method {String}
Returns:
{OpalRequest}
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 17 2011 15:33:34 GMT+0200 (CEST)