rom-http icon indicating copy to clipboard operation
rom-http copied to clipboard

Override response handlers

Open cflipse opened this issue 8 years ago • 2 comments

different HTTP methods are going to have different needs from their response handlers; it should be easy to select a separate response handler to use, so that the same call method doesn't have to handle both DELETE and GET responses.

cflipse avatar Feb 10 '16 15:02 cflipse

@cflipse is this still needed?

solnic avatar Apr 28 '19 10:04 solnic

@solnic I don't think this is needed, I had a similar case when developing a PoC a few years back and just handed off to another class based on the verb in my adapters request/response handlers, this also allows you to do any processing that is common to all requests before handing off to dependencies.

AMHOL avatar Apr 28 '19 11:04 AMHOL