|
|
@ -47,6 +47,9 @@ public class EpmetBaseRequestInterceptor implements RequestInterceptor { |
|
|
|
HashMap<String, String> headers = new HashMap<>(); |
|
|
|
|
|
|
|
RequestAttributes requestAttributes = RequestContextHolder.getRequestAttributes(); |
|
|
|
if (requestAttributes == null) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) requestAttributes).getRequest(); |
|
|
|
Enumeration<String> headerNames = request.getHeaderNames(); |
|
|
|
if (headerNames != null) { |
|
|
|