|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oroad.stxx.plugin.RequestProcessorHelper
A helper to request processors providing common functionality.
| Constructor Summary | |
RequestProcessorHelper(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig appConfig)
Initialize |
|
| Method Summary | |
protected java.util.Map |
findStrutsPlugInConfigProperties(javax.servlet.ServletContext ctx,
org.apache.struts.config.ModuleConfig config)
Method findStrutsPlugInConfigProperties |
boolean |
isXFormRequest(javax.servlet.http.HttpServletRequest request)
Tests to see if incoming data should be processed by XForm's form population code |
org.apache.struts.action.ActionMapping |
processMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
Select the mapping used to process the selection path for this request. |
void |
processPopulate(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form)
Exactly like the normal Struts populateIf XMLForm libraries are present, populate the form using XMLForm. |
boolean |
processStxxDefinition(java.lang.String definitionName,
boolean contextRelative,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a Stxx definition name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RequestProcessorHelper(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig appConfig)
throws javax.servlet.ServletException
servlet - The ActionServlet we are associated withappConfig - The ModuleConfig we are associated with.
javax.servlet.ServletException - If an error occur during initialization| Method Detail |
public boolean processStxxDefinition(java.lang.String definitionName,
boolean contextRelative,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
definitionName - Definition name to insert.contextRelative - Does the Definition is marked
contextRelative ?request - Current page requestresponse - Current page response
java.io.IOException - If something goes wrong
javax.servlet.ServletException - If something goes wrong
public void processPopulate(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form)
request - The request objectform - The action form to populatepublic boolean isXFormRequest(javax.servlet.http.HttpServletRequest request)
request - The request object
public org.apache.struts.action.ActionMapping processMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
throws java.io.IOException
null.
request - The servlet request we are processingresponse - The servlet response we are creatingpath - The portion of the request URI for selecting a
mapping
java.io.IOException - if an input/output error occurs
protected java.util.Map findStrutsPlugInConfigProperties(javax.servlet.ServletContext ctx,
org.apache.struts.config.ModuleConfig config)
throws javax.servlet.ServletException
config - a ModuleConfig
javax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||