Package org.cdk8s.plus25
Enum HttpIngressPathType
- java.lang.Object
-
- java.lang.Enum<HttpIngressPathType>
-
- org.cdk8s.plus25.HttpIngressPathType
-
- All Implemented Interfaces:
Serializable,Comparable<HttpIngressPathType>
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.295Z") @Stability(Stable) public enum HttpIngressPathType extends Enum<HttpIngressPathType>
Specify how the path is matched against request paths.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXACTMatches based on a URL path prefix split by '/'.IMPLEMENTATION_SPECIFICMatching is specified by the underlying IngressClass.PREFIXMatches the URL path exactly.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpIngressPathTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HttpIngressPathType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREFIX
@Stability(Stable) public static final HttpIngressPathType PREFIX
Matches the URL path exactly.
-
EXACT
@Stability(Stable) public static final HttpIngressPathType EXACT
Matches based on a URL path prefix split by '/'.
-
IMPLEMENTATION_SPECIFIC
@Stability(Stable) public static final HttpIngressPathType IMPLEMENTATION_SPECIFIC
Matching is specified by the underlying IngressClass.
-
-
Method Detail
-
values
public static HttpIngressPathType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpIngressPathType c : HttpIngressPathType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpIngressPathType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-