Construct a new OnmsHTTPOptions object.
The default timeout associated with these options. The default authentication credentials associated with these options.
This is a trick for making sure serialization to JSON happens properly without exposing internals.
This is a trick for making sure serialization to JSON happens properly without exposing internals.
HTTP data to be passed when POSTing
HTTP headers to be passed to the request.
HTTP parameters to be passed on the URL.
The server to use if no server is set on the HTTP implementation.
The authentication config that should be used when no auth is associated with the OnmsServer.
The authentication config that should be used when no auth is associated with the OnmsServer.
How long to wait for ReST calls to time out.
How long to wait for ReST calls to time out.
Convert the options to a plain JSON object.
Add a URL parameter. Returns the OnmsHTTPOptions object so it can be chained.
the parameter's key
the parameter's value
Generated using TypeDoc
Options to be used when making HTTP ReST calls.