Hi, You could try to register a custom interceptor in both in and out chain and maintain an internal state in the object. The interceptor would be called twice per request / response.
André Costa Lima 2015-01-30 4:52 GMT+00:00 <[email protected]>: > I want to intercept the "in" and "out" of the logging phase, and log them > together, with summary information. For example I want this to be my > logged entry: > > REQUEST: > Show the "out" payload. > RESPONSE: > Show the "in" payload > Elapsed time: xxxx Endpoint: https://xxxx > So using the LoggingInInterceptor / LoggingOutInterceptor, could I create > my own implementation where the state of the request (outgoing) would be > maintained so that I could log both the request and response at once (along > with elapsed time)? > > Brian Wood > SVP Web Developer > 408-763-6124 > This message may contain confidential and/or privileged information. If > you are not the addressee or authorized to receive this for the addressee, > you must not use, copy, disclose, or take any action based on this message > or any information herein. If you have received this message in error, > please advise the sender immediately by reply e-mail and delete this > message. Thank you for your cooperation. > > > >
