1 5 6 13 package org.exoplatform.services.portletcontainer.impl.portletAPIImp.pool; 14 15 import javax.servlet.http.HttpServletResponse ; 16 import javax.servlet.http.Cookie ; 17 import javax.servlet.ServletOutputStream ; 18 import java.io.IOException ; 19 import java.io.PrintWriter ; 20 import java.util.Locale ; 21 22 public class EmptyResponse implements HttpServletResponse { 23 24 public void addCookie(Cookie cookie) { 25 } 26 27 public boolean containsHeader(String s) { 28 return false; 29 } 30 31 public String encodeURL(String s) { 32 return null; 33 } 34 35 public String encodeRedirectURL(String s) { 36 return null; 37 } 38 39 public String encodeUrl(String s) { 40 return null; 41 } 42 43 public String encodeRedirectUrl(String s) { 44 return null; 45 } 46 47 public void sendError(int i, String s) throws IOException { 48 } 49 50 public void sendError(int i) throws IOException { 51 } 52 53 public void sendRedirect(String s) throws IOException { 54 } 55 56 public void setDateHeader(String s, long l) { 57 } 58 59 public void addDateHeader(String s, long l) { 60 } 61 62 public void setHeader(String s, String s1) { 63 } 64 65 public void addHeader(String s, String s1) { 66 } 67 68 public void setIntHeader(String s, int i) { 69 } 70 71 public void addIntHeader(String s, int i) { 72 } 73 74 public void setStatus(int i) { 75 } 76 77 public void setStatus(int i, String s) { 78 } 79 80 public String getCharacterEncoding() { 81 return null; 82 } 83 84 public ServletOutputStream getOutputStream() throws IOException { 85 return null; 86 } 87 88 public PrintWriter getWriter() throws IOException { 89 return null; 90 } 91 92 public void setContentLength(int i) { 93 } 94 95 public void setContentType(String 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 { 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 locale) { 119 } 120 121 public Locale getLocale() { 122 return null; 123 } 124 125 public void setCharacterEncoding(String charset){ 126 } 127 128 public String getContentType(){ 129 return null; 130 } 131 } 132 | Popular Tags |