1 2 3 27 28 29 package org.apache.catalina; 30 31 32 import java.io.InputStream ; 33 import java.io.IOException ; 34 import java.net.Socket ; 35 import java.util.Iterator ; 36 import javax.servlet.FilterChain ; 37 import javax.servlet.ServletException ; 38 import javax.servlet.ServletInputStream ; 39 import javax.servlet.ServletRequest ; 40 41 42 50 51 public interface Request { 52 53 54 56 57 60 public String getAuthorization(); 61 62 63 68 public void setAuthorization(String authorization); 69 70 71 74 public Connector getConnector(); 75 76 77 82 public void setConnector(Connector connector); 83 84 85 88 public Context getContext(); 89 90 91 99 public void setContext(Context context); 100 101 102 105 public FilterChain getFilterChain(); 106 107 108 113 public void setFilterChain(FilterChain filterChain); 114 115 116 119 public Host getHost(); 120 121 122 129 public void setHost(Host host); 130 131 132 137 public String getInfo(); 138 139 140 144 public ServletRequest getRequest(); 145 146 147 150 public Response getResponse(); 151 152 153 158 public void setResponse(Response response); 159 160 161 167 public Socket getSocket(); 168 169 170 175 public void setSocket(Socket socket); 176 177 178 181 public InputStream getStream(); 182 183 184 189 public void setStream(InputStream stream); 190 191 195 public ValveContext getValveContext(); 196 197 198 203 public void setValveContext(ValveContext valveContext); 204 206 207 210 public Wrapper getWrapper(); 211 212 213 220 public void setWrapper(Wrapper wrapper); 221 222 223 225 226 232 public ServletInputStream createInputStream() throws IOException ; 233 234 235 241 public void finishRequest() throws IOException ; 242 243 244 250 public Object getNote(String name); 251 252 253 257 public Iterator getNoteNames(); 258 259 260 264 public void recycle(); 265 266 267 273 public void removeNote(String name); 274 275 276 281 public void setContentLength(int length); 282 283 284 291 public void setContentType(String type); 292 293 294 301 public void setNote(String name, Object value); 302 303 304 309 public void setProtocol(String protocol); 310 311 312 319 public void setRemoteAddr(String remote); 320 321 322 328 public void setScheme(String scheme); 329 330 331 337 public void setSecure(boolean secure); 338 339 340 345 public void setServerName(String name); 346 347 348 353 public void setServerPort(int port); 354 355 356 365 public String getJrouteId(); 366 368 } 369 | Popular Tags |