Deprecated API


Contents
Deprecated Classes
DefaultURLRewriter
          Use DefaultURLRewriter instead. 
DynamicSubappActionServlet
          Use PageFlowActionServlet instead. 
GlobalApp
          Use SharedFlowController instead. 
PageFlowFileFilter
            
URLRewriter
          Use URLRewriter instead. 
URLRewriterService
          Use URLRewriterService instead. 
 

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

Deprecated Fields
org.apache.beehive.netui.pageflow.PageFlowConstants.ACTION_OVERRIDE
          This is an internal constant that will be removed without replacement. 
org.apache.beehive.netui.pageflow.PageFlowConstants.DEFAULT_FORWARD_OVERFLOW_COUNT
          This constant will be removed without replacement in a future release. The value is read from netui-config.xsd (the schema for netui-config.xml). 
org.apache.beehive.netui.pageflow.PageFlowConstants.DEFAULT_NESTING_OVERFLOW_COUNT
          This constant will be removed without replacement in a future release. The value is read from netui-config.xsd (the schema for netui-config.xml). 
org.apache.beehive.netui.pageflow.FlowController.defaultLocale
          Use FlowController.getDefaultLocale(). 
org.apache.beehive.netui.pageflow.PageFlowConstants.FORWARD_OVERFLOW_COUNT_PARAM
          Instead of this context-param, use the max-forwards-per-request element within pageflow-config in /WEB-INF/netui-config.xml. 
org.apache.beehive.netui.pageflow.PageFlowConstants.GLOBALAPP_CLASSNAME
          This constant will be removed with no replacement. 
org.apache.beehive.netui.pageflow.PageFlowConstants.GLOBALAPP_SOURCEFILE_NAME
          This constant will be removed with no replacement. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_EXTENSION
          Use PageFlowConstants.PAGEFLOW_EXTENSION instead. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_MODULE_CONFIG_EXTENSION
          Use PageFlowConstants.PAGEFLOW_MODULE_CONFIG_EXTENSION instead. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_MODULE_CONFIG_GEN_DIR
          Use PageFlowConstants.PAGEFLOW_MODULE_CONFIG_GEN_DIR instead. 
org.apache.beehive.netui.pageflow.PageFlowConstants.JPF_MODULE_CONFIG_PREFIX
          Use PageFlowConstants.PAGEFLOW_MODULE_CONFIG_PREFIX instead. 
org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.MODULE_CONFIG_LOCATOR_CLASS_ATTR
          To register AutoRegisterActionServlet.ModuleConfigLocators, use the module-config-locators element in pageflow-config of /WEB-INF/netui-config.xml. 
org.apache.beehive.netui.pageflow.PageFlowConstants.NESTING_OVERFLOW_COUNT_PARAM
          Instead of this context-param, use the max-nesting-stack-depth element within pageflow-config in /WEB-INF/netui-config.xml. 
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.PageFlowConstants.SECURE_FORWARDS_PARAM
          Instead of this context-param, use the ensure-secure-forwards element within pageflow-config in /WEB-INF/netui-config.xml. 
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.FlowController.addValidationError(String, String)
          Use FlowController.addActionError(java.lang.String, java.lang.String, java.lang.Object...) instead. 
org.apache.beehive.netui.pageflow.FlowController.addValidationError(String, String, Object[])
          Use FlowController.addActionError(java.lang.String, java.lang.String, java.lang.Object...) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addValidationError(String, String, Object[], ServletRequest)
          Use PageFlowUtils.addActionError(ServletRequest, String, String, Object[]) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addValidationError(String, String, Object, ServletRequest)
          Use PageFlowUtils.addActionError(ServletRequest, String, String, Object[]) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.addValidationError(String, String, ServletRequest)
          Use PageFlowUtils.addActionError(ServletRequest, String, String, Object[]) instead. 
org.apache.beehive.netui.util.type.TypeUtils.convertToObject(String, Class)
            
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. ServletUtils.dumpRequest(javax.servlet.ServletRequest, 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. ServletUtils.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.getSharedFlow(java.lang.String, 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 FlowController.generateToken() instead. 
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.getGlobalApp(HttpServletRequest)
          Use PageFlowUtils.getSharedFlow(java.lang.String, javax.servlet.http.HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getGlobalApp(HttpServletRequest, HttpServletResponse, ServletContext)
          Global.app is deprecated; use shared flows and FlowControllerFactory.getSharedFlowsForRequest(RequestContext). 
org.apache.beehive.netui.pageflow.PageFlowUtils.getGlobalAppConfig(ServletContext)
          This will be removed with no replacement in a future release. 
org.apache.beehive.netui.pageflow.PageFlowUtils.getJpfClassName(String)
          Use PageFlowUtils.getPageFlowClassName(String) instead. 
org.apache.beehive.netui.script.el.parser.SimpleCharStream.getLine()
            
org.apache.beehive.netui.pageflow.FlowController.getLocale(HttpServletRequest)
          Use FlowController.getLocale(javax.servlet.http.HttpServletRequest) or FlowController.retrieveUserLocale(javax.servlet.http.HttpServletRequest, java.lang.String). 
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.compiler.CompilerUtils.getOriginalFile(TypeDeclaration)
            
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlow(Class, HttpServletRequest, HttpServletResponse, ServletContext)
          Use FlowControllerFactory.createPageFlow(RequestContext, Class) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlow(String, HttpServletRequest, HttpServletResponse, ServletContext)
          Use FlowControllerFactory.createPageFlow(RequestContext, String) instead. 
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.FlowControllerFactory.getPageFlowForRelativeURI(HttpServletRequest, HttpServletResponse, String, ServletContext)
          Use FlowControllerFactory.getPageFlowForPath(RequestContext, String) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForRequest(HttpServletRequest, HttpServletResponse, ServletContext)
          Use FlowControllerFactory.getPageFlowForRequest(RequestContext) instead. 
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForURI(HttpServletRequest, HttpServletResponse, String, ServletContext)
          Use FlowControllerFactory.getPageFlowForPath(RequestContext, String) instead. The URI must be stripped of the webapp context path before being passed. 
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.PageFlowController.getPreviousForm()
          This method may return an ActionForm wrapper when the form bean type does not extend ActionForm. Use PageFlowController.getPreviousFormBean() instead. 
org.apache.beehive.netui.pageflow.SharedFlowController.getPreviousPageInfoLegacy(PageFlowController, HttpServletRequest)
          This method will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.PageFlowController.getPreviousPageInfoLegacy(PageFlowController, HttpServletRequest)
          This method will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.FlowController.getPreviousPageInfoLegacy(PageFlowController, HttpServletRequest)
          This method will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.FlowController.getResources()
          This method can only return the resources for the default module. Use FlowController.getMessageResources() to get the resources for this FlowController. 
org.apache.beehive.netui.pageflow.FlowController.getResources(HttpServletRequest)
          Use FlowController.getMessageResources() instead. 
org.apache.beehive.netui.pageflow.FlowController.getResources(HttpServletRequest, String)
          Use FlowController.getMessageResources(String) instead. 
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(ActionMapping, FlowController, ServletRequest) instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.isAbsoluteURI(String)
          Use FileUtils.isAbsoluteURI(java.lang.String) instead. 
org.apache.beehive.netui.pageflow.FlowController.isCancelled(HttpServletRequest)
          This method will be removed without replacement in a future release. The normal method for cancelling in a form is to use the action attribute on Button, rather than avoiding validation on the current action. 
org.apache.beehive.netui.pageflow.GlobalApp.isNestable()
          Only page flows (PageFlowControllers) can be nested. 
org.apache.beehive.netui.compiler.model.ForwardModel.isPageForward()
            
org.apache.beehive.netui.pageflow.PageFlowUtils.isSecureResource(String, ServletContext)
          Use PageFlowUtils.getSecurityProtocol(String, ServletContext, HttpServletRequest) instead. 
org.apache.beehive.netui.pageflow.FlowController.isTokenValid(HttpServletRequest)
          Use FlowController.isTokenValid() instead. 
org.apache.beehive.netui.pageflow.FlowController.isTokenValid(HttpServletRequest, boolean)
          Use FlowController.isTokenValid(boolean) 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. This method will be removed in v1.1. 
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. This method will be removed in v1.1. 
org.apache.beehive.netui.pageflow.FlowController.onDestroy()
          FlowController.onDestroy(HttpSession) should be used instead. 
org.apache.beehive.netui.pageflow.PageFlowUtils.preventCache(HttpServletResponse)
          Use ServletUtils.preventCache(javax.servlet.ServletResponse) 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.resetToken(HttpServletRequest)
          Use FlowController.resetToken() instead. 
org.apache.beehive.netui.pageflow.FlowController.resolveAction(String, Object)
          Use FlowController.resolveAction(String, Object, HttpServletRequest, HttpServletResponse) instead. 
org.apache.beehive.netui.pageflow.FlowController.saveErrors(HttpServletRequest, ActionMessages)
          Use FlowController.saveActionErrors(org.apache.struts.action.ActionMessages) instead. 
org.apache.beehive.netui.pageflow.FlowController.saveMessages(HttpServletRequest, ActionMessages)
          This method will be removed without replacement in a future release. 
org.apache.beehive.netui.pageflow.FlowController.sendError(String, HttpServletResponse)
          Use FlowController.sendError(String, HttpServletRequest, HttpServletResponse) instead. 
org.apache.beehive.netui.tags.html.ErrorBaseTag.setBundle(String)
          Use ErrorBaseTag.setBundleName(java.lang.String) 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(Locale). 
org.apache.beehive.netui.pageflow.FlowController.setLocale(Locale)
          Use FlowController.setLocale(Locale). 
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.shouldDoSecureForwards()
          Use LegacySettings.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().