Home Jersey client log HTTP version used
Reply: 0

Jersey client log HTTP version used

user569 Published in July 16, 2018, 6:33 am

Testing out connection reuse with http1.1 and http1.0 keep-alive on a service over HTTPS using the jersey client. I have logging enabled on the jersey client:

Client client = ClientBuilder.newClient(new ClientConfig().register( LoggingFilter.class));

Also have SSL debugging enabled using the property option: -Djavax.net.debug=ssl

This gives quite a lot of info, but jersey doesn't log the HTTP version used (i.e. if it's actually using HTTP1.0 or HTTP1.1). Is there some way to get this logged out?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.30879 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO