Deprecated API


Contents
Deprecated Interfaces
javax.servlet.http.HttpSessionContext
            
javax.servlet.SingleThreadModel
            
 

Deprecated Methods
javax.servlet.http.HttpServletResponse.encodeRedirectUrl(String)
          As of version 2.1, use encodeRedirectURL(String url) instead 
javax.servlet.http.HttpServletResponseWrapper.encodeRedirectUrl(String)
            
winstone.WinstoneResponse.encodeRedirectUrl(String)
            
javax.servlet.http.HttpServletResponse.encodeUrl(String)
          As of version 2.1, use encodeURL(String url) instead 
javax.servlet.http.HttpServletResponseWrapper.encodeUrl(String)
            
winstone.WinstoneResponse.encodeUrl(String)
            
javax.servlet.http.HttpSessionContext.getIds()
            
javax.servlet.ServletRequest.getRealPath(String)
          As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(String) instead. 
javax.servlet.ServletRequestWrapper.getRealPath(String)
            
winstone.WinstoneRequest.getRealPath(String)
            
javax.servlet.http.HttpUtils.getRequestURL(HttpServletRequest)
          Reconstructs the URL the client used to make the request, using information in the HttpServletRequest object. 
javax.servlet.UnavailableException.getServlet()
          As of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability. 
javax.servlet.ServletContext.getServlet(String)
          As of Java Servlet API 2.1, with no direct replacement. 
winstone.WebAppConfiguration.getServlet(String)
            
javax.servlet.ServletContext.getServletNames()
          As of Java Servlet API 2.1, with no replacement. 
winstone.WebAppConfiguration.getServletNames()
            
javax.servlet.ServletContext.getServlets()
          As of Java Servlet API 2.0, with no replacement. 
winstone.WebAppConfiguration.getServlets()
            
javax.servlet.http.HttpSessionContext.getSession(String)
            
javax.servlet.http.HttpSession.getSessionContext()
          As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API. 
winstone.WinstoneSession.getSessionContext()
            
javax.servlet.http.HttpSession.getValue(String)
          As of Version 2.2, this method is replaced by getAttribute(java.lang.String). 
winstone.WinstoneSession.getValue(String)
            
javax.servlet.http.HttpSession.getValueNames()
          As of Version 2.2, this method is replaced by getAttributeNames() 
winstone.WinstoneSession.getValueNames()
            
javax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromUrl()
            
javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl()
          As of Version 2.1 of the Java Servlet API, use isRequestedSessionIdFromURL() instead. 
winstone.WinstoneRequest.isRequestedSessionIdFromUrl()
            
javax.servlet.ServletContext.log(Exception, String)
          As of Java Servlet API 2.1, use log(String message, Throwable throwable) instead. 
winstone.WebAppConfiguration.log(Exception, String)
            
javax.servlet.http.HttpUtils.parsePostData(int, ServletInputStream)
          Parses data from an HTML form that the client sends to the server using the HTTP POST method and the application/x-www-form-urlencoded MIME type. 
javax.servlet.http.HttpUtils.parseQueryString(String)
          Parses a query string passed from the client to the server and builds a HashTable object with key-value pairs. 
javax.servlet.http.HttpSession.putValue(String, Object)
          As of Version 2.2, this method is replaced by setAttribute(java.lang.String, java.lang.Object) 
winstone.WinstoneSession.putValue(String, Object)
            
javax.servlet.http.HttpSession.removeValue(String)
          As of Version 2.2, this method is replaced by removeAttribute(java.lang.String) 
winstone.WinstoneSession.removeValue(String)
            
javax.servlet.http.HttpServletResponse.setStatus(int, String)
          As of version 2.1, due to ambiguous meaning of the message parameter. To set a status code use setStatus(int), to send an error with a description use sendError(int, String). Sets the status code and message for this response. 
javax.servlet.http.HttpServletResponseWrapper.setStatus(int, String)
            
winstone.WinstoneResponse.setStatus(int, String)
            
 

Deprecated Constructors
javax.servlet.UnavailableException(int, Servlet, String)
          As of Java Servlet API 2.2, use UnavailableException(String, int) instead. 
javax.servlet.UnavailableException(Servlet, String)
          As of Java Servlet API 2.2, use UnavailableException(String) instead. 
 



Copyright © 2013. All Rights Reserved.