You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2012/11/27 15:46:30 UTC
svn commit: r1414215 - /tomcat/trunk/java/javax/servlet/ServletContext.java
Author: markt
Date: Tue Nov 27 14:46:30 2012
New Revision: 1414215
URL: http://svn.apache.org/viewvc?rev=1414215&view=rev
Log:
A little more Javadoc
Modified:
tomcat/trunk/java/javax/servlet/ServletContext.java
Modified: tomcat/trunk/java/javax/servlet/ServletContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ServletContext.java?rev=1414215&r1=1414214&r2=1414215&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/ServletContext.java (original)
+++ tomcat/trunk/java/javax/servlet/ServletContext.java Tue Nov 27 14:46:30 2012
@@ -555,10 +555,17 @@ public interface ServletContext {
throws ServletException;
/**
- * @param servletName
- * @return TODO
- * @throws UnsupportedOperationException
- * @since Servlet 3.0 TODO SERVLET3 - Add comments
+ * Obtain the details of the named servlet.
+ *
+ * @param servletName The name of the Servlet of interest
+ *
+ * @return The registration details for the named Servlet or
+ * <code>null</code> if no Servlet has been registered with the
+ * given name
+ *
+ * @throws UnsupportedOperationException TODO SERVLET3 - Add comments
+ *
+ * @since Servlet 3.0
*/
public ServletRegistration getServletRegistration(String servletName);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org