cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From step...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/jsp JSPEngineImpl.java
Date Fri, 09 Aug 2002 07:33:45 GMT
stephan     2002/08/09 00:33:45

  Modified:    src/java/org/apache/cocoon/components/jsp JSPEngineImpl.java
  Log:
  Add some 'deprecated' comments.
  
  Revision  Changes    Path
  1.8       +6 -1      xml-cocoon2/src/java/org/apache/cocoon/components/jsp/JSPEngineImpl.java
  
  Index: JSPEngineImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/jsp/JSPEngineImpl.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- JSPEngineImpl.java	31 Jul 2002 13:13:23 -0000	1.7
  +++ JSPEngineImpl.java	9 Aug 2002 07:33:45 -0000	1.8
  @@ -178,6 +178,7 @@
           public boolean isRequestedSessionIdValid(){ return request.isRequestedSessionIdValid();
}
           public boolean isRequestedSessionIdFromCookie(){ return request.isRequestedSessionIdFromCookie();
}
           public boolean isRequestedSessionIdFromURL(){ return request.isRequestedSessionIdFromURL();
}
  +        /** @deprecated use isRequestedSessionIdFromURL instead. */
           public boolean isRequestedSessionIdFromUrl(){ return request.isRequestedSessionIdFromUrl();
}
           public Object getAttribute(String s){
               if(s != null && s.equals(INC_SERVLET_PATH))
  @@ -206,6 +207,7 @@
           public Enumeration getLocales(){ return request.getLocales(); }
           public boolean isSecure(){ return request.isSecure(); }
           public RequestDispatcher getRequestDispatcher(String s){ return request.getRequestDispatcher(s);
}
  +        /** @deprecated use ServletContext.getRealPath(java.lang.String) instead. */
           public String getRealPath(String s){ return request.getRealPath(s); }
           public java.lang.StringBuffer getRequestURL() { return null; }
           public java.util.Map getParameterMap() { return null; }
  @@ -242,7 +244,9 @@
           public void addCookie(Cookie cookie){ response.addCookie(cookie); }
           public boolean containsHeader(String s){ return response.containsHeader(s); }
           public String encodeURL(String s){ return response.encodeURL(s); }
  +        /** @deprecated use encodeRedirectURL(String url) instead. */
           public String encodeRedirectURL(String s){ return response.encodeRedirectURL(s);
}
  +        /** @deprecated use encodeURL(String url) instead. */
           public String encodeUrl(String s){ return response.encodeUrl(s); }
           public String encodeRedirectUrl(String s){ return response.encodeRedirectUrl(s);
}
           public void sendError(int i, String s)
  @@ -258,6 +262,7 @@
           public void setIntHeader(String s, int i){response.setIntHeader(s, i); }
           public void addIntHeader(String s, int i){response.addIntHeader(s, i); }
           public void setStatus(int i){response.setStatus(i); }
  +        /** @deprecated use sendError(int, String) instead */
           public void setStatus(int i, String s){response.setStatus(i, s); }
           public void resetBuffer(){}
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message