test/jdk/java/net/httpclient/http2/server/OutgoingPushPromise.java
branchhttp-client-branch
changeset 56089 42208b2f224e
parent 48083 b1c1b4ef4be2
child 56092 fd85b2bf2b0d
equal deleted inserted replaced
56088:38fac6d0521d 56089:42208b2f224e
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 import java.io.*;
    24 import java.io.*;
    25 import java.net.*;
    25 import java.net.*;
    26 import jdk.incubator.http.internal.common.HttpHeadersImpl;
    26 import java.net.http.internal.common.HttpHeadersImpl;
    27 import jdk.incubator.http.internal.frame.Http2Frame;
    27 import java.net.http.internal.frame.Http2Frame;
    28 
    28 
    29 // will be converted to a PushPromiseFrame in the writeLoop
    29 // will be converted to a PushPromiseFrame in the writeLoop
    30 // a thread is then created to produce the DataFrames from the InputStream
    30 // a thread is then created to produce the DataFrames from the InputStream
    31 class OutgoingPushPromise extends Http2Frame {
    31 class OutgoingPushPromise extends Http2Frame {
    32     final HttpHeadersImpl headers;
    32     final HttpHeadersImpl headers;