WSAContextUtils (Apache CXF API 2.7.0.redhat-611445 API)

org.apache.cxf.ws.addressing

## Class WSAContextUtils

- java.lang.Object
- - org.apache.cxf.ws.addressing.WSAContextUtils

-     public final class WSAContextUtils
      extends Object

  Holder for utility methods relating to contexts.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `REPLYTO_PROPERTY`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static EndpointReferenceType` | `retrieveTo(Conduit conduit, Message message)` Retrieve To EPR from the context.
    `static boolean` | `retrieveUsingAddressing(Message message)` Retrieve UsingAddressing override flag from the context
    `static void` | `storeTo(EndpointReferenceType to, Message message)` Store To EPR in the context
    `static void` | `storeUsingAddressing(boolean override, Message message)` Store UsingAddressing override flag in the context

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

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

- - ### Field Detail

    - #### REPLYTO_PROPERTY

          public static final String REPLYTO_PROPERTY

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### storeUsingAddressing

          public static void storeUsingAddressing(boolean override,
                                  Message message)

      Store UsingAddressing override flag in the context
      Parameters:
        `override` - true if UsingAddressing should be overridden
        `message` - the current message

    - #### retrieveUsingAddressing

          public static boolean retrieveUsingAddressing(Message message)

      Retrieve UsingAddressing override flag from the context
      Parameters:
        `message` - the current message
      Returns:
        true if UsingAddressing should be overridden

    - #### storeTo

          public static void storeTo(EndpointReferenceType to,
                     Message message)

      Store To EPR in the context
      Parameters:
        `to` - the To EPR
        `message` - the current message

    - #### retrieveTo

          public static EndpointReferenceType retrieveTo(Conduit conduit,
                                         Message message)

      Retrieve To EPR from the context.
      Parameters:
        `conduit` - the Conduit if available
        `message` - the current message
      Returns:
        the retrieved EPR

Apache CXF