View Javadoc

1   package org.eclipse.jetty.server;
2   
3   import java.io.IOException;
4   
5   import javax.servlet.ServletResponse;
6   import javax.servlet.ServletResponseWrapper;
7   import javax.servlet.http.Cookie;
8   import javax.servlet.http.HttpServletResponse;
9   
10  
11  /* ------------------------------------------------------------ */
12  /** Wrapper to tunnel a ServletResponse via a HttpServletResponse
13   */
14  public class ServletResponseHttpWrapper extends ServletResponseWrapper implements HttpServletResponse
15  {
16      public ServletResponseHttpWrapper(ServletResponse response)
17      {
18          super(response);
19      }
20  
21      public void addCookie(Cookie cookie)
22      {        
23      }
24  
25      public boolean containsHeader(String name)
26      {
27          return false;
28      }
29  
30      public String encodeURL(String url)
31      {
32          return null;
33      }
34  
35      public String encodeRedirectURL(String url)
36      {
37          return null;
38      }
39  
40      public String encodeUrl(String url)
41      {
42          return null;
43      }
44  
45      public String encodeRedirectUrl(String url)
46      {
47          return null;
48      }
49  
50      public void sendError(int sc, String msg) throws IOException
51      {        
52      }
53  
54      public void sendError(int sc) throws IOException
55      {        
56      }
57  
58      public void sendRedirect(String location) throws IOException
59      {        
60      }
61  
62      public void setDateHeader(String name, long date)
63      {        
64      }
65  
66      public void addDateHeader(String name, long date)
67      {        
68      }
69  
70      public void setHeader(String name, String value)
71      {        
72      }
73  
74      public void addHeader(String name, String value)
75      {        
76      }
77  
78      public void setIntHeader(String name, int value)
79      {        
80      }
81  
82      public void addIntHeader(String name, int value)
83      {        
84      }
85  
86      public void setStatus(int sc)
87      {        
88      }
89  
90      public void setStatus(int sc, String sm)
91      {        
92      }
93  
94  }