}
protected Response handleResponse(Message outMessage, Class<?> responseClass, Type genericType) {
try {
ResponseBuilder rb = setResponseBuilder(outMessage, outMessage.getExchange());
Response currentResponse = rb.clone().build();
Object entity = readBody(currentResponse, outMessage, responseClass, genericType,
new Annotation[]{});
rb = JAXRSUtils.fromResponse(currentResponse);
rb.entity(entity instanceof Response