tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r1492585 - /tomcat/trunk/java/javax/servlet/ServletOutputStream.java
Date Thu, 13 Jun 2013 09:35:12 GMT
2013/6/13  <markt@apache.org>:
> Author: markt
> Date: Thu Jun 13 09:12:06 2013
> New Revision: 1492585
>
> URL: http://svn.apache.org/r1492585
> Log:
> More Servlet 3.1 Javadoc
>
> Modified:
>     tomcat/trunk/java/javax/servlet/ServletOutputStream.java
>
> Modified: tomcat/trunk/java/javax/servlet/ServletOutputStream.java
> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ServletOutputStream.java?rev=1492585&r1=1492584&r2=1492585&view=diff
> ==============================================================================
> --- tomcat/trunk/java/javax/servlet/ServletOutputStream.java (original)
> +++ tomcat/trunk/java/javax/servlet/ServletOutputStream.java Thu Jun 13 09:12:06 2013
> @@ -273,10 +273,13 @@ public abstract class ServletOutputStrea
>      }
>
>      /**
> -     * If this returns false, it will cause a callback to
> -     * {@link WriteListener#onWritePossible()} when the buffer has emptied
> -     * TODO SERVLET 3.1
> -     * @return  TODO
> +     * Checks if a non-blocking write will succeed. If this returns
> +     * <code>false</code>, it will cause a callback to
> +     * {@link WriteListener#onWritePossible()} when the buffer has emptied. If
> +     * this method returns <code>false</code> no further data must be written
> +     * until the contain calls {@link WriteListener#onWritePossible()}.
> +     *
> +     * @return <code>true</code> if data can be written, else <code>false</code>

@since 3.1
is missing

>       */
>      public abstract boolean isReady();
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message