com.plumtree.uiinfrastructure.interpreter.filter.utils
Class GatewayHandlers

java.lang.Object
  extended by com.plumtree.uiinfrastructure.interpreter.filter.utils.GatewayHandlers

public class GatewayHandlers
extends java.lang.Object

This class contains helper methods for the Interpreter class that handle Gateway requests.

Author:
daniilk

Field Summary
static java.lang.String CLIENT_SIDE_HEADER_VALUE
           
static java.lang.String DPROFILE_EDITOR_SESSION_FLAG
          Name of the session flag indicating being in the default profile editor.
static java.lang.String GATEWAY_FAILURE_FLAG
           
static java.lang.String GATEWAY_UNIQUE
          Internal string constants for gateway
static java.lang.String PORTAL_LOGIN_URL_HEADER_NAME
           
static java.lang.String PORTLET_REFRESH_HEADER_VALUE
           
static java.lang.String REQUEST_TYPE_HEADER_NAME
           
static java.lang.String RESPONSE_TYPE_HEADER_NAME
           
static java.lang.String SESSION_TIMEOUT_HEADER_VALUE
           
 
Constructor Summary
GatewayHandlers()
           
 
Method Summary
static java.lang.String GetRedirectToURL(RequestData tempData, boolean bJSXMLRequest)
           
static boolean HandleGatewayRequest(RequestData tempData)
          This method handles gatewayed content.
static void HandleJSXMLSessionTimeout(RequestData tempData, Redirect loginRedirect)
          Adds appropriate headers and sets up the response so that the JSXML knows the session has expired, and can redirect to the right URL afterwards.
static boolean IsJSXMLRequest(RequestData tempData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GATEWAY_UNIQUE

public static final java.lang.String GATEWAY_UNIQUE
Internal string constants for gateway

See Also:
Constant Field Values

GATEWAY_FAILURE_FLAG

public static final java.lang.String GATEWAY_FAILURE_FLAG
See Also:
Constant Field Values

RESPONSE_TYPE_HEADER_NAME

public static final java.lang.String RESPONSE_TYPE_HEADER_NAME
See Also:
Constant Field Values

SESSION_TIMEOUT_HEADER_VALUE

public static final java.lang.String SESSION_TIMEOUT_HEADER_VALUE
See Also:
Constant Field Values

REQUEST_TYPE_HEADER_NAME

public static final java.lang.String REQUEST_TYPE_HEADER_NAME
See Also:
Constant Field Values

PORTLET_REFRESH_HEADER_VALUE

public static final java.lang.String PORTLET_REFRESH_HEADER_VALUE
See Also:
Constant Field Values

CLIENT_SIDE_HEADER_VALUE

public static final java.lang.String CLIENT_SIDE_HEADER_VALUE
See Also:
Constant Field Values

PORTAL_LOGIN_URL_HEADER_NAME

public static final java.lang.String PORTAL_LOGIN_URL_HEADER_NAME
See Also:
Constant Field Values

DPROFILE_EDITOR_SESSION_FLAG

public static final java.lang.String DPROFILE_EDITOR_SESSION_FLAG
Name of the session flag indicating being in the default profile editor. Defined here so that the AppDataObject can access it too. This is stored on the persistent session.

See Also:
Constant Field Values
Constructor Detail

GatewayHandlers

public GatewayHandlers()
Method Detail

HandleGatewayRequest

public static boolean HandleGatewayRequest(RequestData tempData)
This method handles gatewayed content. This method does not need to use the per-session XPLock, since it does not use the ASCache and destroys its AActivitySpace after every request.

Parameters:
RequestData -
Returns:
true implies the request has been fully processed. False implies the interpreter should continue processing this request.

GetRedirectToURL

public static java.lang.String GetRedirectToURL(RequestData tempData,
                                                boolean bJSXMLRequest)

IsJSXMLRequest

public static boolean IsJSXMLRequest(RequestData tempData)

HandleJSXMLSessionTimeout

public static void HandleJSXMLSessionTimeout(RequestData tempData,
                                             Redirect loginRedirect)
Adds appropriate headers and sets up the response so that the JSXML knows the session has expired, and can redirect to the right URL afterwards.




Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.