Table B.2, “Inbound JAX-WS Interceptors” lists the interceptors added to a JAX-WS endpoint's inbound message chain.
Table B.2. Inbound JAX-WS Interceptors
Class | Phase | Description |
---|---|---|
DispatchInDatabindingInterceptor | READ | Determines if the incoming message is a SOAP message or a plain XML message. Adds the proper interceptors to the endpoint's chain to handle the message. |
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. |
DispatchLogicalHandlerInterceptor | PRE_MARSHAL | Prepares the client runtime to receive a response. If no response is expected it terminates the exchange. |
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. |
DispatchSOAPHandlerInterceptor | USER_PROTOCOL | Sets up the JAX-WS SOAP handlers for execution. |
SOAPHandlerInterceptor | PRE_PROTOCOL | Passes message processing to the JAX-WS SOAP handlers used by the endpoint. The SOAP handlers complete, the message is passed along to the next interceptor in the chain. |
Table B.3, “Outbound JAX-WS Interceptors” lists the interceptors added to a JAX-WS endpoint's outbound message chain.
Table B.3. Outbound JAX-WS Interceptors
Class | Phase | Description |
---|---|---|
DispatchOutDatabindingInterceptor | WRITE | Determines if the outbound message is a SOAP message or a plain XML message. If the message is a SOAP message, it adds a SOAP processing interceptor to the interceptor chain. |
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. |
DispatchLogicalHandlerInterceptor | PRE_MARSHAL | Prepares the client runtime to receive a response. If no response is expected it terminates the exchange. |
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. |
DispatchSOAPHandlerInterceptor | USER_PROTOCOL | Sets up the JAX-WS SOAP handlers for execution. |
SOAPHandlerInterceptor | PRE_PROTOCOL | Passes message processing to the JAX-WS SOAP handlers used by the endpoint. The SOAP handlers complete, the message 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, “Inbound JAX-RS Interceptors” 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. |
The inbound chain for a JAX-RS endpoint skips straight to the
ServiceInvokerInInterceptor
interceptor. No other interceptors will be invoked after the
JAXRSInInterceptor
.
Table B.5, “Outbound JAX-RS Interceptors” 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. |