public static enum BetterTomcat.Protocol extends Enum<BetterTomcat.Protocol>
| Enum Constant and Description |
|---|
AJP |
HTTP_11 |
HTTP_11_APR |
HTTP_11_NIO |
HTTPS_11 |
HTTPS_11_APR |
HTTPS_11_NIO |
MEMORY |
| Modifier and Type | Method and Description |
|---|---|
String |
getProtocolClass() |
String |
getProtocolName() |
static BetterTomcat.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BetterTomcat.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BetterTomcat.Protocol HTTP_11
public static final BetterTomcat.Protocol HTTPS_11
public static final BetterTomcat.Protocol HTTP_11_NIO
public static final BetterTomcat.Protocol HTTPS_11_NIO
public static final BetterTomcat.Protocol HTTP_11_APR
public static final BetterTomcat.Protocol HTTPS_11_APR
public static final BetterTomcat.Protocol MEMORY
public static final BetterTomcat.Protocol AJP
public static BetterTomcat.Protocol[] values()
for (BetterTomcat.Protocol c : BetterTomcat.Protocol.values()) System.out.println(c);
public static BetterTomcat.Protocol 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 nullpublic String getProtocolName()
public String getProtocolClass()
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.