Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty and Http 1.1 upgrade header

Thanks Simon.

I've looked through the classes and how possibly the "upgrade" could work.
However I'm not sure this is the right way of doing things.
I would:

- check for "Upgrade" header in Servlet's service() method
- if "Upgrade" create a SslConnection
- send a "101 Switching Protocol" response
- change the connection object via:
request.setAttribute("", sslConnection)

Would this be a viable route?
Would Jetty handle everything from there on for me?


View this message in context:
Sent from the Jetty User mailing list archive at

Back to the top