Java SDK 1.1.1
jeffomatic
released this
03 Mar 21:56
·
43 commits
to 1.1-stable
since this release
Trusted SSL certs
You can now specify trusted server SSL certificates via a PEM-encoded file:
Client client = new Client.Builder()
.setURL("https://example:443")
.setTrustedCerts("path/to/certs.pem")
.build();
Request logging
To log requests, pass an OutputStream
to the client builder:
OutputStream os = System.out;
Client client = new Client.Builder()
.setLogger(os)
.setLogLevel(LoggingInterceptor.Level.ALL)
.build();