Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


oracle.adf.view.rich.remote
Enum RemoteApplicationRequest.Operation

java.lang.Object
  extended by java.lang.Enum<RemoteApplicationRequest.Operation>
      extended by oracle.adf.view.rich.remote.RemoteApplicationRequest.Operation

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RemoteApplicationRequest.Operation>
Enclosing class:
RemoteApplicationRequest

public static enum RemoteApplicationRequest.Operation
extends java.lang.Enum<RemoteApplicationRequest.Operation>
implements java.io.Serializable

An enumeration of request types. These "types" determine the path that the code takes through the remote filter. Most of the time the operation will be "execute", but there are other request types of various circumstances.


Enum Constant Summary
EXECUTE
          Execute requests run code on the remote server, but will then dispatch down the filter chain to the object specified on the URI before returning.
FETCH
          Fetch requests never actually dispatch to the filter chain nor do they support task handlers.
INVOKE
          Invoke requests never actually dispatch to the filter chain.

 

Method Summary
static RemoteApplicationRequest.Operation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RemoteApplicationRequest.Operation[] 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

EXECUTE

public static final RemoteApplicationRequest.Operation EXECUTE
Execute requests run code on the remote server, but will then dispatch down the filter chain to the object specified on the URI before returning. They execute validateExecution, beginExecute, and endExecute functions of the TaskHandlers.

INVOKE

public static final RemoteApplicationRequest.Operation INVOKE
Invoke requests never actually dispatch to the filter chain. They simply set up a simple environment and run the tasks specified on the request before returning. This is typically used to query the producer or perform one-time tasks like stylesheet exchanges

FETCH

public static final RemoteApplicationRequest.Operation FETCH
Fetch requests never actually dispatch to the filter chain nor do they support task handlers. Instead Fetch requests simply set up a simple environment (within the context of the subsession) and forward to the resource specified on the request. This is typically used to retrieve graphics or other documents from the producer so they can be sent to the consumer.

Method Detail

values

public static RemoteApplicationRequest.Operation[] 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 (RemoteApplicationRequest.Operation c : RemoteApplicationRequest.Operation.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RemoteApplicationRequest.Operation valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.