Open kalungedamaji opened 2 weeks ago
we added interceptor to intercept the request and response and need to get the response body in string format How should I access the response body.
class RequestResponseInterceptor(private val messageSender: AuditMessageSender) : HandlerInterceptor { override fun afterCompletion(request: HttpServletRequest, response: HttpServletResponse, handler: Any, ex: Exception?) { } }
we added interceptor to intercept the request and response and need to get the response body in string format How should I access the response body.