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: import uk.org.ponder.rsac.RSACBeanLocator;
10: import uk.org.ponder.servletutil.ServletRequestWrapper;
11:
12: public class RSACServletRequestWrapper implements ServletRequestWrapper {
13: private RSACBeanLocator rsacbl;
14:
15: public RSACServletRequestWrapper(RSACBeanLocator rsacbl) {
16: this .rsacbl = rsacbl;
17: }
18:
19: public void startRequest(HttpServletRequest request,
20: HttpServletResponse response) {
21: RSACUtils.startServletRequest(request, response, rsacbl,
22: RSACUtils.HTTP_SERVLET_FACTORY);
23: }
24:
25: public void endRequest() {
26: rsacbl.endRequest();
27: }
28:
29: }
|