if( StringUtils.isEmpty(requestEncoding)) {
request.setCharacterEncoding(EncodingUtils.UTF8);
}
response.setCharacterEncoding(EncodingUtils.UTF8);
RequestType type = getFromRequestContentType(request);
processRequest(request, response, type);
}
finally {
detachThreadLocalData();
}