org.zalando.logbook.autoconfigure.LogbookProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logbook-spring-boot-autoconfigure Show documentation
Show all versions of logbook-spring-boot-autoconfigure Show documentation
Spring Boot Auto Configuration for Logbook and most of its libraries/adapters
package org.zalando.logbook.autoconfigure;
import lombok.Getter;
import lombok.Setter;
import org.apiguardian.api.API;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.zalando.logbook.servlet.FormRequestMode;
import java.util.ArrayList;
import java.util.List;
import static org.apiguardian.api.API.Status.INTERNAL;
@API(status = INTERNAL)
@ConfigurationProperties(prefix = "logbook")
@Getter
public final class LogbookProperties {
private final List include = new ArrayList<>();
private final List exclude = new ArrayList<>();
private final Obfuscate obfuscate = new Obfuscate();
private final Write write = new Write();
private final Filter filter = new Filter();
@Getter
public static class Obfuscate {
private final List headers = new ArrayList<>();
private final List parameters = new ArrayList<>();
private final List paths = new ArrayList<>();
}
@Getter
@Setter
public static class Write {
private int chunkSize;
private int maxBodySize = -1;
}
@Getter
@Setter
public static class Filter {
private FormRequestMode formRequestMode = FormRequestMode.fromProperties();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy