|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.RequestProcessor oracle.jbo.html.struts11.BC4JRequestProcessor
BC4JRequestProcessor is a customization of Struts1.1 request processing behavior. It override several methods to provide integration with the BC4J Model.
Field Summary |
Fields inherited from class org.apache.struts.action.RequestProcessor |
actions, appConfig, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, log, moduleConfig, servlet |
Constructor Summary | |
BC4JRequestProcessor()
|
Method Summary | |
protected java.lang.String |
buildApplicationDefinitionName(java.lang.String appId)
Build the application full name as the pool manager expect it. |
protected boolean |
getApplicationLockingMode()
Return the locking mode for the applicationModule The lock specify whether a session lock should be acquired for the shared application module resource. |
protected boolean |
initPageFromPath(BC4JActionMapping mapping,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Execute the BC4J model initialization. |
protected void |
processContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override Set the request character encoding using the controller contentType This allow the parameters to be decoded correctly in the action since the encoding from the JSP has not been processed yet. |
protected boolean |
processForward(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.action.ActionMapping mapping)
Override the forward process to lock/release the ApplicationModule. |
protected void |
processForwardConfig(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.config.ForwardConfig forward)
Override |
protected boolean |
processInclude(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.action.ActionMapping mapping)
|
protected org.apache.struts.action.ActionMapping |
processMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
Override Create the BC4J context when the mapping is processed. |
protected javax.servlet.http.HttpServletRequest |
processMultipart(javax.servlet.http.HttpServletRequest request)
If this is a multipart request, wrap it with a special wrapper. |
protected void |
processPopulate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.action.ActionForm form,
org.apache.struts.action.ActionMapping mapping)
Populate the properties of the specified ActionForm instance from the request parameters included with this request. |
protected void |
processPostForward(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
releasePageResources(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class org.apache.struts.action.RequestProcessor |
destroy, doForward, doInclude, getDebug, getInternal, getServletContext, init, internalModuleRelativeForward, internalModuleRelativeInclude, log, log, process, processActionCreate, processActionForm, processActionForward, processActionPerform, processException, processLocale, processNoCache, processPath, processPreprocess, processRoles, processValidate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BC4JRequestProcessor()
Method Detail |
protected boolean processForward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping) throws java.io.IOException, javax.servlet.ServletException
true
if standard processing should continue, or
false
if we have already handled this request.
request
- The servlet request we are processingresponse
- The servlet response we are creatingmapping
- The ActionMapping we are using
java.io.IOException
javax.servlet.ServletException
protected boolean processInclude(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
protected void processForwardConfig(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.config.ForwardConfig forward) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
protected org.apache.struts.action.ActionMapping processMapping(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path) throws java.io.IOException
java.io.IOException
protected void processContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void processPostForward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected java.lang.String buildApplicationDefinitionName(java.lang.String appId)
protected boolean getApplicationLockingMode()
protected boolean initPageFromPath(BC4JActionMapping mapping, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void releasePageResources(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected javax.servlet.http.HttpServletRequest processMultipart(javax.servlet.http.HttpServletRequest request)
MultipartRequestHandler
.
Otherwise, return the request unchanged.
request
- The HttpServletRequest we are processingprotected void processPopulate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping) throws javax.servlet.ServletException
request
- The servlet request we are processingresponse
- The servlet response we are creatingform
- The ActionForm instance we are populatingmapping
- The ActionMapping we are using
javax.servlet.ServletException
- if thrown by RequestUtils.populate()
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.