Optional
optionsThe default options used when making requests with this instance.
Optional
serverThe server associated with this instance.
Perform an HTTP GET to the provided URL.
The URL to connect to.
Optional
options: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP HEAD to the provided URL.
The URL to connect to.
Optional
options: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP DELETE to the provided URL.
The URL to connect to.
Optional
options: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP POST to the provided URL.
The URL to connect to.
Optional
options: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP PUT to the provided URL.
The URL to connect to.
Optional
options: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Interface for making ReST calls to an HTTP server.
Notes to implementors:
server
config property when creating requests. If theserver
property changes, the implementation should do whatever is necessary to reconfigure itself.server
property on the passed [[OnmsHTTPOptions]] on individual method calls.server
property in theoptions
property of the implementation.server
property of the implementation.auth
property on the passed [[OnmsHTTPOptions]] on individual method calls.auth
property on theoptions
property of the implementation.auth
property on theserver
property of the implementation.Note that if you subclass [[AbstractHTTP]], [[AbstractHTTP.getOptions]] will automatically provide you a hydrated [[OnmsHTTPOptions]] that handles most of this precedence for combining the server metadata.