|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Http.ContentType>
org.jnetpcap.protocol.tcpip.Http.ContentType
public static enum Http.ContentType
Http content type table.
| Enum Constant Summary | |
|---|---|
GIF
The GIF. |
|
HTML
The HTML. |
|
JPEG
The JPEG. |
|
OTHER
The OTHER. |
|
PNG
The PNG. |
|
| Method Summary | |
|---|---|
static Http.ContentType |
parseContentType(java.lang.String type)
Parses the content type. |
static Http.ContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Http.ContentType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Http.ContentType GIF
public static final Http.ContentType HTML
public static final Http.ContentType JPEG
public static final Http.ContentType PNG
public static final Http.ContentType OTHER
| Method Detail |
|---|
public static Http.ContentType[] values()
for (Http.ContentType c : Http.ContentType.values()) System.out.println(c);
public static Http.ContentType 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 name
java.lang.NullPointerException - if the argument is nullpublic static Http.ContentType parseContentType(java.lang.String type)
type - the type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||