test/jdk/java/net/httpclient/ExpectContinue.java
changeset 52121 934969c63223
parent 49765 ee6f7a61f3a5
equal deleted inserted replaced
52120:84fe81feae26 52121:934969c63223
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @summary Basic test for Expect 100-Continue ( HTTP/1.1 only )
    26  * @summary Basic test for Expect 100-Continue ( HTTP/1.1 only )
    27  * @modules java.net.http
    27  * @modules java.net.http
    28  *          jdk.httpserver
    28  *          jdk.httpserver
    29  * @library /lib/testlibrary
    29  * @library /test/lib
    30  * @build jdk.testlibrary.SimpleSSLContext
    30  * @build jdk.test.lib.net.SimpleSSLContext
    31  * @run testng/othervm ExpectContinue
    31  * @run testng/othervm ExpectContinue
    32  */
    32  */
    33 
    33 
    34 import com.sun.net.httpserver.HttpExchange;
    34 import com.sun.net.httpserver.HttpExchange;
    35 import com.sun.net.httpserver.HttpHandler;
    35 import com.sun.net.httpserver.HttpHandler;
    47 import java.net.http.HttpRequest.BodyPublishers;
    47 import java.net.http.HttpRequest.BodyPublishers;
    48 import java.net.http.HttpResponse;
    48 import java.net.http.HttpResponse;
    49 import java.net.http.HttpResponse.BodyHandlers;
    49 import java.net.http.HttpResponse.BodyHandlers;
    50 import java.util.List;
    50 import java.util.List;
    51 import javax.net.ssl.SSLContext;
    51 import javax.net.ssl.SSLContext;
    52 import jdk.testlibrary.SimpleSSLContext;
    52 import jdk.test.lib.net.SimpleSSLContext;
    53 import org.testng.annotations.AfterTest;
    53 import org.testng.annotations.AfterTest;
    54 import org.testng.annotations.BeforeTest;
    54 import org.testng.annotations.BeforeTest;
    55 import org.testng.annotations.DataProvider;
    55 import org.testng.annotations.DataProvider;
    56 import org.testng.annotations.Test;
    56 import org.testng.annotations.Test;
    57 import static java.lang.System.out;
    57 import static java.lang.System.out;