Project Wonder 2.0

er.extensions
Class ERXPathDirectActionRequestHandler

java.lang.Object
  extended bycom.webobjects.appserver.WORequestHandler
      extended bycom.webobjects.appserver._private.WOActionRequestHandler
          extended bycom.webobjects.appserver._private.WODirectActionRequestHandler
              extended byer.extensions.ERXDirectActionRequestHandler
                  extended byer.extensions.ERXPathDirectActionRequestHandler

public class ERXPathDirectActionRequestHandler
extends ERXDirectActionRequestHandler

The path direct action request handler allows for storing information in the request path. For instance you could have the request path: /WebObjects/MyApp.woa/wpa/com.foo.SomeActionClass/bar/gee/wiz=neat/actionName This action is treated just like: /WebObjects/MyApp.woa/wpa/com.foo.SomeActionClass/actionName


Field Summary
 
Fields inherited from class er.extensions.ERXDirectActionRequestHandler
automaticMessageEncodingEnabled, log
 
Fields inherited from class com.webobjects.appserver._private.WOActionRequestHandler
actionClassClass, actionClassName, CLASS_NOT_FOUND, defaultActionName, INSTANTIATION, INVALID_PATH, INVOCATION, shouldAddToStatistics
 
Fields inherited from class com.webobjects.appserver.WORequestHandler
DidHandleRequestNotification
 
Constructor Summary
ERXPathDirectActionRequestHandler()
          Public constructor, just calls super
ERXPathDirectActionRequestHandler(String actionClassName, String defaultActionName, boolean shouldAddToStatistics)
          Public constructor, just calls super
 
Method Summary
 NSArray getRequestHandlerPathForRequest(WORequest aRequest)
          Modified version for getting the request handler path for a given request.
 
Methods inherited from class er.extensions.ERXDirectActionRequestHandler
automaticMessageEncodingEnabled, handleRequest
 
Methods inherited from class com.webobjects.appserver._private.WODirectActionRequestHandler
allowsContentInputStream, defaultActionClassName, generateErrorResponse, generateRequestRefusal, handler, nullResponse, registerDidHandleActionRequestWithActionNamed, registerWillHandleActionRequest, setAllowsContentInputStream
 
Methods inherited from class com.webobjects.appserver._private.WOActionRequestHandler
_actionClassForName, _handleRequest, _putComponentsToSleepInContext, defaultDefaultActionName, defaultShouldAddToStatistics, getActionInstance, getRequestActionClassAndNameForPath, isSessionIDInRequest, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXPathDirectActionRequestHandler

public ERXPathDirectActionRequestHandler()
Public constructor, just calls super


ERXPathDirectActionRequestHandler

public ERXPathDirectActionRequestHandler(String actionClassName,
                                         String defaultActionName,
                                         boolean shouldAddToStatistics)
Public constructor, just calls super

Parameters:
actionClassName - action class name
defaultActionName - action name
shouldAddToStatistics - boolean to add to stats
Method Detail

getRequestHandlerPathForRequest

public NSArray getRequestHandlerPathForRequest(WORequest aRequest)
Modified version for getting the request handler path for a given request.

Parameters:
aRequest - a given request
Returns:
array of request handler paths for a given request, truncates to the first and last component if the number of components is greater than 2.

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.