com.agido.logback.elasticsearch.config.Authentication 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.net.HttpURLConnection;
public interface Authentication {
/**
* Modify the given urlConnection for whatever authentication scheme is used.
*
* @param urlConnection the connection to the server
* @param body the message being sent
*/
void addAuth(HttpURLConnection urlConnection, String body);
}