com.flagstone.transform.action
Enum GetUrl2.Request

java.lang.Object
  extended by java.lang.Enum<GetUrl2.Request>
      extended by com.flagstone.transform.action.GetUrl2.Request
All Implemented Interfaces:
Serializable, Comparable<GetUrl2.Request>
Enclosing class:
GetUrl2

public static enum GetUrl2.Request
extends Enum<GetUrl2.Request>

Request defines the different types of request that can be submitted to a server using a GetUrl action.


Enum Constant Summary
MOVIE_TO_LEVEL
          Load a movie without submitting the movie variables.
MOVIE_TO_LEVEL_WITH_GET
          Load a movie submitting the movie variables using HTTP GET.
MOVIE_TO_LEVEL_WITH_POST
          Load a movie submitting the movie variables using HTTP POST.
MOVIE_TO_TARGET
          Load a movie or web page without submitting the movie variables.
MOVIE_TO_TARGET_WITH_GET
          Load a movie or web page sending variables using HTTP GET.
MOVIE_TO_TARGET_WITH_POST
          Load a movie or web page sending the variables using HTTP POST.
VARIABLES_TO_LEVEL
          Load variables without submitting the movie variables.
VARIABLES_TO_LEVEL_WITH_GET
          Load variables submitting the movie variables using HTTP GET.
VARIABLES_TO_LEVEL_WITH_POST
          Load variables submitting the movie variables using HTTP POST.
VARIABLES_TO_TARGET
          Load variables without submitting the movie variables.
VARIABLES_TO_TARGET_WITH_GET
          Load variables submitting the movie variables using HTTP GET.
VARIABLES_TO_TARGET_WITH_POST
          Load variables submitting the movie variables using HTTP POST.
 
Method Summary
 int getValue()
          Get the value used to represent the request when it is encoded.
static GetUrl2.Request valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GetUrl2.Request[] 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

MOVIE_TO_LEVEL

public static final GetUrl2.Request MOVIE_TO_LEVEL
Load a movie without submitting the movie variables.


MOVIE_TO_LEVEL_WITH_GET

public static final GetUrl2.Request MOVIE_TO_LEVEL_WITH_GET
Load a movie submitting the movie variables using HTTP GET.


MOVIE_TO_LEVEL_WITH_POST

public static final GetUrl2.Request MOVIE_TO_LEVEL_WITH_POST
Load a movie submitting the movie variables using HTTP POST.


MOVIE_TO_TARGET

public static final GetUrl2.Request MOVIE_TO_TARGET
Load a movie or web page without submitting the movie variables.


MOVIE_TO_TARGET_WITH_GET

public static final GetUrl2.Request MOVIE_TO_TARGET_WITH_GET
Load a movie or web page sending variables using HTTP GET.


MOVIE_TO_TARGET_WITH_POST

public static final GetUrl2.Request MOVIE_TO_TARGET_WITH_POST
Load a movie or web page sending the variables using HTTP POST.


VARIABLES_TO_LEVEL

public static final GetUrl2.Request VARIABLES_TO_LEVEL
Load variables without submitting the movie variables.


VARIABLES_TO_LEVEL_WITH_GET

public static final GetUrl2.Request VARIABLES_TO_LEVEL_WITH_GET
Load variables submitting the movie variables using HTTP GET.


VARIABLES_TO_LEVEL_WITH_POST

public static final GetUrl2.Request VARIABLES_TO_LEVEL_WITH_POST
Load variables submitting the movie variables using HTTP POST.


VARIABLES_TO_TARGET

public static final GetUrl2.Request VARIABLES_TO_TARGET
Load variables without submitting the movie variables.


VARIABLES_TO_TARGET_WITH_GET

public static final GetUrl2.Request VARIABLES_TO_TARGET_WITH_GET
Load variables submitting the movie variables using HTTP GET.


VARIABLES_TO_TARGET_WITH_POST

public static final GetUrl2.Request VARIABLES_TO_TARGET_WITH_POST
Load variables submitting the movie variables using HTTP POST.

Method Detail

values

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

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

valueOf

public static GetUrl2.Request 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

getValue

public int getValue()
Get the value used to represent the request when it is encoded.

Returns:
the value for the encoded request.


Copyright © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.