src/java.net.http/share/classes/jdk/internal/net/http/Stream.java
changeset 52499 768b1c612100
parent 50985 cd41f34e548c
child 52554 5f1ca46703f9
equal deleted inserted replaced
52498:c3066f7465fa 52499:768b1c612100
    67  * sendRequestAsync() -- calls sendRequest() in an executor thread
    67  * sendRequestAsync() -- calls sendRequest() in an executor thread
    68  *
    68  *
    69  * RESPONSES
    69  * RESPONSES
    70  *
    70  *
    71  * Multiple responses can be received per request. Responses are queued up on
    71  * Multiple responses can be received per request. Responses are queued up on
    72  * a LinkedList of CF<HttpResponse> and the the first one on the list is completed
    72  * a LinkedList of CF<HttpResponse> and the first one on the list is completed
    73  * with the next response
    73  * with the next response
    74  *
    74  *
    75  * getResponseAsync() -- queries list of response CFs and returns first one
    75  * getResponseAsync() -- queries list of response CFs and returns first one
    76  *               if one exists. Otherwise, creates one and adds it to list
    76  *               if one exists. Otherwise, creates one and adds it to list
    77  *               and returns it. Completion is achieved through the
    77  *               and returns it. Completion is achieved through the