Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.interceptor
Interface Interceptor<T extends Message>

All Known Subinterfaces:
  PhaseInterceptor<T>

All Known Implementing Classes:
  AbstractPhaseInterceptor

    public interface Interceptor<T extends Message>

Method Summary
`void` | `handleFault(T message)` Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
`void` | `handleMessage(T message)` Intercepts a message.

Method Detail

### handleMessage

    void handleMessage(T message)
                       throws Fault

  Intercepts a message. Interceptors need NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

  Parameters:
    `message` -
  Throws:
    `Fault`

### handleFault

    void handleFault(T message)

  Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.

  Parameters:
    `message` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.