com.agido.logback.elasticsearch.config.HttpRequestHeaders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logback-elasticsearch-appender Show documentation
Show all versions of logback-elasticsearch-appender Show documentation
Send log events directly from Logback to Elasticsearch
The newest version!
package com.agido.logback.elasticsearch.config;
import java.util.LinkedList;
import java.util.List;
/**
* A container for the headers which will be sent to elasticsearch.
*/
public class HttpRequestHeaders {
private List headers = new LinkedList();
public List getHeaders() {
return headers;
}
public void addHeader(HttpRequestHeader header) {
this.headers.add(header);
}
}