KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > producer > impl > helpers > WSRPHttpServletResponse


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  * Created on 9 janv. 2004
6  */

7 package org.exoplatform.services.wsrp.producer.impl.helpers;
8
9 import java.io.IOException JavaDoc;
10 import java.io.PrintWriter JavaDoc;
11 import java.util.Locale JavaDoc;
12
13 import javax.servlet.ServletOutputStream JavaDoc;
14 import javax.servlet.http.Cookie JavaDoc;
15 import javax.servlet.http.HttpServletResponse JavaDoc;
16
17 /**
18  * @author Mestrallet Benjamin
19  * benjmestrallet@users.sourceforge.net
20  */

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