Class TrustedProxies.OnPropertyExistsCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.cloud.gateway.filter.headers.TrustedProxies.OnPropertyExistsCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
- Enclosing interface:
TrustedProxies
public static class TrustedProxies.OnPropertyExistsCondition
extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.condition.ConditionOutcomegetMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
Constructor Details
-
OnPropertyExistsCondition
public OnPropertyExistsCondition()
-
-
Method Details
-
getMatchOutcome
public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
getMatchOutcomein classorg.springframework.boot.autoconfigure.condition.SpringBootCondition
-