OptionaloptionsThe default options used when making requests with this instance.
OptionalserverThe server associated with this instance.
Perform an HTTP GET to the provided URL.
The URL to connect to.
Optionaloptions: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP HEAD to the provided URL.
The URL to connect to.
Optionaloptions: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP DELETE to the provided URL.
The URL to connect to.
Optionaloptions: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP POST to the provided URL.
The URL to connect to.
Optionaloptions: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Perform an HTTP PUT to the provided URL.
The URL to connect to.
Optionaloptions: OnmsHTTPOptionsThe [[OnmsHTTPOptions]] options to use when connecting.
An [[OnmsResult]] result object.
Interface for making ReST calls to an HTTP server.
Notes to implementors:
serverconfig property when creating requests. If theserverproperty changes, the implementation should do whatever is necessary to reconfigure itself.serverproperty on the passed [[OnmsHTTPOptions]] on individual method calls.serverproperty in theoptionsproperty of the implementation.serverproperty of the implementation.authproperty on the passed [[OnmsHTTPOptions]] on individual method calls.authproperty on theoptionsproperty of the implementation.authproperty on theserverproperty 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.