此内容没有您所选择的语言版本。

G.2. Front-Ends


JAX-WS

Table G.2, “Inbound JAX-WS interceptors” lists the interceptors added to a JAX-WS endpoint's inbound message chain.
Table G.2. Inbound JAX-WS interceptors
ClassPhaseDescription
HolderInInterceptorPRE_INVOKECreates holder objects for any out or in/out parameters in the message.
WrapperClassInInterceptorPOST_LOGICALUnwraps the parts of a wrapped doc/literal message into the appropriate array of objects.
LogicalHandlerInInterceptorPRE_PROTOCOLPasses message processing to the JAX-WS logical handlers used by the endpoint. When the JAX-WS handlers complete, the message is passed along to the next interceptor on the inbound chain.
SOAPHandlerInterceptorPRE_PROTOCOLPasses message processing to the JAX-WS SOAP handlers used by the endpoint. When the SOAP handlers finish with the message, the message is passed along to the next interceptor in the chain.
Table G.3, “Outbound JAX-WS interceptors” lists the interceptors added to a JAX-WS endpoint's outbound message chain.
Table G.3. Outbound JAX-WS interceptors
ClassPhaseDescription
HolderOutInterceptorPRE_LOGICALRemoves the values of any out and in/out parameters from their holder objects and adds the values to the message's parameter list.
WebFaultOutInterceptorPRE_PROTOCOLProcesses outbound fault messages.
WrapperClassOutInterceptorPRE_LOGICALMakes sure that wrapped doc/literal messages and rpc/literal messages are properly wrapped before being added to the message.
LogicalHandlerOutInterceptorPRE_MARSHALPasses message processing to the JAX-WS logical handlers used by the endpoint. When the JAX-WS handlers complete, the message is passed along to the next interceptor on the outbound chain.
SOAPHandlerInterceptorPRE_PROTOCOLPasses message processing to the JAX-WS SOAP handlers used by the endpoint. When the SOAP handlers finish processing the message, it is passed along to the next interceptor in the chain.
MessageSenderInterceptorPREPARE_SENDCalls back to the Destination object to have it setup the output streams, headers, etc. to prepare the outgoing transport.

JAX-RS

Table G.4, “Inbound JAX-RS interceptors” lists the interceptors added to a JAX-RS endpoint's inbound message chain.
Table G.4. Inbound JAX-RS interceptors
ClassPhaseDescription
JAXRSInInterceptorPRE_STREAMSelects the root resource class, invokes any configured JAX-RS request filters, and determines the method to invoke on the root resource.
Important
The inbound chain for a JAX-RS endpoint skips straight to the ServiceInvokerInInterceptor interceptor. No other interceptors will be invoked after the JAXRSInInterceptor.
Table G.5, “Outbound JAX-RS interceptors” lists the interceptors added to a JAX-RS endpoint's outbound message chain.
Table G.5. Outbound JAX-RS interceptors
ClassPhaseDescription
JAXRSOutInterceptorMARSHALMarshals the response into the proper format for transmission.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.