public class ERXPathDirectActionRequestHandler extends ERXDirectActionRequestHandler
automaticMessageEncodingEnabled
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(com.webobjects.appserver.WORequest request,
boolean useActionClass,
boolean useActionName)
Returns a dictionary similar to the normal request form value dict.
|
NSArray |
getRequestHandlerPathForRequest(com.webobjects.appserver.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
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(com.webobjects.appserver.WORequest aRequest)
getRequestHandlerPathForRequest
in class com.webobjects.appserver._private.WODirectActionRequestHandler
aRequest
- a given requestpublic static NSDictionary<String,String> formValuesFromRequest(com.webobjects.appserver.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 – 2020 Project Wonder.