Package com.xceptance.xlt.api.engine

# Interface NetworkDataManager

public interface NetworkDataManager
The `NetworkDataManager` provides access to all the network requests made during an action. The `NetworkDataManager` instance responsible for a certain test user may be obtained from the current session object via `Session.getNetworkDataManager()`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addData(NetworkData data)`
  Adds the given network data.
  `void`
  `clear()`
  Clears all data.
  `List<NetworkData>`
  `getData()`
  Returns the collected network data.
  `List<NetworkData>`
  `getData(RequestFilter filter)`
  Returns the collected network data filtered by the given request filter.

- ## Method Details

  - ### addData

    void addData(NetworkData data)
    Adds the given network data.
    Parameters:
      `data` - network data to be added

  - ### getData

    List<NetworkData> getData()
    Returns the collected network data.
    Returns:
      network data

  - ### getData

    List<NetworkData> getData(RequestFilter filter)
    Returns the collected network data filtered by the given request filter.
    Parameters:
      `filter` - the request filter to be used for filtering
    Returns:
      filtered network data

  - ### clear

    void clear()
    Clears all data.