I propose adding methods for handling exceptions, status code and headers as separate events, which would let users to
do some early decisions without a need to consume the response entity. BasicExamples.advancedAsyncCallback() illustrates
the intended usage:
Also, since the InvocationCallback interface grew in number of declared methods, I introduced the
AbstractInvocationCallback class to be used in simple scenarios that do not need to process the extra events: