public static enum Connector.Type extends Enum<Connector.Type>
Modifier and Type | Method and Description |
---|---|
int |
getDefaultPort()
Indicates the default port for this type of connector
|
String |
toString()
Returns lower case name of this enum constant.
|
static Connector.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connector.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connector.Type AJP
public static final Connector.Type HTTP
public static final Connector.Type HTTPS
public static Connector.Type[] values()
for (Connector.Type c : Connector.Type.values()) System.out.println(c);
public static Connector.Type 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 int getDefaultPort()
public String toString()
toString
in class Enum<Connector.Type>
Copyright © 2023 JBoss by Red Hat. All rights reserved.