Class OpalRequest
- Extends:
- UrlRequest
- Requires:
- Class
- UrlRequest
- Defined in:
- OpalRequest.js
OpalRequest
Constructor
Methods
Method | |
---|---|
returns application ident string
|
|
![]() |
getData()
returns data or parameters that will be sent to service
|
returns host that will handle request transmission
|
|
gets the port of a gateway host
|
|
![]() |
returns headers value pair object
|
getHost()
returns hostname of a service endpoint
|
|
![]() |
returns method of communicating with a service
|
returns method of communicating with a service
|
|
![]() |
getUrl()
returns url of a service endpoint
|
setApplication(app)
sets the application ident string
|
|
![]() |
setData(data)
sets the data or parameters that will be sent to service
|
setGatewayHost(host)
sets host that will handle request transmission
|
|
setGatewayPort(port)
sets the port of a gateway host
|
|
![]() |
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
|
|
![]() |
setMethod(method)
sets method of communicating with a service
|
setRemoteMethod(method)
sets method of communicating with a service
|
|
![]() |
setUrl(url)
sets url of a service endpoint
|
Method Details
returns application ident string
- Returns:
- {OpalRequest}
returns host that will handle request transmission
- Returns:
- {OpalRequest}
getGatewayPort()
:{Number}
gets the port of a gateway host
- Returns:
- {Number}
returns hostname of a service endpoint
- Returns:
- {OpalRequest}
returns method of communicating with a service
- Returns:
- {OpalRequest}
sets the application ident string
Parameters (optional) | ||
---|---|---|
app | {String} |
- Returns:
- {OpalRequest}
sets host that will handle request transmission
Parameters (optional) | ||
---|---|---|
host | {String} |
- Returns:
- {OpalRequest}
sets the port of a gateway host
Parameters (optional) | ||
---|---|---|
port | {Number} |
- Returns:
- {OpalRequest}
sets hostname of a service endpoint
Parameters (optional) | ||
---|---|---|
host | {String} |
- Returns:
- {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)