public abstract class ERXAjaxApplication
extends com.webobjects.appserver.WOApplication
Name | Description |
---|---|
er.extensions.ERXAjaxApplication.allowContextPageResponse | er.extensions.ERXAjaxApplication.allowContextPageResponse |
Modifier and Type | Class and Description |
---|---|
static interface |
ERXAjaxApplication.ERXAjaxResponseDelegate
ERXAjaxResponseDelegate receives callbacks from within the R-R loop when
certain situations occur.
|
com.webobjects.appserver.WOApplication._EventLoggingEnabler, com.webobjects.appserver.WOApplication.Event, com.webobjects.appserver.WOApplication.TimeoutTask
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
static String |
KEY_AJAX_SUBMIT_BUTTON |
static String |
KEY_PARTIAL_FORM_SENDER_ID |
static String |
KEY_REPLACED |
static String |
KEY_UPDATE_CONTAINER_ID |
_adminRequestHandlerKey, _cgiAdaptorURLParsed, _classPathURLs, _launchServices, _terminating, _TheLastApplicationAccessTime, _unsetHost, _wasMainInvoked, ApplicationDidDispatchRequestNotification, ApplicationDidFinishLaunchingNotification, ApplicationWillDispatchRequestNotification, ApplicationWillFinishLaunchingNotification, CGIAdaptorURLProperty, DirectoryAliasProperty, DocumentRootProperty
Constructor and Description |
---|
ERXAjaxApplication() |
Modifier and Type | Method and Description |
---|---|
static String |
ajaxSubmitButtonName(com.webobjects.appserver.WORequest request)
Returns the form name of the submitting Ajax button.
|
static void |
cleanUpHeaders(com.webobjects.appserver.WOResponse response)
Removes Ajax response headers that are no longer necessary.
|
static void |
enableShouldNotStorePage()
Set flag on current context to not store the current page.
|
static boolean |
forceStorePage(com.webobjects.appserver.WOMessage message)
Checks if the page should not be stored in the cache
ページを強制的にキャシュに登録する必要ああるかどうかをチェックします。
|
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Overridden to allow for redirected responses.
|
static boolean |
isAjaxReplacement(com.webobjects.appserver.WORequest request)
Returns true if this is an Ajax replacement (_r key is set).
|
static boolean |
isAjaxRequest(com.webobjects.appserver.WORequest request)
Return whether or not the given request is an Ajax request.
|
static boolean |
isAjaxSubmit(com.webobjects.appserver.WORequest request)
Returns true if this is an ajax submit.
|
static boolean |
isAjaxUpdate(com.webobjects.appserver.WORequest request)
Returns true if this request will update an AjaxUpdateContainer.
|
static String |
partialFormSenderID(com.webobjects.appserver.WORequest request)
Returns the form name of the partial form submission.
|
static void |
setForceStorePage(com.webobjects.appserver.WOMessage message)
ページを強制的にキャシュに登録します。
|
void |
setResponseDelegate(ERXAjaxApplication.ERXAjaxResponseDelegate responseDelegate)
Sets the response delegate for this application.
|
static boolean |
shouldIgnoreResults(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context,
com.webobjects.appserver.WOActionResults results) |
static boolean |
shouldNotStorePage(com.webobjects.appserver.WOContext context)
Checks if the page should not be stored in the cache
ページがキャッシュに登録する必要がないことをチェックします。
|
static boolean |
shouldNotStorePage(com.webobjects.appserver.WOMessage message)
Checks if the page should not be stored in the cache
キャッシュ内にページを登録しないかどうかをチェックします。
|
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Ajax links have a ?_u=xxx&2309482093 in the url which makes it look like a form submission to WebObjects.
|
_addToExpectedLanguages, _allowsCacheControlHeader, _checksForSpecialHeaders, _componentDefinition, _componentDefinitionFromClassNamed, _debugString, _discountTerminatedSession, _expectedLanguages, _finishInitializingSession, _initializeSessionInContext, _isDebuggingEnabled, _isDomesticSupportedDevelopmentPlatform, _isForeignSupportedDevelopmentPlatform, _isPageRecreationEnabled, _isSupportedDevelopmentPlatform, _lockDefaultEditingContext, _newLocationForRequest, _openInitialURL, _parseCGIAdaptorURL, _quitTimer, _rapidTurnaroundActiveForAnyProject, _removeComponentDefinitionCacheContents, _runLoop, _sessionClass, _setAllowsCacheControlHeader, _setChecksForSpecialHeaders, _setHost, _setHostAddress, _setLifebeatDestinationPort, _setLockDefaultEditingContext, _terminateFromMonitor, _terminateOrResetTimer, activeSessionsCount, adaptor, adaptorExtensions, adaptorName, adaptorPath, adaptors, adaptorsDispatchRequestsConcurrently, adaptorWithName, additionalAdaptors, ajaxRequestHandlerKey, allowsConcurrentRequestHandling, appendToResponse, application, applicationBaseURL, applicationExtension, associationFactory, associationFactoryRegistry, autoOpenClientApplication, autoOpenInBrowser, awake, baseURL, canAccessFieldsDirectly, cgiAdaptorURL, combinedComponentPathURL, componentRequestHandlerKey, contextClassName, createContextForRequest, createDefaultAssociationFactoryRegistry, createDefaultNamespaceProvider, createRequest, createResourceManager, createResponseInContext, createSessionForRequest, debugString, defaultAdaptor, defaultRequestHandler, defaultRequestHandlerClassName, defaultUndoStackLimit, directActionRequestHandlerKey, directConnectURL, dispatchRequest, documentRoot, dynamicElementWithName, frameworksBaseURL, getAdaptorsDispatchRequestsConcurrently, getAdditionalAdaptors, getAgentID, getAllowsConcurrentRequestHandling, getApplicationBaseURL, getApplicationExtension, getAutoOpenClientApplication, getBaseURL, getCGIAdaptorURL, getClassPaths, getComponentRequestHandlerKey, getDefaultAdaptor, getDefaultUndoStackLimit, getDirectConnectURL, getFrameworkVersions, getHost, getHostAddress, getIncludeCommentsInResponses, getIsCachingEnabled, getIsMonitorEnabled, getIsPageRefreshOnBacktrackEnabled, getIsRefusingNewSessions, getIsTerminating, getJMXDomain, getLifebeatDestinationPort, getLifebeatInterval, getListenQueueSize, getMaxSocketIdleTime, getMBeanServer, getMinimumActiveSessionsCount, getName, getOutputPath, getPageCacheSize, getPageFragmentCacheSize, getPort, getServletConnectURL, getSessionTimeOut, getTimeOut, getWebObjectsVersion, getWebserverConnectURL, getWorkerThreadCountMax, getWorkerThreadCountMin, handleActionRequestError, handleException, handleMalformedCookieString, handlePageRestorationErrorInContext, handleQueryWithUnboundKey, handlerForRequest, handleSessionCreationErrorInContext, handleSessionRestorationErrorInContext, handleTakeValueForUnboundKey, host, hostAddress, includeCommentsInResponses, instanceIdKey, isCachingEnabled, isConcurrentRequestHandlingEnabled, isDebuggingEnabled, isDirectConnectEnabled, isMonitorEnabled, isPageRefreshOnBacktrackEnabled, isRefusingNewSessions, isTerminating, launchArguments, licensedRequestLimit, licensedRequestWindow, licensingAllowsMultipleInstances, licensingAllowsMultipleThreads, lifebeatDestinationPort, lifebeatEnabled, lifebeatInterval, listenQueueSize, loadFrameworks, lock, logSetValueForDeclarationNamed, logString, logTakeValueForDeclarationNamed, main, main, maxSocketIdleTime, minimumActiveSessionsCount, monitorEnabled, monitorHost, monitoringEnabled, name, namespaceProvider, newDynamicURL, newDynamicURL, number, outputPath, pageCacheSize, pageFragmentCacheSize, pageWithName, path, permanentPageCacheSize, port, primeApplication, primeApplication, printsHTMLParserDiagnostics, projectSearchPath, recordingPath, refuseNewSessions, registeredRequestHandlerKeys, registerMBean, registerMBean, registerRequestHandler, removeRequestHandlerForKey, requestHandlerForKey, requestHandlingLock, resourceManager, resourceRequestHandlerKey, responseForComponentWithName, responseForDirectActionWithNameAndClass, restoreSessionWithID, run, saveSessionForContext, servletConnectURL, sessionIdKey, sessionStore, sessionStoreClassName, sessionTimeOut, setAdaptor, setAdditionalAdaptors, setAllowsConcurrentRequestHandling, setApplicationBaseURL, setAutoOpenClientApplication, setAutoOpenInBrowser, setCachingEnabled, setCGIAdaptorURL, setComponentRequestHandlerKey, setContextClassName, setDefaultRequestHandler, setDefaultUndoStackLimit, setDirectActionRequestHandlerKey, setDirectConnectEnabled, setFrameworksBaseURL, setIncludeCommentsInResponses, setJMXDomain, setListenQueueSize, setLoadFrameworks, setMaxSocketIdleTime, setMinimumActiveSessionsCount, setMonitorEnabled, setMonitorHost, setNamespaceProvider, setPageCacheSize, setPageFragmentCacheSize, setPageRefreshOnBacktrackEnabled, setPermanentPageCacheSize, setPort, setPrintsHTMLParserDiagnostics, setProjectSearchPath, setRecordingPath, setResourceManager, setResourceRequestHandlerKey, setSessionStore, setSessionStoreClassName, setSessionTimeOut, setSMTPHost, setSocketCacheSize, setSocketMonitorSleepTime, setStatisticsStore, setTimeOut, setWebServiceRequestHandlerKey, setWorkerThreadCount, setWorkerThreadCountMax, setWorkerThreadCountMin, sharedEditingContext, shouldRestoreSessionOnCleanEntry, sleep, SMTPHost, socketCacheSize, socketMonitorSleepTime, statistics, statisticsStore, streamActionRequestHandlerKey, takeValueForKey, takeValueForKeyPath, terminate, terminateAfterTimeInterval, timeOut, toString, unableToSetNullForKey, unlock, unregisterMBean, validationFailedWithException, valueForKey, valueForKeyPath, wasMainInvoked, webserverConnectURL, webServiceRequestHandlerKey, workerThreadCount, workerThreadCountMax, workerThreadCountMin
public static final String KEY_AJAX_SUBMIT_BUTTON
public static final String KEY_PARTIAL_FORM_SENDER_ID
public static final String KEY_UPDATE_CONTAINER_ID
public static final String KEY_REPLACED
public void setResponseDelegate(ERXAjaxApplication.ERXAjaxResponseDelegate responseDelegate)
responseDelegate
- public static boolean shouldIgnoreResults(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context, com.webobjects.appserver.WOActionResults results)
public void takeValuesFromRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
takeValuesFromRequest
in class com.webobjects.appserver.WOApplication
request
- the current requestcontext
- the contextWOApplication.takeValuesFromRequest(com.webobjects.appserver.WORequest, com.webobjects.appserver.WOContext)
public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
invokeAction
in class com.webobjects.appserver.WOApplication
request
- context
- public static void setForceStorePage(com.webobjects.appserver.WOMessage message)
message
- WOMessagepublic static boolean forceStorePage(com.webobjects.appserver.WOMessage message)
message
- WOMessagepublic static boolean shouldNotStorePage(com.webobjects.appserver.WOMessage message)
message
- public static void cleanUpHeaders(com.webobjects.appserver.WOResponse response)
response
- public static boolean shouldNotStorePage(com.webobjects.appserver.WOContext context)
context
- public static void enableShouldNotStorePage()
public static boolean isAjaxRequest(com.webobjects.appserver.WORequest request)
request
- public static String partialFormSenderID(com.webobjects.appserver.WORequest request)
request
- public static String ajaxSubmitButtonName(com.webobjects.appserver.WORequest request)
request
- public static boolean isAjaxSubmit(com.webobjects.appserver.WORequest request)
request
- public static boolean isAjaxReplacement(com.webobjects.appserver.WORequest request)
request
- - WORequestpublic static boolean isAjaxUpdate(com.webobjects.appserver.WORequest request)
request
- - WORequestCopyright © 2002 – 2020 Project Wonder.