mod_cluster-container-spi 1.2.6.Final

org.jboss.modcluster.container
Enum Connector.Type

java.lang.Object
  extended by java.lang.Enum<Connector.Type>
      extended by org.jboss.modcluster.container.Connector.Type
All Implemented Interfaces:
Serializable, Comparable<Connector.Type>
Enclosing interface:
Connector

public static enum Connector.Type
extends Enum<Connector.Type>

Indicates the type of a connector.


Enum Constant Summary
AJP
           
HTTP
           
HTTPS
           
 
Method Summary
 int getDefaultPort()
          Indicates the default port for this type of connector
 String toString()
          
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AJP

public static final Connector.Type AJP

HTTP

public static final Connector.Type HTTP

HTTPS

public static final Connector.Type HTTPS
Method Detail

values

public static Connector.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Connector.Type c : Connector.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Connector.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDefaultPort

public int getDefaultPort()
Indicates the default port for this type of connector

Returns:
a valid port number

toString

public String toString()

Overrides:
toString in class Enum<Connector.Type>
See Also:
Enum.toString()

mod_cluster-container-spi 1.2.6.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.