So I've managed to expend my client code to support proxy and SSL.
Now I need to make them work with a redirect.
My queries are all failing with a status 301 (both POST and GET)
What do I need to do to make sure the redirect is followed?
Here's an example of my call
ResteasyClientBuilder rsb = new ResteasyClientBuilder();
rsb.defaultProxy("myproxy",80,"http");
SSLContext ctx = getSSLContext();
rsb.sslContext(ctx);
ResteasyClient rsc = rsb.build();
ResteasyWebTarget target = rsc.target(BASEURL);
RiskScapeLicenseService client =
target.proxy(RiskScapeLicenseService.class);
Response response = client.licenseRequest(……);
Thanx
Gaby
--
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric
Research Ltd.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users