1 package org.eclipse.jetty.server;
2
3 import java.io.IOException;
4 import java.util.Collection;
5
6 import javax.servlet.ServletResponse;
7 import javax.servlet.ServletResponseWrapper;
8 import javax.servlet.http.Cookie;
9 import javax.servlet.http.HttpServletResponse;
10
11
12
13
14
15 public class ServletResponseHttpWrapper extends ServletResponseWrapper implements HttpServletResponse
16 {
17 public ServletResponseHttpWrapper(ServletResponse response)
18 {
19 super(response);
20 }
21
22 public void addCookie(Cookie cookie)
23 {
24 }
25
26 public boolean containsHeader(String name)
27 {
28 return false;
29 }
30
31 public String encodeURL(String url)
32 {
33 return null;
34 }
35
36 public String encodeRedirectURL(String url)
37 {
38 return null;
39 }
40
41 public String encodeUrl(String url)
42 {
43 return null;
44 }
45
46 public String encodeRedirectUrl(String url)
47 {
48 return null;
49 }
50
51 public void sendError(int sc, String msg) throws IOException
52 {
53 }
54
55 public void sendError(int sc) throws IOException
56 {
57 }
58
59 public void sendRedirect(String location) throws IOException
60 {
61 }
62
63 public void setDateHeader(String name, long date)
64 {
65 }
66
67 public void addDateHeader(String name, long date)
68 {
69 }
70
71 public void setHeader(String name, String value)
72 {
73 }
74
75 public void addHeader(String name, String value)
76 {
77 }
78
79 public void setIntHeader(String name, int value)
80 {
81 }
82
83 public void addIntHeader(String name, int value)
84 {
85 }
86
87 public void setStatus(int sc)
88 {
89 }
90
91 public void setStatus(int sc, String sm)
92 {
93 }
94
95
96
97
98 public String getHeader(String name)
99 {
100 return null;
101 }
102
103
104
105
106 public Collection<String> getHeaderNames()
107 {
108 return null;
109 }
110
111
112
113
114 public Collection<String> getHeaders(String name)
115 {
116 return null;
117 }
118
119
120
121
122 public int getStatus()
123 {
124 return 0;
125 }
126
127 }