All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.damianwajser.web.configuration.PropertiesHttpFixer Maven / Gradle / Ivy

package com.github.damianwajser.web.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties
@PropertySource("classpath:spring-commons-http.properties")
public class PropertiesHttpFixer {

	@Value("${spring.commons.http.fixer.enabled}")
	private boolean enabled;

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy