constructor(onProgressUpdated, onHeadersReceived, onDownloadCompleted,
      onDownloadFailed, onRequest, onRetry, onResponse) {
    super();

    /** @private {?shaka.extern.NetworkingConfiguration} */
    this.config_ = null;

    /** @private {boolean} */
    this.destroyed_ = false;

    /** @private {!shaka.util.OperationManager} */
    this.operationManager_ = new shaka.util.OperationManager();

    /** @private {!Set<shaka.extern.RequestFilter>} */
    this.requestFilters_ = new Set();

    /** @private {!Set<shaka.extern.ResponseFilter>} */
    this.responseFilters_ = new Set();

    /** @private {?shaka.net.NetworkingEngine.onProgressUpdated} */
    this.onProgressUpdated_ = onProgressUpdated || null;

    /** @private {?shaka.net.NetworkingEngine.OnHeadersReceived} */
    this.onHeadersReceived_ = onHeadersReceived || null;

    /** @private {?shaka.net.NetworkingEngine.OnDownloadCompleted} */
    this.onDownloadCompleted_ = onDownloadCompleted || null;

    /** @private {?shaka.net.NetworkingEngine.OnDownloadFailed} */
    this.onDownloadFailed_ = onDownloadFailed || null;

    /** @private {?shaka.net.NetworkingEngine.OnRequest} */
    this.onRequest_ = onRequest || null;

    /** @private {?shaka.net.NetworkingEngine.OnRetry} */
    this.onRetry_ = onRetry || null;

    /** @private {?shaka.net.NetworkingEngine.OnResponse} */
    this.onResponse_ = onResponse || null;

    /** @private {!Map<string, string>} */
    this.hostCommonAccessTokenMap_ = new Map();
  }
@param {shaka.net.NetworkingEngine.onProgressUpdated=} onProgressUpdated
  Called when
  a progress event is triggered. Passed the duration, in milliseconds,
  that the request took, the number of bytes transferred, and the boolean
  of whether the switching is allowed.
@param {shaka.net.NetworkingEngine.OnHeadersReceived=} onHeadersReceived
  Called when the headers are received for a download.
@param {shaka.net.NetworkingEngine.OnDownloadCompleted=
       } onDownloadCompleted Called when a download completed successfully.
@param {shaka.net.NetworkingEngine.OnDownloadFailed=} onDownloadFailed
  Called when a download fails, for any reason.
@param {shaka.net.NetworkingEngine.OnRequest=} onRequest
  Called when a request is made
@param {shaka.net.NetworkingEngine.OnRetry=} onRetry
  Called when a request retry is made
@param {shaka.net.NetworkingEngine.OnResponse=} onResponse
  Called when receive the response