> On Dec 17, 2015, at 10:39 AM, Andrus Adamchik <and...@objectstyle.org> wrote:
> 
> I guess what you are proposing is splitting ClientConnection into a 2-part 
> stack:
> 
> Serialization Handler (Objects in / Objects out) -> Binary Protocol Adapter 
> (Stream in / Stream out) ?

I was thinking about this design some more.. This isolation between wire 
protocol and serialization layer sounds great at some level, but has 
significant drawbacks too. It would prevent us from building a truly RESTful 
service, as serializer can't manipulate URL, headers or access media type 
information. Treating the underlying HTTP as blackbox was the mistake SOAP made 
back in the day, which caused its undoing. So I am not sure we want to go this 
route. 

Thoughts?

Andrus 

Reply via email to