1 18 package org.apache.beehive.netui.pageflow.interceptor.action; 19 20 import org.apache.beehive.netui.pageflow.Forward; 21 import org.apache.beehive.netui.pageflow.PageFlowController; 22 import org.apache.beehive.netui.pageflow.interceptor.InterceptorException; 23 24 import javax.servlet.http.HttpServletRequest ; 25 import javax.servlet.ServletContext ; 26 import java.net.URI ; 27 import java.net.URISyntaxException ; 28 29 import org.apache.struts.action.ActionForward; 30 31 32 35 public class InterceptorForward extends Forward 36 { 37 protected InterceptorForward( Forward originalForward ) 38 { 39 super( originalForward ); 40 } 41 42 45 InterceptorForward( ActionForward originalForward, ServletContext servletContext, PageFlowController pageFlow ) 46 { 47 super( originalForward, servletContext ); 48 49 if ( ! getContextRelative() ) 50 { 51 setPath( pageFlow.getModulePath() + getPath() ); 52 setContextRelative( true ); 53 } 54 } 55 56 protected InterceptorForward( HttpServletRequest request ) 57 { 58 super( request ); 59 } 60 61 66 public InterceptorForward( URI uri ) 67 { 68 super( uri ); 69 } 70 71 78 public InterceptorForward( URI uri, boolean redirect ) 79 { 80 super( uri, redirect ); 81 } 82 83 86 public void rehydrateRequest( HttpServletRequest request ) 87 { 88 } 89 } 90 | Popular Tags |