
com.newrelic.agent.OutboundHeadersMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-agent Show documentation
Show all versions of newrelic-agent Show documentation
Jar required to run with a java application to monitor performance.
The newest version!
/*
*
* * Copyright 2020 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/
package com.newrelic.agent;
import java.util.HashMap;
import com.newrelic.api.agent.HeaderType;
import com.newrelic.api.agent.OutboundHeaders;
@SuppressWarnings("serial")
public class OutboundHeadersMap extends HashMap implements OutboundHeaders {
private final HeaderType type;
public OutboundHeadersMap(HeaderType type) {
super();
this.type = type;
}
@Override
public HeaderType getHeaderType() {
return type;
}
@Override
public void setHeader(String name, String value) {
put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy