I do manage to establish a connection; i get a call to
HttpRequestExecutionHandler.submitRequest(...) and if I, for testing
I return a request there it sends it, nice.
However when I establish this connection I do not know yet the requests
I will have to send, so I have to return null in submitRequest(...);
then submitRequest() isn't called anymore by the lower layers.
My problem is that I did not find how to trigger that event latter
in order to send my requests once I know what they are. Or any other
way to send requests when "I" want to.
I don't know if I'm going the wrong way (not using the right classes?)
or if it is in fact something that is not that simple.