|ECF Rest: Bug 297239 (requestEntity) [message #625019]
||Thu, 14 January 2010 22:18
| Andre Dietisheim
Registered: July 2009
I found some time to hack again today. I catched up with your latest
changes. I therefore dropped my unfinished approach and I try to
concentrate on submitting a patch that brings a mock to ecf.
I had an approach that provided different parameter types (Get-, Post-,
etc.) and double dispatched back to the service. There was pretty much
work ahead an your current implementation (that test by
postRequestType.useRequestEntity()) pretty much fullfills the need.
Just a remark: My impression is that the API is not very fluent so far.
Building a container first, an adapter afterwards, getting the service
and disposing the reference and the container in the end's quite a lot
of work and API). I was thinking about providing simplification. What
about a builder? Any other ideas?
Powered by FUDForum
. Page generated in 0.11126 seconds