String contentType = wrapper.getContentType();
if (!StringUtils.hasLength(contentType)) {
contentType = response.getContentType();
}
return new PageInfo(wrapper.getStatus(), contentType, out.toByteArray(),
false, timeToLiveSeconds, wrapper.getAllHeaders(), wrapper.getCookies(), cacheableRequestAttributes);
}
protected List<String> toList(Enumeration<String> e) {
List<String> list = new ArrayList<String>();