All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.undefinedlabs.scope.rules.headers.ServletHttpHeadersAdapter Maven / Gradle / Ivy

Go to download

Scope is a APM for tests to give engineering teams unprecedented visibility into their CI process to quickly identify, troubleshoot and fix failed builds. This artifact contains the classes to instrument the Javax Servlet package.

There is a newer version: 0.15.1-beta.2
Show newest version
package com.undefinedlabs.scope.rules.headers;

import com.undefinedlabs.scope.rules.http.HttpHeadersAdapter;
import java.util.Map;

public class ServletHttpHeadersAdapter implements HttpHeadersAdapter {

  private final Map headers;

  public ServletHttpHeadersAdapter(final Map headers) {
    this.headers = headers;
  }

  @Override
  public Iterable> iterator() {
    return this.headers.entrySet();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy