Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Encryption of the HTTP protocol (e.g. not its payload)

All,

I have an embedded server that running a ServletContextHandler. The client and server first exchange a bunch of HTTP 1.1 based messages to negotiate an encryption key, which is subsequently used to encrypt the stream of data that is exchanged. That is, it is not the HTTP payload of subsequent messages that is encrypted, but the complete stream itself is encrypted. e.g. the protocol somehow “morphs” into something “different" using the same TCP port number. How can this be implemented?

 - Customising HttpConnection.parseRequestBuffer()?
 - Adding a Handler before the ServletContextHandler?
 - Customising the HttpParser being used in HttpConnection?
 - Customising ServletOutputStream ?
 - … 

Thanks
Karel.



Back to the top