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

com.newrelic.agent.security.intcodeagent.models.javaagent.HttpConnectionStat Maven / Gradle / Ivy

Go to download

The New Relic Security Java agent module for full-stack security. To be used in newrelic-java-agent only.

The newest version!
package com.newrelic.agent.security.intcodeagent.models.javaagent;

import com.newrelic.agent.security.intcodeagent.websocket.JsonConverter;

import java.util.Collection;

public class HttpConnectionStat extends AgentBasicInfo {

    private Collection httpConnections;

    private Boolean isCached;

    public HttpConnectionStat(Collection httpConnections, Boolean isCached) {
        this.httpConnections = httpConnections;
        this.isCached = isCached;
    }

    public void setHttpConnections(Collection httpConnections) {
        this.httpConnections = httpConnections;
    }

    public Collection getHttpConnections() {
        return httpConnections;
    }

    public Boolean getIsCached() {
        return isCached;
    }

    public void setIsCached(Boolean isCached) {
        this.isCached = isCached;
    }

    public String toString() {
        return JsonConverter.toJSON(this);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy