private Object read(IncomingRequest request, HttpMessageConverter<Object> converter, RootResourceInformation information) { try { return converter.read(information.getDomainType(), request.getServerHttpRequest()); } catch (IOException o_O) { throw new HttpMessageNotReadableException(String.format(ERROR_MESSAGE, information.getDomainType()), o_O); } } }
private Object read(IncomingRequest request, HttpMessageConverter<Object> converter, RootResourceInformation information) { try { return converter.read(information.getDomainType(), request.getServerHttpRequest()); } catch (IOException o_O) { throw new HttpMessageNotReadableException(String.format(ERROR_MESSAGE, information.getDomainType()), o_O); } } }