1 7 package org.exoplatform.services.wsrp.producer.impl.helpers; 8 9 import java.io.IOException ; 10 import java.io.PrintWriter ; 11 import java.util.Locale ; 12 13 import javax.servlet.ServletOutputStream ; 14 import javax.servlet.http.Cookie ; 15 import javax.servlet.http.HttpServletResponse ; 16 17 21 public class WSRPHttpServletResponse implements HttpServletResponse { 22 23 public void addCookie(Cookie arg0) { 24 } 25 26 public boolean containsHeader(String arg0) { 27 return false; 28 } 29 30 public String encodeURL(String arg0) { 31 return null; 32 } 33 34 public String encodeRedirectURL(String arg0) { 35 return null; 36 } 37 38 public void sendError(int arg0, String arg1) throws IOException { 39 } 40 41 public void sendError(int arg0) throws IOException { 42 } 43 44 public void sendRedirect(String arg0) throws IOException { 45 } 46 47 public void setDateHeader(String arg0, long arg1) { 48 } 49 50 public void addDateHeader(String arg0, long arg1) { 51 } 52 53 public void setHeader(String arg0, String arg1) { 54 } 55 56 public void addHeader(String arg0, String arg1) { 57 } 58 59 public void setIntHeader(String arg0, int arg1) { 60 } 61 62 public void addIntHeader(String arg0, int arg1) { 63 } 64 65 public void setStatus(int arg0) { 66 } 67 68 public String getCharacterEncoding() { 69 return null; 70 } 71 72 public ServletOutputStream getOutputStream() throws IOException { 73 return null; 74 } 75 76 public PrintWriter getWriter() throws IOException { 77 return null; 78 } 79 80 public void setContentLength(int arg0) { 81 } 82 83 public void setContentType(String 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 { 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 arg0) { 107 } 108 109 public Locale getLocale() { 110 return null; 111 } 112 113 public void setCharacterEncoding(String enc){ 115 } 116 117 public String getContentType(){ 118 return null; 119 } 120 121 public String encodeUrl(String arg0) { 123 return null; 124 } 125 126 public String encodeRedirectUrl(String arg0) { 127 return null; 128 } 129 130 public void setStatus(int arg0, String arg1) { 131 } 132 133 } 134 | Popular Tags |