什么是JAX-WS拦截器(也称为处理程序)? [英] What are JAX-WS Interceptors (also known as handlers)?

查看:216
本文介绍了什么是JAX-WS拦截器(也称为处理程序)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是JAX WS拦截器?我在哪里可以找到有关相同的信息!

What are JAX WS Interceptors? Where do I find info regarding the same!

推荐答案

JAX-WS拦截器(也称为处理程序)用于编织方面请求以透明的方式。这样的示例是日志记录或请求/响应,向消息添加安全头,加密,压缩等。单个拦截器可以操纵消息的逻辑有效载荷(内容)或消息的协议,但不能同时操作。

JAX-WS interceptors (also called handlers) are used to weave in aspects of the request in a transparent way. Example of this are logging or requests/responses, adding security headers to the message, encryption, compression, etc. A single interceptor can manipulate either the logical payload (content) of the message or the protocol of the message, but cannot do both.

请参见此处关于它们的介绍性文件。

See here for the introductory documentation on them.

这篇关于什么是JAX-WS拦截器(也称为处理程序)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆