1 18 package org.apache.beehive.netui.pageflow.scoping; 19 20 import javax.servlet.http.HttpServletResponse ; 21 import javax.servlet.http.Cookie ; 22 import java.util.List ; 23 import java.util.Map ; 24 import java.io.IOException ; 25 26 27 32 public interface ScopedResponse 33 extends HttpServletResponse 34 { 35 38 public Cookie getCookie( String cookieName ); 39 40 43 public Cookie [] getCookies(); 44 45 50 public Map getHeaders(); 51 52 57 public List getHeaders( String name ); 58 59 64 public Object getFirstHeader( String name ); 65 66 public HttpServletResponse getOuterResponse(); 67 68 73 public boolean isError(); 74 75 81 public int getStatusCode(); 82 83 88 public String getStatusMessage(); 89 90 95 public boolean didRedirect(); 96 97 102 public String getRedirectURI(); 103 104 110 public void applyRedirect() throws IOException ; 111 } 112 | Popular Tags |