KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portletcontainer > impl > portletAPIImp > pool > EmptyResponse


1 /**
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  **/

5
6 /**
7  * Created by The eXo Platform SARL
8  * Author : Mestrallet Benjamin
9  * benjmestrallet@users.sourceforge.net
10  * Date: Jul 29, 2003
11  * Time: 5:44:28 PM
12  */

13 package org.exoplatform.services.portletcontainer.impl.portletAPIImp.pool;
14
15 import javax.servlet.http.HttpServletResponse JavaDoc;
16 import javax.servlet.http.Cookie JavaDoc;
17 import javax.servlet.ServletOutputStream JavaDoc;
18 import java.io.IOException JavaDoc;
19 import java.io.PrintWriter JavaDoc;
20 import java.util.Locale JavaDoc;
21
22 public class EmptyResponse implements HttpServletResponse JavaDoc {
23
24   public void addCookie(Cookie JavaDoc cookie) {
25   }
26
27   public boolean containsHeader(String JavaDoc s) {
28     return false;
29   }
30
31   public String JavaDoc encodeURL(String JavaDoc s) {
32     return null;
33   }
34
35   public String JavaDoc encodeRedirectURL(String JavaDoc s) {
36     return null;
37   }
38
39   public String JavaDoc encodeUrl(String JavaDoc s) {
40     return null;
41   }
42
43   public String JavaDoc encodeRedirectUrl(String JavaDoc s) {
44     return null;
45   }
46
47   public void sendError(int i, String JavaDoc s) throws IOException JavaDoc {
48   }
49
50   public void sendError(int i) throws IOException JavaDoc {
51   }
52
53   public void sendRedirect(String JavaDoc s) throws IOException JavaDoc {
54   }
55
56   public void setDateHeader(String JavaDoc s, long l) {
57   }
58
59   public void addDateHeader(String JavaDoc s, long l) {
60   }
61
62   public void setHeader(String JavaDoc s, String JavaDoc s1) {
63   }
64
65   public void addHeader(String JavaDoc s, String JavaDoc s1) {
66   }
67
68   public void setIntHeader(String JavaDoc s, int i) {
69   }
70
71   public void addIntHeader(String JavaDoc s, int i) {
72   }
73
74   public void setStatus(int i) {
75   }
76
77   public void setStatus(int i, String JavaDoc s) {
78   }
79
80   public String JavaDoc getCharacterEncoding() {
81     return null;
82   }
83
84   public ServletOutputStream JavaDoc getOutputStream() throws IOException JavaDoc {
85     return null;
86   }
87
88   public PrintWriter JavaDoc getWriter() throws IOException JavaDoc {
89     return null;
90   }
91
92   public void setContentLength(int i) {
93   }
94
95   public void setContentType(String JavaDoc s) {
96   }
97
98   public void setBufferSize(int i) {
99   }
100
101   public int getBufferSize() {
102     return 0;
103   }
104
105   public void flushBuffer() throws IOException JavaDoc {
106   }
107
108   public void resetBuffer() {
109   }
110
111   public boolean isCommitted() {
112     return false;
113   }
114
115   public void reset() {
116   }
117
118   public void setLocale(Locale JavaDoc locale) {
119   }
120
121   public Locale JavaDoc getLocale() {
122     return null;
123   }
124   
125   public void setCharacterEncoding(String JavaDoc charset){
126   }
127   
128   public String JavaDoc getContentType(){
129     return null;
130   }
131 }
132
Popular Tags