Class GenericResponseBuilder

java.lang.Object
org.chenile.core.interceptors.BaseChenileInterceptor
org.chenile.core.interceptors.GenericResponseBuilder
All Implemented Interfaces:
Command<ChenileExchange>

public class GenericResponseBuilder extends BaseChenileInterceptor
Constructs a generic response from the response and exception that has been thrown.
This also sets the Http Status and warnings in the exchange so that the HTTP controller can access them directly from exchange.
Author:
Raja Shankar Kolluru