如何删除restful中的所有响应头(jersey - Spring)

时间:2015-06-24 06:06:39

标签: java spring http-headers jersey-2.0

对于我的restful webservices,我想删除所有响应头。 我尝试使用scope.activeSlide = scope.datasource删除标题。

我发现只有ContainerResponseFilter并且能够删除它。

以下标题仍在内部回复。

Content-Type

我正在使用

1. Date
2. Content-Length
3. #status#
4. Server
5 .X-Powered-By

由于

0 个答案:

没有答案