ariba.ui.aribaweb.core
Class AWRequestContext

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWRequestContext
All Implemented Interfaces:
AWObject, DebugState

public class AWRequestContext
extends AWBaseObject
implements DebugState

The context tracking state through all phases of a single request/response cycle. The RequestContext encapsulates the incoming AWRequest and the outgoing AWResponse. As the primary argument in the methods it tracks the evolving ElementId as the document structure unfolds, providing Ids through nextElementId(), pushElementIdLevel(), and @popElementIdLevel.


Nested Class Summary
static interface AWRequestContext._SubcomponentLookup
           
static class AWRequestContext.RetryRequestException
           
 
Field Summary
static java.lang.String FrameNameKey
           
static java.lang.String IgnoreRefreshCompleteKey
           
static java.lang.String IncrementalUpdateKey
           
static java.lang.String InPageAction
           
static java.lang.String InPageRequest
           
static java.lang.String PageScrollLeftKey
           
static java.lang.String PageScrollTopKey
           
static int Phase_ApplyValues
           
static int Phase_InvokeAction
           
static int Phase_Render
           
static java.lang.String RecordingModeKey
           
static java.lang.String RefreshRequestKey
           
static ThreadDebugKey RequestContextID
           
static java.lang.String ResponseIdKey
           
static AWEncodedString SelfFrameName
           
static java.lang.String SessionIdKey
           
static java.lang.String SessionRendevousKey
           
static java.lang.String SessionSecureIdKey
           
static java.lang.String SessionSecureIdKeyEquals
           
static AWEncodedString TopFrameName
           
static boolean UseXmlHttpRequests
           
 
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber
 
Constructor Summary
AWRequestContext()
           
 
Method Summary
 boolean _debugIsInPlaybackMode()
           
 boolean _debugIsInRecordingMode()
           
 void _debugPopSemanticKeyPrefix()
           
 void _debugPushSemanticKeyPrefix()
           
 AWEncodedString _debugResponseIdAsIs()
           
 java.lang.String _debugSemanticKeyPrefix()
           
 void _debugSetSemanticKeyPrefix(java.lang.String prefix)
           
 boolean _debugShouldRecord()
           
 void _debugSkipRecordPlayback()
           
 AWElementIdGenerator _getElementIdGenerator()
           
 void _overrideRequest(AWRequest newRequest)
           
static AWRequestContext _requestContext()
          Return the request context if there is one is associated with the current thread and null otherwise
 void addCookie(AWCookie cookie)
           
 boolean allowFailedComponentRendezvous()
           
 boolean allowIncrementalUpdateApppend()
           
 void allowIncrementalUpdateApppend(boolean flag)
           
 AWApplication application()
           
 void applyValues()
           
 void assertFileDownloadCompatibleRequestRequired()
           
 AWBacktrackState backtrackState()
           
 java.lang.String browserMaxWidth()
           
 java.lang.String browserMinWidth()
           
 void checkInExistingHttpSession()
           
static void cleanupThreadLocalState()
           
 void clear()
           
 boolean componentPathDebuggingEnabled()
           
 java.lang.String cookieValueForKey(java.lang.String key)
           
 javax.servlet.http.HttpSession createHttpSession()
           
 AWComponent createPageWithName(java.lang.String name)
           
 AWSession createSession()
          Associates and returns a new AWSession.
 AWEncodedString currentElementId()
           
 int currentElementIdLevel()
           
 AWElementIdPath currentElementIdPath()
           
 int currentElementIdPathLength()
           
 java.lang.String currentElementIdTrace()
           
 AWHtmlForm currentForm()
           
 int currentPhase()
           
 boolean dataValuePushedInInvokeAction()
           
 java.lang.Object debugState()
          Returns an object that will be toStringed when the debug information needs to be printed.
 AWDebugTrace debugTrace()
           
 void dequeueSenderId()
           
 java.util.Map dict()
          Deprecated. use put(key,value) and get(key) API's directly
 boolean didAddCookies()
           
 void disableComponentPathDebugging()
           
 void disableElementIdGeneration()
          Disable element id generation is used for non-interactive page rendering
 void enableComponentPathDebugging()
          This may change during a request as not all components want this enabled.
 void enqueueSenderId(java.lang.String newId)
           
 javax.servlet.http.HttpSession existingHttpSession()
           
 AWSession existingSession()
          Returns the session currently associated with this request context.
 void forceFullPageRefresh()
           
 void forceRerender()
           
 boolean forceRerenderRequired()
           
 int formIndex()
           
 java.lang.String formValueForKey(java.lang.String key)
           
 java.util.Map formValues()
           
 AWEncodedString frameName()
           
 boolean fullPageRefreshRequired()
           
 AWResponse generateResponse()
           
 AWResponse generateResponse(AWResponse response)
           
 java.lang.Object get(java.lang.String keyString)
           
 AWComponent getCurrentComponent()
           
 AWBaseElement getCurrentElement()
           
 java.lang.String getDirectActionClassName()
           
 java.lang.String getDirectActionName()
           
 java.util.List getGlobalFormInputIdPaths()
           
 UIRenderMeta.RenderVersion getQueryRenderVersion()
          Fetch the render version set by the URL query parameters; usually null.
 int getTabIndex()
          Fetch the tab index.
 AWResponse handleRequest(AWRequest request, AWRequestHandler requestHandler)
           
 boolean hasMoreSenderIds()
           
 int historyAction()
           
 javax.servlet.http.HttpSession httpSession()
           
 javax.servlet.http.HttpSession httpSession(boolean required)
           
 void incrementElementId()
           
 void incrementElementId(int amount)
           
 void incrementFormIndex()
           
 void init(AWApplication application, AWRequest request)
           
 AWResponseGenerating invokeActionForRequest()
           
 boolean isAccessibilityEnabled()
           
 boolean isBrowserChrome()
           
 boolean isBrowserFirefox()
           
 boolean isBrowserMicrosoft()
           
 boolean isBrowserSafari()
           
 boolean isContentGeneration()
           
 void isContentGeneration(boolean flag)
           
 boolean isDebuggingEnabled()
           
 boolean isExportMode()
           
 boolean isHistoryRequest()
           
 boolean isIncrementalUpdateRequest()
           
 boolean isInPageRequest()
           
 boolean isMetaTemplateMode()
           
 boolean isPathDebugRequest()
           
 boolean isPollUpdateRequest()
           
 boolean isPrintMode()
           
 boolean isRequestSecure()
           
 boolean isStaticGeneration()
           
 boolean isTabbed()
          Evaluate the current URL is a tabbed one.
 boolean isTooManyTabRequest()
           
 boolean isXMLHttpIncrementalRequest()
           
 AWDebugTrace lastDebugTrace()
           
 void markNextComponentAsMainInTrace()
           
 AWEncodedString nextElementId()
           
 AWElementIdPath nextElementIdPath()
           
 AWPage page()
           
 AWComponent pageComponent()
           
 AWComponent pageWithName(java.lang.String pageName)
           
 AWComponent pageWithName(java.lang.String pageName, java.util.Map<java.lang.String,java.lang.Object> assignments)
           
 javax.servlet.http.HttpSession peekHttpSession()
           
 void popCurrentComponent(AWComponent parent)
           
 void popCurrentElement(AWBaseElement prev)
           
 void popElementIdLevel()
           
 void popElementIdLevel(int elementIdComponent)
           
 void popFormInputElementId()
           
 void pushCurrentComponent(AWComponent component)
           
 AWBaseElement pushCurrentElement(AWBaseElement element)
           
 void pushElementIdLevel()
           
 void pushElementIdLevel(int elementIdComponent)
           
 void put(java.lang.String keyString, java.lang.Object objectValue)
           
 void recordFormInputId(AWElementIdPath elementIdPath)
           
 void recordGlobalFormInputId(AWElementIdPath elementIdPath)
          Keeps track of this element id for all subsequent forms and add the element id to all existing forms.
 void registerNewPageComponent(AWComponent pageComponent)
           
 java.lang.Object remove(java.lang.String keyString)
           
 AWRequest request()
           
 AWPage requestPage()
           
 java.lang.String requestSenderId()
           
 AWElementIdPath requestSenderIdPath()
           
 java.lang.String requestUrl()
           
 void resetForNextCycle()
           
 AWResponse response()
           
 AWEncodedString responseId()
           
 javax.servlet.http.HttpSession restoreHttpSessionForId(java.lang.String sessionId)
           
 javax.servlet.http.HttpSession restoreHttpSessionForId(java.lang.String sessionId, boolean checkRemoteHostAddress, boolean throwException)
           
 void restoreOriginalResponse(AWResponse response)
           
 AWSession session()
           
 AWSession session(boolean required)
          Returns the current AWSession associated with the client making the request or, if if there is no current AWSession and required is true, throws AWSessionRestorationException.
 int sessionTimeout()
           
 void setBacktrackState(AWBacktrackState backtrackState)
           
 void setCurrentComponent(AWComponent currentComponent)
           
 void setCurrentDirectAction(java.lang.String directActionClassName, java.lang.String directActionName)
           
 void setCurrentElement(AWBaseElement element)
          Deprecated. use pushCurrentElement / popCurrentElement instead
 void setCurrentForm(AWHtmlForm currentForm)
           
 void setDataValuePushedInInvokeAction(boolean value)
           
 void setDebugIsInRecordingMode(boolean value)
           
 void setElementId(AWElementIdGenerator elementIdGenerator)
          The name of this "setElementId" is retained for backward compatibility with code in the ariba.encoder.xml package.
 void setExportMode(boolean isExportMode)
           
 void setFormInputIds(AWArrayManager formInputIds)
           
 void setFrameName(AWEncodedString frameName)
           
 void setFrameName(java.lang.String frameName)
           
 void setHistoryAction(int historyAction)
           
 void setHistoryRequest(boolean historyRequest)
           
 void setHttpSession(javax.servlet.http.HttpSession httpSession)
           
 void setIsDebuggingEnabled(boolean state)
           
 void setIsPrintMode(boolean isPrintMode)
           
 void setMetaTemplateMode(boolean flag)
           
 void setPage(AWPage page)
           
 void setRequestPage(AWPage page)
           
 void setResponse(AWResponse response)
           
 void setResponseCompleteCallback(AWBaseResponse.AWResponseCompleteCallback callback)
           
 void setXHRRCompatibleResponse(AWResponse response)
           
 void sleep()
           
 java.lang.String staticUrlForActionResults(AWResponseGenerating responseGenerating)
           
 void stopComponentPathRecording()
           
 void suppressTraceForCurrentScopingElement()
           
 AWElementIdPath targetFormIdPath()
           
 AWResponse temporarilySwapReponse(AWResponse response)
           
 AWValidationContext validationContext()
           
 boolean wasPathDebugRequest()
           
 
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject
debugString, ensureFieldValuesClear, getFieldValue, init, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TopFrameName

public static final AWEncodedString TopFrameName

SelfFrameName

public static final AWEncodedString SelfFrameName

SessionIdKey

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

ResponseIdKey

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

SessionSecureIdKey

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

SessionSecureIdKeyEquals

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

FrameNameKey

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

PageScrollTopKey

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

PageScrollLeftKey

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

SessionRendevousKey

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

IncrementalUpdateKey

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

RequestContextID

public static final ThreadDebugKey RequestContextID

RefreshRequestKey

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

RecordingModeKey

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

InPageAction

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

InPageRequest

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

UseXmlHttpRequests

public static boolean UseXmlHttpRequests

IgnoreRefreshCompleteKey

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

Phase_ApplyValues

public static final int Phase_ApplyValues
See Also:
Constant Field Values

Phase_InvokeAction

public static final int Phase_InvokeAction
See Also:
Constant Field Values

Phase_Render

public static final int Phase_Render
See Also:
Constant Field Values
Constructor Detail

AWRequestContext

public AWRequestContext()
Method Detail

init

public void init(AWApplication application,
                 AWRequest request)

_requestContext

public static AWRequestContext _requestContext()
Return the request context if there is one is associated with the current thread and null otherwise

Returns:
the request context or null

validationContext

public AWValidationContext validationContext()

getQueryRenderVersion

public UIRenderMeta.RenderVersion getQueryRenderVersion()
Fetch the render version set by the URL query parameters; usually null.


isDebuggingEnabled

public boolean isDebuggingEnabled()

setIsDebuggingEnabled

public void setIsDebuggingEnabled(boolean state)

setMetaTemplateMode

public void setMetaTemplateMode(boolean flag)

isMetaTemplateMode

public boolean isMetaTemplateMode()

setPage

public void setPage(AWPage page)

page

public AWPage page()

pageComponent

public AWComponent pageComponent()

pageWithName

public AWComponent pageWithName(java.lang.String pageName)

pageWithName

public AWComponent pageWithName(java.lang.String pageName,
                                java.util.Map<java.lang.String,java.lang.Object> assignments)

setRequestPage

public void setRequestPage(AWPage page)

requestPage

public AWPage requestPage()

responseId

public AWEncodedString responseId()

setFrameName

public void setFrameName(AWEncodedString frameName)

setFrameName

public void setFrameName(java.lang.String frameName)

frameName

public AWEncodedString frameName()

registerNewPageComponent

public void registerNewPageComponent(AWComponent pageComponent)

setElementId

public void setElementId(AWElementIdGenerator elementIdGenerator)
The name of this "setElementId" is retained for backward compatibility with code in the ariba.encoder.xml package. It would be better to call it "setElementIdGenerator", but then I've have to change more code in ariba.encoder.xml.

Parameters:
elementIdGenerator -

_getElementIdGenerator

public AWElementIdGenerator _getElementIdGenerator()

setBacktrackState

public void setBacktrackState(AWBacktrackState backtrackState)

backtrackState

public AWBacktrackState backtrackState()

application

public AWApplication application()

existingSession

public AWSession existingSession()
Returns the session currently associated with this request context. Only returns a session if a previous call has associated the session with this request. This means that even if there is a valid session for this request, this method could return null if there has not been a previous call to session() or httpSession(). Should only be used by calls made during session initialization (since circular calls to session(false) are not allowed). All other checks for session should use session(false).


setHttpSession

public void setHttpSession(javax.servlet.http.HttpSession httpSession)

existingHttpSession

public javax.servlet.http.HttpSession existingHttpSession()

createHttpSession

public javax.servlet.http.HttpSession createHttpSession()

restoreHttpSessionForId

public javax.servlet.http.HttpSession restoreHttpSessionForId(java.lang.String sessionId,
                                                              boolean checkRemoteHostAddress,
                                                              boolean throwException)

restoreHttpSessionForId

public javax.servlet.http.HttpSession restoreHttpSessionForId(java.lang.String sessionId)

httpSession

public javax.servlet.http.HttpSession httpSession()

httpSession

public javax.servlet.http.HttpSession httpSession(boolean required)

session

public AWSession session(boolean required)
Returns the current AWSession associated with the client making the request or, if if there is no current AWSession and required is true, throws AWSessionRestorationException. If required is false and the client making this request does not have a valid AWSession, this method returns null.

Parameters:
required -

session

public AWSession session()

createSession

public AWSession createSession()
Associates and returns a new AWSession. If an existing session has been associated with the current request, a FatalAssertionException will be thrown.

Returns:
newly created AWSession

peekHttpSession

public javax.servlet.http.HttpSession peekHttpSession()
Returns:
The Http Session or null if it's not available yet.

request

public AWRequest request()

_overrideRequest

public void _overrideRequest(AWRequest newRequest)

setResponse

public void setResponse(AWResponse response)

temporarilySwapReponse

public AWResponse temporarilySwapReponse(AWResponse response)

restoreOriginalResponse

public void restoreOriginalResponse(AWResponse response)

setXHRRCompatibleResponse

public void setXHRRCompatibleResponse(AWResponse response)

response

public AWResponse response()

isBrowserFirefox

public boolean isBrowserFirefox()

isBrowserMicrosoft

public boolean isBrowserMicrosoft()

isBrowserSafari

public boolean isBrowserSafari()

isBrowserChrome

public boolean isBrowserChrome()

browserMinWidth

public java.lang.String browserMinWidth()

browserMaxWidth

public java.lang.String browserMaxWidth()

requestSenderId

public java.lang.String requestSenderId()

requestSenderIdPath

public AWElementIdPath requestSenderIdPath()

dequeueSenderId

public void dequeueSenderId()

enqueueSenderId

public void enqueueSenderId(java.lang.String newId)

hasMoreSenderIds

public boolean hasMoreSenderIds()

nextElementIdPath

public AWElementIdPath nextElementIdPath()

nextElementId

public AWEncodedString nextElementId()

currentElementIdPath

public AWElementIdPath currentElementIdPath()

currentElementId

public AWEncodedString currentElementId()

currentElementIdPathLength

public int currentElementIdPathLength()

incrementElementId

public void incrementElementId()

incrementElementId

public void incrementElementId(int amount)

pushElementIdLevel

public void pushElementIdLevel(int elementIdComponent)

pushElementIdLevel

public void pushElementIdLevel()

popElementIdLevel

public void popElementIdLevel()

popElementIdLevel

public void popElementIdLevel(int elementIdComponent)

currentElementIdLevel

public int currentElementIdLevel()

disableElementIdGeneration

public void disableElementIdGeneration()
Disable element id generation is used for non-interactive page rendering


currentElementIdTrace

public java.lang.String currentElementIdTrace()

setFormInputIds

public void setFormInputIds(AWArrayManager formInputIds)

recordFormInputId

public void recordFormInputId(AWElementIdPath elementIdPath)

recordGlobalFormInputId

public void recordGlobalFormInputId(AWElementIdPath elementIdPath)
Keeps track of this element id for all subsequent forms and add the element id to all existing forms.

Parameters:
elementIdPath -

getGlobalFormInputIdPaths

public java.util.List getGlobalFormInputIdPaths()

targetFormIdPath

public AWElementIdPath targetFormIdPath()

popFormInputElementId

public void popFormInputElementId()

resetForNextCycle

public void resetForNextCycle()

applyValues

public void applyValues()

invokeActionForRequest

public AWResponseGenerating invokeActionForRequest()

isPollUpdateRequest

public boolean isPollUpdateRequest()

isInPageRequest

public boolean isInPageRequest()

generateResponse

public AWResponse generateResponse(AWResponse response)

addCookie

public void addCookie(AWCookie cookie)

didAddCookies

public boolean didAddCookies()

generateResponse

public AWResponse generateResponse()

handleRequest

public AWResponse handleRequest(AWRequest request,
                                AWRequestHandler requestHandler)

checkInExistingHttpSession

public void checkInExistingHttpSession()

sleep

public void sleep()

get

public java.lang.Object get(java.lang.String keyString)

put

public void put(java.lang.String keyString,
                java.lang.Object objectValue)

remove

public java.lang.Object remove(java.lang.String keyString)

clear

public void clear()

setCurrentForm

public void setCurrentForm(AWHtmlForm currentForm)

currentForm

public AWHtmlForm currentForm()

incrementFormIndex

public void incrementFormIndex()

formIndex

public int formIndex()

debugState

public java.lang.Object debugState()
Description copied from interface: DebugState
Returns an object that will be toStringed when the debug information needs to be printed. This method will only be called when the information is to be printed out - which will be rare. This method may safely be slow. It is also ok for the value that would be returned to change over time, even after the time that it is intially set in ThreadDebugState.

The most common implementation is to create a new Map and set key and value pairs of information in that Map which it will then return.

Specified by:
debugState in interface DebugState
Returns:
an object that encapsulates the state of the current application. The toString() method of the returned object should be made safe even if the object that implements DebugState is being modified at the time. Exceptions from toString are tollerable in this case, but data corruption is not.
See Also:
ThreadDebugState.set(ariba.util.core.ThreadDebugKey, java.lang.Object)

setCurrentDirectAction

public void setCurrentDirectAction(java.lang.String directActionClassName,
                                   java.lang.String directActionName)

getDirectActionClassName

public java.lang.String getDirectActionClassName()

getDirectActionName

public java.lang.String getDirectActionName()

setCurrentComponent

public void setCurrentComponent(AWComponent currentComponent)

getCurrentComponent

public AWComponent getCurrentComponent()

setCurrentElement

public void setCurrentElement(AWBaseElement element)
Deprecated. use pushCurrentElement / popCurrentElement instead


pushCurrentElement

public AWBaseElement pushCurrentElement(AWBaseElement element)

popCurrentElement

public void popCurrentElement(AWBaseElement prev)

getCurrentElement

public AWBaseElement getCurrentElement()

enableComponentPathDebugging

public void enableComponentPathDebugging()
This may change during a request as not all components want this enabled.


disableComponentPathDebugging

public void disableComponentPathDebugging()

componentPathDebuggingEnabled

public boolean componentPathDebuggingEnabled()

debugTrace

public AWDebugTrace debugTrace()

currentPhase

public int currentPhase()

lastDebugTrace

public AWDebugTrace lastDebugTrace()

pushCurrentComponent

public void pushCurrentComponent(AWComponent component)

popCurrentComponent

public void popCurrentComponent(AWComponent parent)

suppressTraceForCurrentScopingElement

public void suppressTraceForCurrentScopingElement()

markNextComponentAsMainInTrace

public void markNextComponentAsMainInTrace()

isPathDebugRequest

public boolean isPathDebugRequest()

wasPathDebugRequest

public boolean wasPathDebugRequest()

stopComponentPathRecording

public void stopComponentPathRecording()

_debugPushSemanticKeyPrefix

public void _debugPushSemanticKeyPrefix()

_debugPopSemanticKeyPrefix

public void _debugPopSemanticKeyPrefix()

_debugSetSemanticKeyPrefix

public void _debugSetSemanticKeyPrefix(java.lang.String prefix)

_debugSemanticKeyPrefix

public java.lang.String _debugSemanticKeyPrefix()

_debugResponseIdAsIs

public AWEncodedString _debugResponseIdAsIs()

_debugIsInPlaybackMode

public boolean _debugIsInPlaybackMode()

_debugIsInRecordingMode

public boolean _debugIsInRecordingMode()

setDebugIsInRecordingMode

public void setDebugIsInRecordingMode(boolean value)

_debugSkipRecordPlayback

public void _debugSkipRecordPlayback()

_debugShouldRecord

public boolean _debugShouldRecord()

cleanupThreadLocalState

public static void cleanupThreadLocalState()

cookieValueForKey

public java.lang.String cookieValueForKey(java.lang.String key)

formValueForKey

public java.lang.String formValueForKey(java.lang.String key)

formValues

public java.util.Map formValues()

isRequestSecure

public boolean isRequestSecure()

createPageWithName

public AWComponent createPageWithName(java.lang.String name)

sessionTimeout

public int sessionTimeout()

requestUrl

public java.lang.String requestUrl()

isPrintMode

public boolean isPrintMode()

setIsPrintMode

public void setIsPrintMode(boolean isPrintMode)

isExportMode

public boolean isExportMode()

setExportMode

public void setExportMode(boolean isExportMode)

setDataValuePushedInInvokeAction

public void setDataValuePushedInInvokeAction(boolean value)

dataValuePushedInInvokeAction

public boolean dataValuePushedInInvokeAction()

isIncrementalUpdateRequest

public boolean isIncrementalUpdateRequest()

isXMLHttpIncrementalRequest

public boolean isXMLHttpIncrementalRequest()

assertFileDownloadCompatibleRequestRequired

public void assertFileDownloadCompatibleRequestRequired()

allowFailedComponentRendezvous

public boolean allowFailedComponentRendezvous()

isContentGeneration

public boolean isContentGeneration()

isContentGeneration

public void isContentGeneration(boolean flag)

forceFullPageRefresh

public void forceFullPageRefresh()

fullPageRefreshRequired

public boolean fullPageRefreshRequired()

forceRerender

public void forceRerender()

forceRerenderRequired

public boolean forceRerenderRequired()

allowIncrementalUpdateApppend

public boolean allowIncrementalUpdateApppend()

allowIncrementalUpdateApppend

public void allowIncrementalUpdateApppend(boolean flag)

setHistoryRequest

public void setHistoryRequest(boolean historyRequest)

isHistoryRequest

public boolean isHistoryRequest()

setHistoryAction

public void setHistoryAction(int historyAction)

historyAction

public int historyAction()

dict

public java.util.Map dict()
Deprecated. use put(key,value) and get(key) API's directly


setResponseCompleteCallback

public void setResponseCompleteCallback(AWBaseResponse.AWResponseCompleteCallback callback)

isAccessibilityEnabled

public boolean isAccessibilityEnabled()

isStaticGeneration

public boolean isStaticGeneration()

isTabbed

public boolean isTabbed()
Evaluate the current URL is a tabbed one.

Returns:
Is tabbed request.

getTabIndex

public int getTabIndex()
Fetch the tab index.

Returns:
The tab index.

staticUrlForActionResults

public java.lang.String staticUrlForActionResults(AWResponseGenerating responseGenerating)

isTooManyTabRequest

public boolean isTooManyTabRequest()


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.