test/jdk/java/net/httpclient/http2/server/OutgoingPushPromise.java
branchhttp-client-branch
changeset 56092 fd85b2bf2b0d
parent 56089 42208b2f224e
child 56369 24a8fafec3ff
equal deleted inserted replaced
56091:aedd6133e7a0 56092:fd85b2bf2b0d
    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 java.net.http.internal.common.HttpHeadersImpl;
    26 import jdk.internal.net.http.common.HttpHeadersImpl;
    27 import java.net.http.internal.frame.Http2Frame;
    27 import jdk.internal.net.http.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;