code: private ArrayList<String> getRemoveHeaders() throws Exception {
          ArrayList<String> headersToRemove = new ArrayList<String>();
  
          for (EndpointOverride selectedPath : requestInformation.get().selectedResponsePaths) {
              // check to see if there is custom override data or if we have headers to remove
              List<EnabledEndpoint> points = selectedPath.getEnabledEndpoints();
              for (EnabledEndpoint endpoint : points) {
                  // skip if repeat count is 0
                  if (endpoint.getRepeatNumber() == 0) {
                      continue;
                  }
  
                  if (endpoint.getOverrideId() == Constants.PLUGIN_RESPONSE_HEADER_OVERRIDE_REMOVE) {
                      // add to remove headers array
                      headersToRemove.add(endpoint.getArguments()[0].toString());
                      endpoint.decrementRepeatNumber();
                  }
              }
          }
  
          return headersToRemove;
      }
docs: Obtain collection of headers to remove
  
  @return
  @throws Exception