01: /*
02: * Created on Nov 20, 2005
03: */
04: package uk.org.ponder.rsac.servlet;
05:
06: import javax.servlet.http.HttpServletRequest;
07: import javax.servlet.http.HttpServletResponse;
08:
09: public class StaticHttpServletFactory implements HttpServletFactory {
10: private HttpServletRequest request;
11: private HttpServletResponse response;
12:
13: public void setHttpServletRequest(HttpServletRequest request) {
14: this .request = request;
15: }
16:
17: public HttpServletRequest getHttpServletRequest() {
18: return request;
19: }
20:
21: public void setHttpServletResponse(HttpServletResponse response) {
22: this .response = response;
23: }
24:
25: public HttpServletResponse getHttpServletResponse() {
26: return response;
27: }
28: }
|