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

pro.chenggang.plugin.springcloud.gateway.properties.GatewayPluginProperties Maven / Gradle / Ivy

There is a newer version: 2.1.SR2.2.RELEASE
Show newest version
package pro.chenggang.plugin.springcloud.gateway.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Gateway Plugin Properties
 * @author chenggang
 * @date 2019/04/12
 */
@Slf4j
@Getter
@Setter
@ToString
@ConfigurationProperties(GatewayPluginProperties.GATEWAY_PLUGIN_PROPERTIES_PREFIX)
public class GatewayPluginProperties {

    public static final String GATEWAY_PLUGIN_PROPERTIES_PREFIX = "spring.cloud.gateway.plugin.config";
    /**
     * Enable Or Disable Read Request Data
     */
    private Boolean readRequestData = false;
    /**
     * Enable Or Disable Read Response Data
     */
    private Boolean readResponseData = false;
    /**
     * Enable Or Disable Log Request Detail
     */
    private Boolean logRequest = false;
    /**
     * Enable Or Disable Global Exception Json Handler
     */
    private Boolean exceptionJsonHandler = false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy