public enum EResponseStreamType extends Enum<EResponseStreamType> implements com.helger.commons.id.IHasID<String>
| Modifier and Type | Method and Description |
|---|---|
static EResponseStreamType |
getFromIDOrNull(String sID) |
String |
getID() |
boolean |
isCompressed() |
boolean |
isUncompressed() |
static EResponseStreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EResponseStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EResponseStreamType PLAIN
public static final EResponseStreamType GZIP
public static final EResponseStreamType DEFLATE
public static EResponseStreamType[] values()
for (EResponseStreamType c : EResponseStreamType.values()) System.out.println(c);
public static EResponseStreamType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>public boolean isUncompressed()
true if the response stream type is uncompressed.public boolean isCompressed()
true if the response stream type is compressed.@Nullable public static EResponseStreamType getFromIDOrNull(@Nullable String sID)
Copyright © 2016–2019 Philip Helger. All rights reserved.