use of io.vertx.core.http.RequestOptions in project vert.x by eclipse.
the class Http1xTLSTest method testClearClientRequestOptionsSetClear.
@Test
public // Client trusts all server certs
void testClearClientRequestOptionsSetClear() throws Exception {
RequestOptions options = new RequestOptions().setHost(DEFAULT_HTTP_HOST).setURI(DEFAULT_TEST_URI).setPort(4043).setSsl(false);
testTLS(Cert.NONE, Trust.SERVER_JKS, Cert.SERVER_JKS, Trust.NONE).clientSSL(false).serverSSL(false).requestOptions(options).pass();
}
Aggregations