org.apache.airavata.server
Enum BetterTomcat.Protocol

java.lang.Object
  extended by java.lang.Enum<BetterTomcat.Protocol>
      extended by org.apache.airavata.server.BetterTomcat.Protocol
All Implemented Interfaces:
Serializable, Comparable<BetterTomcat.Protocol>
Enclosing class:
BetterTomcat

public static enum BetterTomcat.Protocol
extends Enum<BetterTomcat.Protocol>

The valid protocol types


Enum Constant Summary
AJP
           
HTTP_11
           
HTTP_11_APR
           
HTTP_11_NIO
           
HTTPS_11
           
HTTPS_11_APR
           
HTTPS_11_NIO
           
MEMORY
           
 
Method Summary
 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.
 
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

HTTP_11

public static final BetterTomcat.Protocol HTTP_11

HTTPS_11

public static final BetterTomcat.Protocol HTTPS_11

HTTP_11_NIO

public static final BetterTomcat.Protocol HTTP_11_NIO

HTTPS_11_NIO

public static final BetterTomcat.Protocol HTTPS_11_NIO

HTTP_11_APR

public static final BetterTomcat.Protocol HTTP_11_APR

HTTPS_11_APR

public static final BetterTomcat.Protocol HTTPS_11_APR

MEMORY

public static final BetterTomcat.Protocol MEMORY

AJP

public static final BetterTomcat.Protocol AJP
Method Detail

values

public static BetterTomcat.Protocol[] 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 (BetterTomcat.Protocol c : BetterTomcat.Protocol.values())
    System.out.println(c);

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

valueOf

public static BetterTomcat.Protocol 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

getProtocolName

public String getProtocolName()

getProtocolClass

public String getProtocolClass()


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.