private void reOrganizeRestTransformers(UrlMappingRule rule) {
List<ResultTransformer> transformerList = new LinkedList<>();
if (restTransformer != null) {
transformerList.add(restTransformer);
}
transformerList.add(new DefaultExceptionTransformer());
transformerList.add(defaultRestTransformer);
rule.setResultTransformerList(transformerList);
}