Table B.2 lists the interceptors added to a JAX-WS endpoint's inbound message chain.
Table B.2. Inbound JAX-WS interceptors
Class | Phase | Description |
---|---|---|
HolderInInterceptor | PRE_INVOKE | Creates holder objects for any out or in/out parameters in the message. |
WrapperClassInInterceptor | POST_LOGICAL | Unwraps the parts of a wrapped doc/literal message into the appropriate array of objects. |
LogicalHandlerInInterceptor | PRE_PROTOCOL | Passes 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. |
SOAPHandlerInterceptor | PRE_PROTOCOL | Passes 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 B.3 lists the interceptors added to a JAX-WS endpoint's outbound message chain.
Table B.3. Outbound JAX-WS interceptors
Class | Phase | Description |
---|---|---|
HolderOutInterceptor | PRE_LOGICAL | Removes the values of any out and in/out parameters from their holder objects and adds the values to the message's parameter list. |
WebFaultOutInterceptor | PRE_PROTOCOL | Processes outbound fault messages. |
WrapperClassOutInterceptor | PRE_LOGICAL | Makes sure that wrapped doc/literal messages and rpc/literal messages are properly wrapped before being added to the message. |
LogicalHandlerOutInterceptor | PRE_MARSHAL | Passes 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. |
SOAPHandlerInterceptor | PRE_PROTOCOL | Passes 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. |
MessageSenderInterceptor | PREPARE_SEND | Calls back to the Destination object to have it setup the output streams, headers, etc. to prepare the outgoing transport. |
Table B.4 lists the interceptors added to a JAX-RS endpoint's inbound message chain.
Table B.4. Inbound JAX-RS interceptors
Class | Phase | Description |
---|---|---|
JAXRSInInterceptor | PRE_STREAM | Selects 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
|
Table B.5 lists the interceptors added to a JAX-RS endpoint's outbound message chain.
Table B.5. Outbound JAX-RS interceptors
Class | Phase | Description |
---|---|---|
JAXRSOutInterceptor | MARSHAL | Marshals the response into the proper format for transmission. |