1 5 6 13 package org.exoplatform.services.portletcontainer.impl.portletAPIImp.pool; 14 15 import javax.servlet.http.HttpServletRequest ; 16 import javax.servlet.http.HttpSession ; 17 import javax.servlet.http.Cookie ; 18 import javax.servlet.ServletInputStream ; 19 import javax.servlet.RequestDispatcher ; 20 import java.util.*; 21 import java.security.Principal ; 22 import java.io.UnsupportedEncodingException ; 23 import java.io.IOException ; 24 import java.io.BufferedReader ; 25 26 public class EmptyRequest implements HttpServletRequest { 27 28 public String getAuthType() { 29 return null; 30 } 31 32 public Cookie [] getCookies() { 33 return new Cookie [0]; 34 } 35 36 public long getDateHeader(String s) { 37 return 0; 38 } 39 40 public String getHeader(String s) { 41 return null; 42 } 43 44 public Enumeration getHeaders(String s) { 45 return null; 46 } 47 48 public Enumeration getHeaderNames() { 49 return null; 50 } 51 52 public int getIntHeader(String s) { 53 return 0; 54 } 55 56 public String getMethod() { 57 return null; 58 } 59 60 public String getPathInfo() { 61 return null; 62 } 63 64 public String getPathTranslated() { 65 return null; 66 } 67 68 public String getContextPath() { 69 return null; 70 } 71 72 public String getQueryString() { 73 return null; 74 } 75 76 public String getRemoteUser() { 77 return null; 78 } 79 80 public boolean isUserInRole(String s) { 81 return false; 82 } 83 84 public Principal getUserPrincipal() { 85 return null; 86 } 87 88 public String getRequestedSessionId() { 89 return null; 90 } 91 92 public String getRequestURI() { 93 return null; 94 } 95 96 public StringBuffer getRequestURL() { 97 return null; 98 } 99 100 public String getServletPath() { 101 return null; 102 } 103 104 public HttpSession getSession(boolean b) { 105 return null; 106 } 107 108 public HttpSession getSession() { 109 return null; 110 } 111 112 public boolean isRequestedSessionIdValid() { 113 return false; 114 } 115 116 public boolean isRequestedSessionIdFromCookie() { 117 return false; 118 } 119 120 public boolean isRequestedSessionIdFromURL() { 121 return false; 122 } 123 124 public boolean isRequestedSessionIdFromUrl() { 125 return false; 126 } 127 128 public Object getAttribute(String s) { 129 return null; 130 } 131 132 public Enumeration getAttributeNames() { 133 return null; 134 } 135 136 public String getCharacterEncoding() { 137 return null; 138 } 139 140 public void setCharacterEncoding(String s) throws UnsupportedEncodingException { 141 } 142 143 public int getContentLength() { 144 return 0; 145 } 146 147 public String getContentType() { 148 return null; 149 } 150 151 public ServletInputStream getInputStream() throws IOException { 152 return null; 153 } 154 155 public String getParameter(String s) { 156 return null; 157 } 158 159 public Enumeration getParameterNames() { 160 return null; 161 } 162 163 public String [] getParameterValues(String s) { 164 return new String [0]; 165 } 166 167 public Map getParameterMap() { 168 return null; 169 } 170 171 public String getProtocol() { 172 return null; 173 } 174 175 public String getScheme() { 176 return null; 177 } 178 179 public String getServerName() { 180 return null; 181 } 182 183 public int getServerPort() { 184 return 0; 185 } 186 187 public BufferedReader getReader() throws IOException { 188 return null; 189 } 190 191 public String getRemoteAddr() { 192 return null; 193 } 194 195 public String getRemoteHost() { 196 return null; 197 } 198 199 public void setAttribute(String s, Object o) { 200 } 201 202 public void removeAttribute(String s) { 203 } 204 205 public Locale getLocale() { 206 return null; 207 } 208 209 public Enumeration getLocales() { 210 return null; 211 } 212 213 public boolean isSecure() { 214 return false; 215 } 216 217 public RequestDispatcher getRequestDispatcher(String s) { 218 return null; 219 } 220 221 public String getRealPath(String s) { 222 return null; 223 } 224 225 public int getLocalPort(){ 227 return 0; 228 } 229 230 public String getLocalAddr(){ 231 return null; 232 } 233 234 public String getLocalName(){ 235 return null; 236 } 237 238 public int getRemotePort(){ 239 return 0; 240 } 241 } 242 243 | Popular Tags |