Package org.elasticsearch.hadoop.rest

Examples of org.elasticsearch.hadoop.rest.SimpleRequest


    @Test
    public void testBasicSSLHandshake() throws Exception {
    String uri = "localhost:" + SSL_PORT;
        String path = "/basicSSL";
        Request req = new SimpleRequest(Method.GET, uri, path);

        Response execute = transport.execute(req);
    String content = IOUtils.asString(execute.body());
    assertEquals(path, content);
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.hadoop.rest.SimpleRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.