
Public Member Functions | |
| ERXPathDirectAction (WORequest aRequest) | |
| boolean | hasPathPartForKey (String key, boolean caseInsensitive) |
| boolean | hasPathPartForKey (String key) |
| String | pathPartForKey (String key) |
| String | pathPartForKeyWithDefault (String key, String defaultValue, boolean caseInsensitiveCompare) |
| String | pathPartForKeyWithDefault (String key, String defaultValue) |
| NSArray | pathParts () |
| NSDictionary | pathPartsByKeys () |
| NSDictionary | pathPartsByKeysCaseInsensitive () |
Protected Attributes | |
| NSArray | pathParts |
| NSDictionary | pathPartsByKeys |
| NSDictionary | pathPartsByKeysCaseInsensitive |
Static Protected Attributes | |
| static final Logger | log = Logger.getLogger(ERXPathDirectAction.class) |
| ERXPathDirectAction | ( | WORequest | aRequest | ) |
Just calls super.
| boolean hasPathPartForKey | ( | String | key, | |
| boolean | caseInsensitive | |||
| ) |
Determines if a path part exists for a given key with the option of performing a case insensitve comparison.
| key | path part key | |
| caseInsensitive | key comparison should be case sensitive |
| boolean hasPathPartForKey | ( | String | key | ) |
Determines if a path part exists for a given key.
| key | path part key |
Gets a path part for a given key.
| key | path part key |
| String pathPartForKeyWithDefault | ( | String | key, | |
| String | defaultValue, | |||
| boolean | caseInsensitiveCompare | |||
| ) |
Gets a path part for a given key, returning the default value if nothing was specified. Adds the option for a case insensitive comparison.
| key | path part key | |
| defaultValue | default value | |
| caseInsensitiveCompare | key comparison should ignore case |
Gets a path part for a given key, returning the default value if nothing was specified.
| key | path part key | |
| defaultValue | default value |
| NSArray pathParts | ( | ) |
The path parts of a request correspond to to all of the pieces between the request handler key and the class name. For instance given the direct action path /WebObjects/MyApp.woa/wpa/foo/bar/MyDirectActionClass/action would produce the path parts (foo, bar).
| NSDictionary pathPartsByKeys | ( | ) |
Given an array of path parts (foo=food, bar=baz, gee) this will produce a dictionary of the form: { foo=food; bar=baz; }. In the current for this method does not handle multiple keys with the same name.
| NSDictionary pathPartsByKeysCaseInsensitive | ( | ) |
Same method as pathPartsByKeys except all of the keys have been down cased, ie for path parts (Foo=food, bAr=baz, gee) this will give a dictionary of the form { foo=food; bar=baz; }.
NSArray pathParts [protected] |
caches the path parts
NSDictionary pathPartsByKeys [protected] |
caches the path parts by keys
NSDictionary pathPartsByKeysCaseInsensitive [protected] |
caches the path parts by case insensitive keys
1.5.8