1 18 package org.apache.beehive.netui.pageflow.scoping; 19 20 import javax.servlet.http.HttpServletRequest ; 21 import java.util.Map ; 22 23 24 31 public interface ScopedRequest 32 extends HttpServletRequest 33 { 34 public String AUTOSCOPE_PREFIX = "_autoscope_"; 35 36 37 public void setRequestURI( String uri ); 38 39 43 public void addListenScope( Object scopeKey ); 44 45 public void doForward(); 46 47 public String getForwardedURI(); 48 49 52 public boolean didRedirect(); 53 54 57 public void persistAttributes(); 58 59 62 public void restoreAttributes(); 63 64 public HttpServletRequest getOuterRequest(); 65 66 public Object getScopeKey(); 67 68 public void renameScope( Object newScopeKey ); 69 70 73 public void setActiveRequest(); 74 75 public String getScopedName( String baseName ); 76 77 public void registerOuterAttribute( String attrName ); 78 79 public String getLocalParameter( String attrName ); 80 public String getListenScopeParameter( String attrName ); 81 public boolean hasListenScopes(); 82 83 87 public Object getAttribute( String attrName, boolean allowOuterRequestAttributes ); 88 89 92 public Map filterParameterMap( Map parameterMap ); 93 94 97 public void setForwardedURI( String uri ); 98 } 99 | Popular Tags |