com.contrastsecurity.sdk.http
Enum ContrastRequest

java.lang.Object
  extended by java.lang.Enum<ContrastRequest>
      extended by com.contrastsecurity.sdk.http.ContrastRequest
All Implemented Interfaces:
Serializable, Comparable<ContrastRequest>

public enum ContrastRequest
extends Enum<ContrastRequest>


Enum Constant Summary
APP_DATA
           
APP_LIST
           
APP_TRACES
           
COVERAGE
           
QUEUE_STATUS
           
TRACE_DETAIL
           
 
Method Summary
 HttpMethod getMethod()
           
 String getUrl()
           
 boolean isParm()
           
static ContrastRequest valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContrastRequest[] 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

APP_LIST

public static final ContrastRequest APP_LIST

APP_TRACES

public static final ContrastRequest APP_TRACES

TRACE_DETAIL

public static final ContrastRequest TRACE_DETAIL

APP_DATA

public static final ContrastRequest APP_DATA

COVERAGE

public static final ContrastRequest COVERAGE

QUEUE_STATUS

public static final ContrastRequest QUEUE_STATUS
Method Detail

values

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

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

valueOf

public static ContrastRequest 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

getMethod

public HttpMethod getMethod()

getUrl

public String getUrl()

isParm

public boolean isParm()


Copyright © 2014. All Rights Reserved.