📄 deprecated-list.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/http/HttpSession.html#getSessionContext()">javax.servlet.http.HttpSession.getSessionContext()</A><BR> <I>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.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/monitor/CounterMonitor.html#getThreshold()">javax.management.monitor.CounterMonitor.getThreshold()</A><BR> <I>As of JMX 1.2, replaced by <A HREF="javax/management/monitor/CounterMonitor.html#getThreshold(javax.management.ObjectName)"><CODE>CounterMonitor.getThreshold(ObjectName)</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/monitor/CounterMonitorMBean.html#getThreshold()">javax.management.monitor.CounterMonitorMBean.getThreshold()</A><BR> <I>As of JMX 1.2, replaced by <A HREF="javax/management/monitor/CounterMonitorMBean.html#getThreshold(javax.management.ObjectName)"><CODE>CounterMonitorMBean.getThreshold(ObjectName)</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/http/HttpSession.html#getValue(java.lang.String)">javax.servlet.http.HttpSession.getValue(String)</A><BR> <I>As of Version 2.2, this method is replaced by <A HREF="javax/servlet/http/HttpSession.html#getAttribute(java.lang.String)"><CODE>HttpSession.getAttribute(java.lang.String)</CODE></A>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/http/HttpSession.html#getValueNames()">javax.servlet.http.HttpSession.getValueNames()</A><BR> <I>As of Version 2.2, this method is replaced by <A HREF="javax/servlet/http/HttpSession.html#getAttributeNames()"><CODE>HttpSession.getAttributeNames()</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/ejb/EJBContext.html#isCallerInRole(java.security.Identity)">javax.ejb.EJBContext.isCallerInRole(Identity)</A><BR> <I>Use boolean isCallerInRole(String roleName) instead.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/http/HttpServletRequest.html#isRequestedSessionIdFromUrl()">javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl()</A><BR> <I>As of Version 2.1 of the Java Servlet API, use <A HREF="javax/servlet/http/HttpServletRequest.html#isRequestedSessionIdFromURL()"><CODE>HttpServletRequest.isRequestedSessionIdFromURL()</CODE></A> instead.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/ServletContext.html#log(java.lang.Exception, java.lang.String)">javax.servlet.ServletContext.log(Exception, String)</A><BR> <I>As of Java Servlet API 2.1, use <A HREF="javax/servlet/ServletContext.html#log(java.lang.String, java.lang.Throwable)"><CODE>ServletContext.log(String message, Throwable throwable)</CODE></A> instead. <p>This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/http/HttpSession.html#putValue(java.lang.String, java.lang.Object)">javax.servlet.http.HttpSession.putValue(String, Object)</A><BR> <I>As of Version 2.2, this method is replaced by <A HREF="javax/servlet/http/HttpSession.html#setAttribute(java.lang.String, java.lang.Object)"><CODE>HttpSession.setAttribute(java.lang.String, java.lang.Object)</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/http/HttpSession.html#removeValue(java.lang.String)">javax.servlet.http.HttpSession.removeValue(String)</A><BR> <I>As of Version 2.2, this method is replaced by <A HREF="javax/servlet/http/HttpSession.html#removeAttribute(java.lang.String)"><CODE>HttpSession.removeAttribute(java.lang.String)</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/resource/ResourceException.html#setLinkedException(java.lang.Exception)">javax.resource.ResourceException.setLinkedException(Exception)</A><BR> <I>J2SE release 1.4 supports a chained exception facility that allows any throwable to know about another throwable, if any, that caused it to get thrown. Refer to <code>getCause</code> and <code>initCause</code> methods of the <code>java.lang.Throwable</code> class.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/resource/cci/ResourceWarning.html#setLinkedWarning(javax.resource.cci.ResourceWarning)">javax.resource.cci.ResourceWarning.setLinkedWarning(ResourceWarning)</A><BR> <I>J2SE release 1.4 supports a chained exception facility that allows any throwable to know about another throwable, if any, that caused it to get thrown. Refer to <code>getCause</code> and <code>initCause</code> methods of the <code>java.lang.Throwable</code> class.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/ValueExp.html#setMBeanServer(javax.management.MBeanServer)">javax.management.ValueExp.setMBeanServer(MBeanServer)</A><BR> <I>This method is not needed because a <code>ValueExp</code> can access the MBean server in which it is being evaluated by using <A HREF="javax/management/QueryEval.html#getMBeanServer()"><CODE>QueryEval.getMBeanServer()</CODE></A>.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/monitor/Monitor.html#setObservedObject(javax.management.ObjectName)">javax.management.monitor.Monitor.setObservedObject(ObjectName)</A><BR> <I>As of JMX 1.2, replaced by <A HREF="javax/management/monitor/Monitor.html#addObservedObject(javax.management.ObjectName)"><CODE>Monitor.addObservedObject(javax.management.ObjectName)</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/monitor/MonitorMBean.html#setObservedObject(javax.management.ObjectName)">javax.management.monitor.MonitorMBean.setObservedObject(ObjectName)</A><BR> <I>As of JMX 1.2, replaced by <A HREF="javax/management/monitor/MonitorMBean.html#addObservedObject(javax.management.ObjectName)"><CODE>MonitorMBean.addObservedObject(javax.management.ObjectName)</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/http/HttpServletResponse.html#setStatus(int, java.lang.String)">javax.servlet.http.HttpServletResponse.setStatus(int, String)</A><BR> <I>As of version 2.1, due to ambiguous meaning of the message parameter. To set a status code use <code>setStatus(int)</code>, to send an error with a description use <code>sendError(int, String)</code>. Sets the status code and message for this response.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/monitor/CounterMonitor.html#setThreshold(java.lang.Number)">javax.management.monitor.CounterMonitor.setThreshold(Number)</A><BR> <I>As of JMX 1.2, replaced by <A HREF="javax/management/monitor/CounterMonitor.html#setInitThreshold(java.lang.Number)"><CODE>CounterMonitor.setInitThreshold(java.lang.Number)</CODE></A></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/monitor/CounterMonitorMBean.html#setThreshold(java.lang.Number)">javax.management.monitor.CounterMonitorMBean.setThreshold(Number)</A><BR> <I>As of JMX 1.2, replaced by <A HREF="javax/management/monitor/CounterMonitorMBean.html#setInitThreshold(java.lang.Number)"><CODE>CounterMonitorMBean.setInitThreshold(java.lang.Number)</CODE></A></I> </TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Deprecated Constructors</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/management/AttributeValueExp.html#AttributeValueExp()">javax.management.AttributeValueExp()</A><BR> <I>An instance created with this constructor cannot be used in a query.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/UnavailableException.html#UnavailableException(int, javax.servlet.Servlet, java.lang.String)">javax.servlet.UnavailableException(int, Servlet, String)</A><BR> <I>As of Java Servlet API 2.2, use <A HREF="javax/servlet/UnavailableException.html#UnavailableException(java.lang.String, int)"><CODE>UnavailableException.UnavailableException(String, int)</CODE></A> instead.</I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="javax/servlet/UnavailableException.html#UnavailableException(javax.servlet.Servlet, java.lang.String)">javax.servlet.UnavailableException(Servlet, String)</A><BR> <I>As of Java Servlet API 2.2, use <A HREF="javax/servlet/UnavailableException.html#UnavailableException(java.lang.String)"><CODE>UnavailableException.UnavailableException(String)</CODE></A> instead.</I> </TD></TR></TABLE> <P><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html" target="_top"><B>FRAMES</B></A> <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -