playframework/Play20 — pull request #555 by bblfish (2012-11-19 20:00:18+00:00)
Title: making WS flexible and allowing SSL setup of WithServer

1. WithServer could not be made to start an SSL port
2. the current WS does not give one all the flexibility that the underlying async-http framework gives one.

I fixed 1. I think that clearly makes sense.

I fixed 2 by creating a WS class so that one can set subclasses that set the client. This would allow one for example to have different WS clients with different sets of client certificates for example, so that one could have different agents connecting to remote servers. It also allows a lot more flexibility in seting WS:
for example it makes it easy to create a WSTest that would ignore the server certificates - usually that is completely unimportant as test servers create them on the fly.