public enum DecomposedContentType extends java.lang.Enum<DecomposedContentType>
| Enum Constant and Description |
|---|
ANY |
APPLICATION_JAVASCRIPT |
APPLICATION_JSON |
APPLICATION_XHTML_XML |
APPLICATION_XML |
BINARY |
HTML |
TEST_JAVASCRIPT |
TEST_XML |
TEXT |
URLENC |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asString() |
DecomposedContentType |
byString(java.lang.String string) |
io.restassured.http.ContentType |
contentType() |
java.lang.String |
toString() |
static DecomposedContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DecomposedContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecomposedContentType ANY
public static final DecomposedContentType TEXT
public static final DecomposedContentType APPLICATION_JSON
public static final DecomposedContentType APPLICATION_JAVASCRIPT
public static final DecomposedContentType APPLICATION_XML
public static final DecomposedContentType TEST_XML
public static final DecomposedContentType APPLICATION_XHTML_XML
public static final DecomposedContentType TEST_JAVASCRIPT
public static final DecomposedContentType HTML
public static final DecomposedContentType URLENC
public static final DecomposedContentType BINARY
public static DecomposedContentType[] values()
for (DecomposedContentType c : DecomposedContentType.values()) System.out.println(c);
public static DecomposedContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic DecomposedContentType byString(java.lang.String string)
public java.lang.String toString()
toString in class java.lang.Enum<DecomposedContentType>public java.lang.String asString()
public io.restassured.http.ContentType contentType()