public class ERXPathDirectActionRequestHandler extends ERXDirectActionRequestHandler
automaticMessageEncodingEnabled
actionClassClass, actionClassName, CLASS_NOT_FOUND, defaultActionName, INSTANTIATION, INVALID_PATH, INVOCATION, shouldAddToStatistics
DidHandleRequestNotification
Constructor and Description |
---|
ERXPathDirectActionRequestHandler()
Public constructor, just calls super
|
ERXPathDirectActionRequestHandler(String actionClassName,
String defaultActionName,
boolean shouldAddToStatistics)
Public constructor, just calls super
|
ERXPathDirectActionRequestHandler(String actionClassName,
String defaultActionName,
boolean shouldAddToStatistics,
boolean doUseClassName,
boolean doUseActionName)
Creates the request handler and lets you specify if the URLs assume and action class in front and action name in back.
|
Modifier and Type | Method and Description |
---|---|
static NSDictionary<String,String> |
formValuesFromRequest(WORequest request,
boolean useActionClass,
boolean useActionName)
Returns a dictionary similar to the normal request form value dict.
|
NSArray |
getRequestHandlerPathForRequest(WORequest aRequest)
Modified version for getting the request handler path for a given
request.
|
automaticMessageEncodingEnabled, handleRequest, isSystemRequest
allowsContentInputStream, defaultActionClassName, generateErrorResponse, generateRequestRefusal, handler, nullResponse, registerDidHandleActionRequestWithActionNamed, registerWillHandleActionRequest, setAllowsContentInputStream
_actionClassForName, _handleRequest, _putComponentsToSleepInContext, defaultDefaultActionName, defaultShouldAddToStatistics, getActionInstance, getRequestActionClassAndNameForPath, isSessionIDInRequest, toString
public ERXPathDirectActionRequestHandler()
public ERXPathDirectActionRequestHandler(String actionClassName, String defaultActionName, boolean shouldAddToStatistics)
actionClassName
- action class namedefaultActionName
- action nameshouldAddToStatistics
- boolean to add to statspublic ERXPathDirectActionRequestHandler(String actionClassName, String defaultActionName, boolean shouldAddToStatistics, boolean doUseClassName, boolean doUseActionName)
actionClassName
- action class namedefaultActionName
- default action nameshouldAddToStatistics
- boolean if request should add to statsdoUseClassName
- if false, do not assume action class name in URLdoUseActionName
- if false, do not assume action name in URLpublic NSArray getRequestHandlerPathForRequest(WORequest aRequest)
getRequestHandlerPathForRequest
in class com.webobjects.appserver._private.WODirectActionRequestHandler
aRequest
- a given requestpublic static NSDictionary<String,String> formValuesFromRequest(WORequest request, boolean useActionClass, boolean useActionName)
request
- request to parseuseActionClass
- true if first item should get ignoreduseActionName
- true if last item should get ignoredCopyright © 2002 – 2024 Project Wonder.