Enum HttpResponseAssertionBuilder.DispositionType
- java.lang.Object
-
- java.lang.Enum<HttpResponseAssertionBuilder.DispositionType>
-
- com.atlassian.bamboo.testutils.http.HttpResponseAssertionBuilder.DispositionType
-
- All Implemented Interfaces:
Serializable,Comparable<HttpResponseAssertionBuilder.DispositionType>
- Enclosing class:
- HttpResponseAssertionBuilder
public static enum HttpResponseAssertionBuilder.DispositionType extends Enum<HttpResponseAssertionBuilder.DispositionType>
Enum representing the type of content disposition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENTINLINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpResponseAssertionBuilder.DispositionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HttpResponseAssertionBuilder.DispositionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTACHMENT
public static final HttpResponseAssertionBuilder.DispositionType ATTACHMENT
-
INLINE
public static final HttpResponseAssertionBuilder.DispositionType INLINE
-
-
Method Detail
-
values
public static HttpResponseAssertionBuilder.DispositionType[] 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 (HttpResponseAssertionBuilder.DispositionType c : HttpResponseAssertionBuilder.DispositionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpResponseAssertionBuilder.DispositionType 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
-
-