I have embedded the Jetty server in my application. In my application, I can read the encrypted set that it matched by reading the javax.servlet.request.cipher_suiterequest attributes. Now I want to check if my clients use TLSv1.0, TLSv.1.1 or TLSv.1.2. If I enable SSL debugging, I can see it on the console:
qtp2819825-43, WRITE: TLSv1.2 Application Data, length = 8038
But how can I read it in mine handler()?
I have studied both org.eclipse.jetty.server.Request, and javax.servlet.http.HttpServletRequest. There is a method getProtocol(), but it returns HTTP/1.1.
source
share