Package org.apache.cxf.interceptor

## Class AttachmentOutInterceptor

- java.lang.Object
- - org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
  - - org.apache.cxf.interceptor.AttachmentOutInterceptor

- All Implemented Interfaces:
    `Interceptor<Message>`, `PhaseInterceptor<Message>`

      public class AttachmentOutInterceptor
      extends AbstractPhaseInterceptor<Message>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AttachmentOutInterceptor.AttachmentOutEndingInterceptor` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `ATTACHMENT_OUT_CHECKED` |
    `static String` | `WRITE_ATTACHMENTS` |
    `static String` | `WRITE_OPTIONAL_TYPE_PARAMETERS` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AttachmentOutInterceptor()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected String` | `getMultipartType()` |
    `protected Map<String,​List<String>>` | `getRootHeaders()` |
    `void` | `handleMessage​(Message message)` | Intercepts a message.
    `protected boolean` | `writeOptionalTypeParameters()` |

    - ### Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor

      `addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### WRITE_ATTACHMENTS

          public static final String WRITE_ATTACHMENTS

      See Also:
        Constant Field Values

    - #### ATTACHMENT_OUT_CHECKED

          public static final String ATTACHMENT_OUT_CHECKED

      See Also:
        Constant Field Values

    - #### WRITE_OPTIONAL_TYPE_PARAMETERS

          public static final String WRITE_OPTIONAL_TYPE_PARAMETERS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### AttachmentOutInterceptor

          public AttachmentOutInterceptor()

  - ### Method Detail

    - #### handleMessage

          public void handleMessage​(Message message)

      Description copied from interface: `Interceptor`
      Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

    - #### getMultipartType

          protected String getMultipartType()

    - #### writeOptionalTypeParameters

          protected boolean writeOptionalTypeParameters()

    - #### getRootHeaders

          protected Map<String,​List<String>> getRootHeaders()