org.swisspush.gateleen.logging.LoggingResource Maven / Gradle / Ivy
The newest version!
package org.swisspush.gateleen.logging;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Class representing the json logging resource
*
* @author https://github.com/mcweba [Marc-Andre Weber]
*/
public class LoggingResource {
/**
* Logging strategy for the headers
*/
public enum HeaderLogStrategy {
LOG_ALL, LOG_NONE, LOG_LIST
}
private HeaderLogStrategy headerLogStrategy = HeaderLogStrategy.LOG_ALL;
private List headers = new ArrayList<>();
private List