Examples of IHttpClientEndpoint


Examples of org.xlightweb.client.IHttpClientEndpoint

    Assert.assertEquals(302, response.getStatus());
  }
 
  @Test
  public void testLiveGet2() throws Exception {
    IHttpClientEndpoint httpClient = new HttpClient();
 
    IHttpResponse response = httpClient.call(new GetRequest("http://xlightweb.org"));
    Assert.assertEquals(301, response.getStatus());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.