WebService是无法直接把接口当作参数的,调用回报错jarx无法解析接口类型所以获取HttpServletResponse需要其他方法
Message msg1 = PhaseInterceptorChain.getCurrentMessage();
HttpServletResponse response = (HttpServletResponse)msg1.get(AbstractHTTPDestination.HTTP_RESPONSE);
WebService是无法直接把接口当作参数的,调用回报错jarx无法解析接口类型所以获取HttpServletResponse需要其他方法
Message msg1 = PhaseInterceptorChain.getCurrentMessage();
HttpServletResponse response = (HttpServletResponse)msg1.get(AbstractHTTPDestination.HTTP_RESPONSE);