public class ERXServletApplication extends ERXApplication
If you are deploying in a servlet container like Tomcat, this application class allows you automatically serve static resources from the "static" directory using the static resource servlet that is built into Tomcat and Jetty.
When building you need to copy the static resources into the "static" folder by adding some lines to the end of the "ssdd" target in build.xml:
ERXApplication.JarChecker, ERXApplication.Loader
ERXAjaxApplication.ERXAjaxResponseDelegate
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
_formatterFactory, _initializedAdaptors, _killTimer, _memoryLowThreshold, _memoryStarvedThreshold, _replaceApplicationPathPattern, _replaceApplicationPathReplace, _responseCompressionEnabled, _responseCompressionTypes, _sslHost, _sslPort, _streamingRequestHandlerKeys, _useSessionStoreDeadlockDetection, AllBundlesLoadedNotification, ApplicationDidCreateNotification, ApplicationDidFinishInitializationNotification, ApplicationWillTerminateNotification, AppShouldExitOnOutOfMemoryError, log, LowMemoryNotification, LowMemoryResolvedNotification, propertiesFromArgv, requestHandlingLog, startupLog, StarvedMemoryNotification, StarvedMemoryResolvedNotification, statsLog, useComponentActionRedirection
KEY_AJAX_SUBMIT_BUTTON, KEY_PARTIAL_FORM_SENDER_ID, KEY_REPLACED, KEY_UPDATE_CONTAINER_ID
_adminRequestHandlerKey, _cgiAdaptorURLParsed, _classPathURLs, _launchServices, _terminating, _TheLastApplicationAccessTime, _unsetHost, _wasMainInvoked, ApplicationDidDispatchRequestNotification, ApplicationDidFinishLaunchingNotification, ApplicationWillDispatchRequestNotification, ApplicationWillFinishLaunchingNotification, CGIAdaptorURLProperty, DirectoryAliasProperty, DocumentRootProperty
Constructor and Description |
---|
ERXServletApplication() |
Modifier and Type | Method and Description |
---|---|
com.webobjects.appserver.WOResponse |
dispatchRequest(com.webobjects.appserver.WORequest request)
Overridden to allow for redirected responses and null the thread local
storage.
|
_addAdditionalAdaptors, _componentDefinition, _debugValueForDeclarationNamed, _defaultIsDevelopmentMode, _endRequest, _newLocationForRequest, _rewriteResourceURL, _rewriteURL, _setSslHost, _setSslPort, _startRequest, adaptorExtensions, adaptorWithName, addBalancerRouteCookie, addBalancerRouteCookieByNotification, additionalAdaptors, appendToResponse, checkMemory, checkMemory, clearDebugEnabledForAllComponents, configureStatisticsLogging, constants, createContextForRequest, createRequest, createResourceManager, createResponseInContext, createSessionForRequest, debugEnabledForComponent, delayedRequestHandler, didCreateApplication, didFinishLaunching, didFinishLaunching, directConnectURL, dispatchRequestImmediately, enableERXShutdownHook, erAjaxRequestHandlerKey, erxApplication, extraInformationForExceptionInContext, finishInitialization, finishInitialization, formatterFactory, genericHandleException, gracefulTerminate, handleActionRequestError, handleException, handlePotentiallyFatalException, installPatches, instantiatePage, invokeAction, isDeployedAsServlet, isDevelopmentMode, isDevelopmentModeSafe, isInRequest, isRefusingNewSessions, isStreamingRequestHandlerKey, killInstance, logSetValueForDeclarationNamed, logTakeValueForDeclarationNamed, main, migrationsDidRun, migrationsWillRun, migrator, name, nameSuffix, pageWithName, pageWithName, publicHost, rawName, refuseNewSessions, refuseSessionsOnStarvedMemory, registerStreamingRequestHandlerKey, reportException, responseCompressionEnabled, responseCompressionTypes, restoreSessionWithID, rewriteDirectConnectURL, run, saveSessionForContext, sessionTimeOutInMinutes, setDebugEnabledForComponent, setDefaultEncoding, setup, sslEnabled, sslHost, sslPort, startRefusingSessions, terminate, useComponentActionRedirection, useSessionStoreDeadlockDetection
ajaxSubmitButtonName, cleanUpHeaders, enableShouldNotStorePage, forceStorePage, isAjaxReplacement, isAjaxRequest, isAjaxSubmit, isAjaxUpdate, partialFormSenderID, setForceStorePage, setResponseDelegate, shouldIgnoreResults, shouldNotStorePage, shouldNotStorePage, takeValuesFromRequest
_addToExpectedLanguages, _allowsCacheControlHeader, _checksForSpecialHeaders, _componentDefinitionFromClassNamed, _debugString, _discountTerminatedSession, _expectedLanguages, _finishInitializingSession, _initializeSessionInContext, _isDebuggingEnabled, _isDomesticSupportedDevelopmentPlatform, _isForeignSupportedDevelopmentPlatform, _isPageRecreationEnabled, _isSupportedDevelopmentPlatform, _lockDefaultEditingContext, _openInitialURL, _parseCGIAdaptorURL, _quitTimer, _rapidTurnaroundActiveForAnyProject, _removeComponentDefinitionCacheContents, _runLoop, _sessionClass, _setAllowsCacheControlHeader, _setChecksForSpecialHeaders, _setHost, _setHostAddress, _setLifebeatDestinationPort, _setLockDefaultEditingContext, _terminateFromMonitor, _terminateOrResetTimer, activeSessionsCount, adaptor, adaptorName, adaptorPath, adaptors, adaptorsDispatchRequestsConcurrently, ajaxRequestHandlerKey, allowsConcurrentRequestHandling, application, applicationBaseURL, applicationExtension, associationFactory, associationFactoryRegistry, autoOpenClientApplication, autoOpenInBrowser, awake, baseURL, canAccessFieldsDirectly, cgiAdaptorURL, combinedComponentPathURL, componentRequestHandlerKey, contextClassName, createDefaultAssociationFactoryRegistry, createDefaultNamespaceProvider, debugString, defaultAdaptor, defaultRequestHandler, defaultRequestHandlerClassName, defaultUndoStackLimit, directActionRequestHandlerKey, 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, handleMalformedCookieString, handlePageRestorationErrorInContext, handleQueryWithUnboundKey, handlerForRequest, handleSessionCreationErrorInContext, handleSessionRestorationErrorInContext, handleTakeValueForUnboundKey, host, hostAddress, includeCommentsInResponses, instanceIdKey, isCachingEnabled, isConcurrentRequestHandlingEnabled, isDebuggingEnabled, isDirectConnectEnabled, isMonitorEnabled, isPageRefreshOnBacktrackEnabled, isTerminating, launchArguments, licensedRequestLimit, licensedRequestWindow, licensingAllowsMultipleInstances, licensingAllowsMultipleThreads, lifebeatDestinationPort, lifebeatEnabled, lifebeatInterval, listenQueueSize, loadFrameworks, lock, logString, main, maxSocketIdleTime, minimumActiveSessionsCount, monitorEnabled, monitorHost, monitoringEnabled, namespaceProvider, newDynamicURL, newDynamicURL, number, outputPath, pageCacheSize, pageFragmentCacheSize, pageWithName, path, permanentPageCacheSize, port, primeApplication, primeApplication, printsHTMLParserDiagnostics, projectSearchPath, recordingPath, registeredRequestHandlerKeys, registerMBean, registerMBean, registerRequestHandler, removeRequestHandlerForKey, requestHandlerForKey, requestHandlingLock, resourceManager, resourceRequestHandlerKey, responseForComponentWithName, responseForDirectActionWithNameAndClass, 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, terminateAfterTimeInterval, timeOut, toString, unableToSetNullForKey, unlock, unregisterMBean, validationFailedWithException, valueForKey, valueForKeyPath, wasMainInvoked, webserverConnectURL, webServiceRequestHandlerKey, workerThreadCount, workerThreadCountMax, workerThreadCountMin
public com.webobjects.appserver.WOResponse dispatchRequest(com.webobjects.appserver.WORequest request)
ERXApplication
dispatchRequest
in class ERXApplication
request
- objectCopyright © 2002 – 2020 Project Wonder.