* Rename req.actionProcessor to req.actionHandler as suggested by Juerg Lehni on helma-dev.
This commit is contained in:
parent
58b7de53c4
commit
ad613b629a
3 changed files with 19 additions and 19 deletions
|
@ -203,22 +203,22 @@ public class RequestBean implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The action processor allows the onRequest() method to set the function object
|
* The action handler allows the onRequest() method to set the function object
|
||||||
* to be invoked for processing the request, overriding the action resolved
|
* to be invoked for processing the request, overriding the action resolved
|
||||||
* from the request path.
|
* from the request path.
|
||||||
* @return the action processor
|
* @return the action handler
|
||||||
*/
|
*/
|
||||||
public Object getActionProcessor() {
|
public Object getActionHandler() {
|
||||||
return req.getActionProcessor();
|
return req.getActionHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The action processor allows the onRequest() method to set the function object
|
* The action handler allows the onRequest() method to set the function object
|
||||||
* to be invoked for processing the request, overriding the action resolved
|
* to be invoked for processing the request, overriding the action resolved
|
||||||
* from the request path.
|
* from the request path.
|
||||||
* @param processor the action processor
|
* @param handler the action handler
|
||||||
*/
|
*/
|
||||||
public void setActionProcessor(Object processor) {
|
public void setActionHandler(Object handler) {
|
||||||
req.setActionProcessor(processor);
|
req.setActionHandler(handler);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class RequestTrans implements Serializable {
|
||||||
|
|
||||||
// the name of the action being invoked
|
// the name of the action being invoked
|
||||||
private String action;
|
private String action;
|
||||||
private Object actionProcessor = null;
|
private Object actionHandler = null;
|
||||||
private String httpUsername;
|
private String httpUsername;
|
||||||
private String httpPassword;
|
private String httpPassword;
|
||||||
|
|
||||||
|
@ -458,23 +458,23 @@ public class RequestTrans implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the request's action processor. The action processor allows the
|
* Get the request's action handler. The action handler allows the
|
||||||
* onRequest() method to set the function object to be invoked for processing
|
* onRequest() method to set the function object to be invoked for processing
|
||||||
* the request, overriding the action resolved from the request path.
|
* the request, overriding the action resolved from the request path.
|
||||||
* @return the action processor
|
* @return the action handler function
|
||||||
*/
|
*/
|
||||||
public Object getActionProcessor() {
|
public Object getActionHandler() {
|
||||||
return actionProcessor;
|
return actionHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the request's action processor. The action processor allows the
|
* Set the request's action handler. The action handler allows the
|
||||||
* onRequest() method to set the function object to be invoked for processing
|
* onRequest() method to set the function object to be invoked for processing
|
||||||
* the request, overriding the action resolved from the request path.
|
* the request, overriding the action resolved from the request path.
|
||||||
* @param processor the action processor
|
* @param handler the action handler
|
||||||
*/
|
*/
|
||||||
public void setActionProcessor(Object processor) {
|
public void setActionHandler(Object handler) {
|
||||||
this.actionProcessor = processor;
|
this.actionHandler = handler;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -376,8 +376,8 @@ public final class RequestEvaluator implements Runnable {
|
||||||
// reset skin recursion detection counter
|
// reset skin recursion detection counter
|
||||||
skinDepth = 0;
|
skinDepth = 0;
|
||||||
|
|
||||||
Object actionProcessor = req.getActionProcessor() != null ?
|
Object actionProcessor = req.getActionHandler() != null ?
|
||||||
req.getActionProcessor() : action;
|
req.getActionHandler() : action;
|
||||||
|
|
||||||
// do the actual action invocation
|
// do the actual action invocation
|
||||||
if (req.isXmlRpc()) {
|
if (req.isXmlRpc()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue