commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <>
Subject Re: [proxy] Refactoring Stub Support...
Date Sat, 27 Jul 2013 16:16:02 GMT
I have created

to track the progress of this issue.  I have already checked in some
code into the branch.

On Sat, Jul 27, 2013 at 9:54 AM, James Carman
<> wrote:
> On Sat, Jul 27, 2013 at 9:44 AM, Romain Manni-Bucau
> <> wrote:
>> Hi
>> Isnt it a particular kind of interceptor/handler (CompositeInterceptor)? So
>> does it need so much details?
> Well, the idea behind "stubbing" is that we would be specifying
> behavior for very specific method invocation cases (such as only a
> single method or only when the parameters match certain values).  If
> we introduce the abstractions I'm suggesting, we can handle these
> cases and many more.  I don't know if we need the Response concept,
> since the interface exactly matches the Interceptor interface.
> Perhaps we call the new class ConditionalInterceptor and you register
> InvocationMatcher/Interceptor pairs just so we don't have to re-invent
> the wheel.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message