Deprecated API


Contents
Deprecated Classes
DynamicSubappActionServlet
          Use PageFlowActionServlet instead. 
PageFlowFileFilter
            
TemplateHelper
          Use TemplateHelper instead. 
 

Deprecated Exceptions
IllegalPageInputException
          Use IllegalActionOutputException instead. 
MismatchedPageInputException
          Use MismatchedActionOutputException instead. 
MissingPageInputException
          Use MissingActionOutputException instead. 
 

Deprecated Fields
org.apache.beehive.netui.pageflow.FlowController.defaultLocale
          Use FlowController.getDefaultLocale(). 
org.apache.beehive.netui.pageflow.Forward.RETURN_TO_ACTION
          Use Forward.RETURN_TO_PREVIOUS_ACTION instead. 
org.apache.beehive.netui.pageflow.Forward.RETURN_TO_PAGE
          Use Forward.RETURN_TO_CURRENT_PAGE or Forward.RETURN_TO_PREVIOUS_PAGE instead. 
org.apache.beehive.netui.pageflow.FlowController.servlet
          This variable will be removed with no replacement. In most cases, PageFlowManagedObject.getServletContext() is sufficient; for other cases, the ActionServlet itself is in the ServletContext attribute Globals.ACTION_SERVLET_KEY. 
 

Deprecated Methods
org.apache.beehive.netui.pageflow.PageFlowUtils.addBindingUpdateError(ServletRequest, String, String, Throwable)
          This is an internal utility. InternalUtils.addBindingUpdateError(javax.servlet.ServletRequest, java.lang.String, java.lang.String, java.lang.Throwable) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.Forward.addPageInput(String, Object)
          Use Forward.addActionOutput(java.lang.String, java.lang.Object) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addPageInput(String, Object, ServletRequest)
          Use PageFlowUtils.addActionOutput(java.lang.String, java.lang.Object, javax.servlet.ServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.destroyPageFlowStack(HttpServletRequest)
          Use PageFlowStack.destroy(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.scoping.ScopedRequest.didRedirect()
          Use ScopedResponse.didRedirect() instead. 
org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestImpl.didRedirect()
          Use ScopedResponseImpl.didRedirect() instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.dumpRequest(HttpServletRequest, PrintStream)
          This is an internal utility. InternalUtils.dumpRequest(javax.servlet.http.HttpServletRequest, java.io.PrintStream) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.PageFlowUtils.dumpServletContext(ServletContext, PrintStream)
          This is an internal utility. InternalUtils.dumpServletContext(javax.servlet.ServletContext, java.io.PrintStream) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureAppDeployment(HttpServletRequest, HttpServletResponse, ServletContext)
          This method no longer has any effect, and will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureCurrentPageFlow(HttpServletRequest, HttpServletResponse)
          Use PageFlowUtils.getCurrentPageFlow(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureCurrentPageFlow(HttpServletRequest, HttpServletResponse, ServletContext)
          Use PageFlowUtils.getCurrentPageFlow(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureGlobalApp(HttpServletRequest, HttpServletResponse)
          Use PageFlowUtils.getGlobalApp(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureGlobalApp(HttpServletRequest, HttpServletResponse, ServletContext)
          Use PageFlowUtils.getGlobalApp(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.ensureModuleConfig(String, ServletRequest, ServletContext)
          This is an internal utility. InternalUtils.ensureModuleConfig(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.FlowController.generateToken(HttpServletRequest)
          Use 
org.apache.beehive.netui.pageflow.PageFlowUtils.getBindingUpdateErrors(ServletRequest)
          This is an internal utility. InternalUtils.getBindingUpdateErrors(javax.servlet.ServletRequest) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.script.el.parser.SimpleCharStream.getColumn()
            
org.apache.beehive.netui.pageflow.PageFlowUtils.getFileExtension(String)
          Use FileUtils.getFileExtension(java.lang.String) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getGlobalAppConfig(ServletContext)
          This will be removed with no replacement in a future release. 
org.apache.beehive.netui.script.el.parser.SimpleCharStream.getLine()
            
org.apache.beehive.netui.pageflow.FlowController.getLocale(HttpServletRequest)
          Use FlowController.getLocale(). 
org.apache.beehive.netui.pageflow.FlowController.getMapping()
          Use FlowController.getActionMapping() instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getModuleConfig(String, ServletContext)
          This is an internal utility. InternalUtils.getModuleConfig(java.lang.String, javax.servlet.ServletContext) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getModuleConfPath(String)
          Use PageFlowActionServlet.getModuleConfPath(java.lang.String) instead. Get the path to the Struts module configration file (e.g., "/WEB-INF/.pageflow-struts-generated/jpf-struts-config-someModule") for a given module path (e.g., "someModule"), according to the PageFlow convention. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getPageFlowClassName(String, ServletRequest, ServletContext)
          This is an internal utility. InternalUtils.getFlowControllerClassName(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getPageFlowStack(HttpServletRequest)
          Use PageFlowStack.get(javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getPageInput(String, ServletRequest)
          Use PageFlowUtils.getActionOutput(java.lang.String, javax.servlet.ServletRequest) instead. 
org.apache.beehive.netui.pageflow.Forward.getPageInputs()
          Use Forward.getActionOutputs() instead. 
org.apache.beehive.netui.pageflow.FlowController.getResources()
          This method can only return the resources for the default module. Use getResources(HttpServletRequest) to get the resources for the current module. 
org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils.getScopedRequest(HttpServletRequest, String, ServletContext, Object)
          Use ScopedServletUtils.getScopedRequest(HttpServletRequest, String, ServletContext, Object, boolean). 
org.apache.beehive.netui.pageflow.FlowController.getServlet()
          This method will be removed with no replacement. In most cases, PageFlowManagedObject.getServletContext() is sufficient; for other cases, the ActionServlet itself is in the ServletContext attribute Globals.ACTION_SERVLET_KEY. 
org.apache.beehive.netui.script.ExpressionUpdateException.getUpdateValue()
            
org.apache.beehive.netui.pageflow.ActionResult.hadCompileErrors()
          This method now always returns false; compilation no longer happens at runtime. 
org.apache.beehive.netui.pageflow.Forward.initialize(ActionMapping, FlowController)
          Use Forward.initialize(org.apache.struts.action.ActionMapping, org.apache.beehive.netui.pageflow.FlowController, javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.isAbsoluteURI(String)
          Use FileUtils.isAbsoluteURI(java.lang.String) instead. 
org.apache.beehive.netui.compiler.model.ForwardModel.isPageForward()
            
org.apache.beehive.netui.pageflow.PageFlowUtils.isSecureResource(String, ServletContext)
          Use PageFlowUtils.isSecureResource(String, ServletContext, HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.FlowController.lookup(String, ServletContext, HttpServletRequest, HttpServletResponse)
          Use PageFlowUtils.strutsLookup(javax.servlet.ServletContext, javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String[]) instead. 
org.apache.beehive.netui.pageflow.FlowController.lookup(String, ServletContext, HttpServletRequest, HttpServletResponse, String)
          Use PageFlowUtils.strutsLookup(javax.servlet.ServletContext, javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String[]) instead. 
org.apache.beehive.netui.util.iterator.IteratorFactory.makeIterator(Object)
            
org.apache.beehive.netui.pageflow.FlowController.onDestroy()
          FlowController.onDestroy(javax.servlet.http.HttpSession) should be used instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.preventCache(HttpServletResponse)
          Use ServletUtils.preventCache(javax.servlet.http.HttpServletResponse) instead. 
org.apache.beehive.netui.pageflow.ActionResult.printCompileErrors(PrintWriter)
          This method has no effect; compilation no longer happens at runtime. 
org.apache.beehive.netui.pageflow.FlowController.resolveAction(String, Object)
          Use FlowController.resolveAction(String, Object, HttpServletRequest, HttpServletResponse) instead. 
org.apache.beehive.netui.pageflow.FlowController.sendError(String, HttpServletResponse)
          Use FlowController.sendError(String, HttpServletRequest, HttpServletResponse) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.setCurrentActionResolver(ActionResolver, HttpServletRequest)
          This is an internal utility. InternalUtils.setCurrentActionResolver(org.apache.beehive.netui.pageflow.ActionResolver, javax.servlet.http.HttpServletRequest) can be used, but it is not guaranteed to be supported in the future. 
org.apache.beehive.netui.pageflow.FlowController.setLocale(HttpServletRequest, Locale)
          Use FlowController.setLocale(java.util.Locale). 
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.shouldDoSecureForwards()
          Use ContextCache.shouldDoSecureForwards() instead. 
 

Deprecated Constructors
org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestImpl(HttpServletRequest, String, Object, ServletContext)
          Use ScopedRequestImpl.ScopedRequestImpl(HttpServletRequest, String, Object, ServletContext, boolean). 
 

Deprecated Annotation Type Elements
org.apache.beehive.netui.pageflow.annotations.Jpf.ActionOutput.nullable
          Use Jpf.ActionOutput.required().