OpenNMS.js - v2.6.2-SNAPSHOT
    Preparing search index...

    Class AbstractHTTPAbstract

    Abstract implementation of the OnmsHTTP interface meant to be extended by a concrete class.

    IOnmsHTTP

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Attempt to extract the data from a response.

      Parameters

      • response: any

      Returns any

    • Implementers should override this method if they have actions that need to be performed (like clearing a cache) when server settings change.

      Returns void

    Abstractpost

    • A convenience method for implementers to use to turn JSON into a javascript object. Use this to process a JSON response before returning it in an [[OnmsResult]] object.

      Parameters

      • data: any

      Returns any

    • A convenience method for implementers to use to turn XML into a javascript object. Use this to process an XML response before returning it in an [[OnmsResult]] object.

      Parameters

      • data: any

      Returns any