1 package com.atlassian.jira.servlet;
2
3 import java.io.IOException;
4 import java.io.PrintWriter;
5 import java.util.Locale;
6
7 import javax.servlet.ServletOutputStream;
8 import javax.servlet.http.Cookie;
9 import javax.servlet.http.HttpServletResponse;
10
11
12 public class EmptyResponse implements HttpServletResponse {
13
14 public void addCookie(Cookie cookie) {
15
16
17 }
18
19 public void addDateHeader(String name, long date) {
20
21
22 }
23
24 public void addHeader(String name, String value) {
25
26
27 }
28
29 public void addIntHeader(String name, int value) {
30
31
32 }
33
34 public boolean containsHeader(String name) {
35
36 return false;
37 }
38
39 public String encodeRedirectUrl(String url) {
40
41 return null;
42 }
43
44 public String encodeRedirectURL(String url) {
45
46 return null;
47 }
48
49 public String encodeUrl(String url) {
50
51 return null;
52 }
53
54 public String encodeURL(String url) {
55
56 return null;
57 }
58
59 public void sendError(int sc, String msg) throws IOException {
60
61
62 }
63
64 public void sendError(int sc) throws IOException {
65
66
67 }
68
69 public void sendRedirect(String location) throws IOException {
70
71
72 }
73
74 public void setDateHeader(String name, long date) {
75
76
77 }
78
79 public void setHeader(String name, String value) {
80
81
82 }
83
84 public void setIntHeader(String name, int value) {
85
86
87 }
88
89 public void setStatus(int sc, String sm) {
90
91
92 }
93
94 public void setStatus(int sc) {
95
96
97 }
98
99 public void flushBuffer() throws IOException {
100
101
102 }
103
104 public int getBufferSize() {
105
106 return 0;
107 }
108
109 public String getCharacterEncoding() {
110
111 return null;
112 }
113
114 public Locale getLocale() {
115
116 return null;
117 }
118
119 public ServletOutputStream getOutputStream() throws IOException {
120
121 return null;
122 }
123
124 public PrintWriter getWriter() throws IOException {
125
126 return null;
127 }
128
129 public boolean isCommitted() {
130
131 return false;
132 }
133
134 public void reset() {
135
136
137 }
138
139 public void resetBuffer() {
140
141
142 }
143
144 public void setBufferSize(int size) {
145
146
147 }
148
149 public void setContentLength(int len) {
150
151
152 }
153
154 public void setContentType(String type) {
155
156
157 }
158
159 public void setLocale(Locale loc) {
160
161
162 }
163
164 }