-
Interfaces Interface Description jakarta.servlet.http.HttpSessionContext As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API.jakarta.servlet.SingleThreadModel As of Java Servlet API 2.4, with no direct replacement.
-
Classes Class Description jakarta.servlet.http.HttpUtils As of Java(tm) Servlet API 2.3. These methods were only useful with the default encoding and have been moved to the request interfaces.
-
Methods Method Description jakarta.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl() As of Version 2.1 of the Java Servlet API, useHttpServletRequest.isRequestedSessionIdFromURL()
instead.jakarta.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromUrl() As of Version 3.0 of the Java Servlet APIjakarta.servlet.http.HttpServletResponse.encodeRedirectUrl(String) As of version 2.1, use encodeRedirectURL(String url) insteadjakarta.servlet.http.HttpServletResponse.encodeUrl(String) As of version 2.1, use encodeURL(String url) insteadjakarta.servlet.http.HttpServletResponse.setStatus(int, String) As of version 2.1, due to ambiguous meaning of the message parameter. To set a status code usesetStatus(int)
, to send an error with a description usesendError(int, String)
.jakarta.servlet.http.HttpServletResponseWrapper.encodeRedirectUrl(String) As of Version 3.0 of the Java Servlet APIjakarta.servlet.http.HttpServletResponseWrapper.encodeUrl(String) As of Version 3.0 of the Java Servlet APIjakarta.servlet.http.HttpServletResponseWrapper.setStatus(int, String) As of Version 3.0 of the Java Servlet APIjakarta.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.jakarta.servlet.http.HttpSession.getValue(String) As of Version 2.2, this method is replaced byHttpSession.getAttribute(java.lang.String)
.jakarta.servlet.http.HttpSession.getValueNames() As of Version 2.2, this method is replaced byHttpSession.getAttributeNames()
jakarta.servlet.http.HttpSession.putValue(String, Object) As of Version 2.2, this method is replaced byHttpSession.setAttribute(java.lang.String, java.lang.Object)
jakarta.servlet.http.HttpSession.removeValue(String) As of Version 2.2, this method is replaced byHttpSession.removeAttribute(java.lang.String)
jakarta.servlet.http.HttpSessionContext.getIds() As of Java Servlet API 2.1 with no replacement. This method must return an emptyEnumeration
and will be removed in a future version of this API.jakarta.servlet.http.HttpSessionContext.getSession(String) As of Java Servlet API 2.1 with no replacement. This method must return null and will be removed in a future version of this API.jakarta.servlet.ServletContext.getServlet(String) As of Java Servlet API 2.1, with no direct replacement.jakarta.servlet.ServletContext.getServletNames() As of Java Servlet API 2.1, with no replacement.jakarta.servlet.ServletContext.getServlets() As of Java Servlet API 2.0, with no replacement.jakarta.servlet.ServletContext.log(Exception, String) As of Java Servlet API 2.1, useServletContext.log(String message, Throwable throwable)
instead.This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.
jakarta.servlet.ServletRequest.getRealPath(String) As of Version 2.1 of the Java Servlet API, useServletContext.getRealPath(java.lang.String)
instead.jakarta.servlet.ServletRequestWrapper.getRealPath(String) As of Version 3.0 of the Java Servlet APIjakarta.servlet.UnavailableException.getServlet() As of Java Servlet API 2.2, with no replacement.
-
Constructors Constructor Description jakarta.servlet.UnavailableException(Servlet, String) As of Java Servlet API 2.2, useUnavailableException(String)
instead.