public static enum TransportHttp.AcceptEncoding extends Enum<TransportHttp.AcceptEncoding>
| Enum Constant and Description |
|---|
GZIP
Accept gzip content encoding.
|
UNSPECIFIED
Do not specify an Accept-Encoding header.
|
| Modifier and Type | Method and Description |
|---|---|
static TransportHttp.AcceptEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportHttp.AcceptEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportHttp.AcceptEncoding UNSPECIFIED
public static final TransportHttp.AcceptEncoding GZIP
public static TransportHttp.AcceptEncoding[] values()
for (TransportHttp.AcceptEncoding c : TransportHttp.AcceptEncoding.values()) System.out.println(c);
public static TransportHttp.AcceptEncoding 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 nullCopyright © 2021 Eclipse JGit Project. All rights reserved.