01: /*
02: * Copyright © 2002-2005tagtraum industries.
03: */
04: package com.tagtraum.jo;
05:
06: import javax.servlet.http.HttpServletResponseWrapper;
07: import javax.servlet.http.HttpServletResponse;
08: import java.util.Locale;
09:
10: /**
11: *
12: * @author <a href="mailto:hs@tagtraum.com">Hendrik Schreiber</a>
13: * @version 1.1beta1 ($Revision: 1.2 $)
14: */
15: public class IncludeResponseWrapper extends HttpServletResponseWrapper {
16:
17: public IncludeResponseWrapper(
18: HttpServletResponse httpServletResponse) {
19: super (httpServletResponse);
20: }
21:
22: // don't propagate calls to header setting methods. see 2.3 SRV.8.3
23:
24: public void setDateHeader(String name, long l) {
25: }
26:
27: public void addDateHeader(String name, long l) {
28: }
29:
30: public void setHeader(String name, String name1) {
31: }
32:
33: public void addHeader(String name, String name1) {
34: }
35:
36: public void setIntHeader(String name, int i) {
37: }
38:
39: public void addIntHeader(String name, int i) {
40: }
41:
42: public void setContentLength(int i) {
43: }
44:
45: public void setContentType(String name) {
46: }
47:
48: public void setLocale(Locale locale) {
49: }
50: }
|