pro.chenggang.plugin.springcloud.gateway.context.GreyContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-cloud-gateway-plugin Show documentation
Show all versions of spring-cloud-gateway-plugin Show documentation
Spring Cloud Gateway Plugin Project
package pro.chenggang.plugin.springcloud.gateway.context;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* Grey Context For Grey Route
* @author chenggang
* @date 2019/01/29
*/
@Setter
@Getter
@ToString
public class GreyContext {
public static final String CACHE_GREY_CONTEXT = "cacheGreyContext";
/**
* ServiceId
*/
private String serviceId;
/**
* Version
*/
private String version;
/**
* Matched The Grey Rule
*/
private boolean matched;
}