jsr369-experts@servlet-spec.java.net

[jsr369-experts] Re: Re: [servlet-spec users] Servlet 4.0 Spec comments

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Tue, 05 Jan 2016 14:54:26 -0800

In javadoc of ServletOuputStream, we have:

Throws:
    |IllegalStateException
    <http://download.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true>|
    - if one of the following conditions is true

      * the associated request is neither upgraded nor the async started
      * setWriteListener is called more than once within the scope of
        the same request.


Shing Wai Chan


On 12/8/15, 11:40 AM, Edward Burns wrote:
> Copying from mail sent to users_at_servlet-spec.java.net.
>
>>>>>> On Tue, 1 Dec 2015 18:00:29 -0500, "Martin Mulholland"<mmulholl_at_us.ibm.com> said:
> MM> Section 3.7:
>
>
> MM> Section 5.3 - setWriteListener()
>
> Spec> It is illegal to switch to the traditional blocking IO at that
> Spec> point.
>
> MM> Add a clarification to say how such a illegal switch is reported.
> MM> IOException from OutputStream write methods?
>
> I propose adding the following text after "at that point."
>
> Proposed53> The use of IO related method calls after this illegal switch
> Proposed53> to traditional blocking IO produces unspecified results.
>
>