1 20 package org.apache.cactus.internal.server; 21 22 import javax.servlet.ServletContext ; 23 import javax.servlet.http.HttpServletRequest ; 24 import javax.servlet.http.HttpServletResponse ; 25 26 27 34 public abstract class AbstractWebImplicitObjects implements WebImplicitObjects 35 { 36 39 protected HttpServletRequest request; 40 41 44 protected HttpServletResponse response; 45 46 49 protected ServletContext context; 50 51 54 public ServletContext getServletContext() 55 { 56 return this.context; 57 } 58 59 62 public void setServletContext(ServletContext theContext) 63 { 64 this.context = theContext; 65 } 66 67 70 public HttpServletResponse getHttpServletResponse() 71 { 72 return this.response; 73 } 74 75 78 public void setHttpServletResponse(HttpServletResponse theResponse) 79 { 80 this.response = theResponse; 81 } 82 83 86 public HttpServletRequest getHttpServletRequest() 87 { 88 return this.request; 89 } 90 91 94 public void setHttpServletRequest(HttpServletRequest theRequest) 95 { 96 this.request = theRequest; 97 } 98 } 99 | Popular Tags |