package at.gv.egiz.eaaf.utils.springboot.ajp; import java.util.Map; import org.springframework.boot.context.properties.ConfigurationProperties; import lombok.Getter; import lombok.Setter; /** * Embedded tomcat configuration properties. */ @ConfigurationProperties(prefix = "tomcat", ignoreInvalidFields = true) @Getter @Setter public class TomcatProperties { /** * AJP connector properties. */ private Ajp ajp; /** * AJP connector properties. */ @Getter @Setter public static class Ajp { /** * Should the AJP port be enabled. */ private boolean enabled; /** * AJP protocol. */ private String protocol = "AJP/1.3"; /** * AJP port. */ private int port = 8009; /** * Secure connection flag. */ private boolean secure; /** * Flag, to disable or enable the TRACE HTTP method. */ private boolean allowTrace; /** * Scheme that will be assigned to requests received through this connector. */ private String scheme = "http"; /** * Network address to bind this connector. */ private String networkAddress = null; /** * Additional AJP Connector Attributes e.g. packetSize. */ private Map additionalAttributes; } }