|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Scheme> org.apache.wicket.protocol.https.Scheme
public enum Scheme
Url scheme
Enum Constant Summary | |
---|---|
ANY
any, aka preserve current |
|
HTTP
http |
|
HTTPS
https |
Method Summary | |
---|---|
abstract int |
getPort(HttpsConfig config)
|
boolean |
isCompatibleWith(Scheme other)
Checks if two schemes are compatible. |
String |
urlName()
|
abstract boolean |
usesStandardPort(HttpsConfig config)
|
static Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Scheme[] |
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 Scheme HTTPS
public static final Scheme HTTP
public static final Scheme ANY
Method Detail |
---|
public static Scheme[] values()
for (Scheme c : Scheme.values()) System.out.println(c);
public static Scheme valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String urlName()
public boolean isCompatibleWith(Scheme other)
other
.
other
-
true
iff the schemes are compatible.public abstract boolean usesStandardPort(HttpsConfig config)
public abstract int getPort(HttpsConfig config)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |