Class ResponseBodyTypeSelector

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

public class ResponseBodyTypeSelector extends BaseChenileInterceptor
This class calculates the correct type for the response body. It will be of type GenericResponse where T is the return type of the underlying service. The underlying service return type can be represented as a ParameterizedType of as a Class object, The treatment differs depending on what got specified
  • Constructor Details

    • ResponseBodyTypeSelector

      public ResponseBodyTypeSelector()
  • Method Details