WSAddressingFeature (Apache CXF JavaDoc 4.1.6 API)
Description: declaration: package: org.apache.cxf.ws.addressing, class: WSAddressingFeature

Package org.apache.cxf.ws.addressing

# Class WSAddressingFeature

java.lang.Object
jakarta.xml.ws.WebServiceFeature
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.ws.addressing.WSAddressingFeature

All Implemented Interfaces:
  `AbstractPortableFeature`, `Feature`

public class WSAddressingFeature extends AbstractFeature

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `WSAddressingFeature.AddressingResponses`
  `static interface`
  `WSAddressingFeature.WSAddressingFeatureApplier`

- ## Field Summary

  ### Fields inherited from class jakarta.xml.ws.WebServiceFeature

  `enabled`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WSAddressingFeature()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MessageIdCache`
  `getMessageIdCache()`
  Returns the cache used to enforce duplicate message IDs when `isAllowDuplicates()` returns `false`.
  `WSAddressingFeature.AddressingResponses`
  `getResponses()`
  `protected void`
  `initializeProvider(InterceptorProvider provider, Bus bus)`
  `boolean`
  `isAddressingRequired()`
  `boolean`
  `isAllowDuplicates()`
  `boolean`
  `isUsingAddressingAdvisory()`
  `void`
  `setAddressingRequired(boolean r)`
  `void`
  `setAllowDuplicates(boolean allow)`
  `void`
  `setMessageIdCache(MessageIdCache messageIdCache)`
  Sets the cache used to enforce duplicate message IDs when `isAllowDuplicates()` returns `false`.
  `void`
  `setResponses(String r)`
  `void`
  `setResponses(WSAddressingFeature.AddressingResponses r)`
  `void`
  `setUsingAddressingAdvisory(boolean advisory)`

  ### Methods inherited from class org.apache.cxf.feature.AbstractFeature

  `doInitializeProvider, getActive, getID, isEnabled`

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

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

  ### Methods inherited from interface org.apache.cxf.feature.AbstractPortableFeature

  `initialize, initialize, initialize, initialize`

- ## Constructor Details

  - ### WSAddressingFeature

    public WSAddressingFeature()

- ## Method Details

  - ### initializeProvider

    protected void initializeProvider(InterceptorProvider provider, Bus bus)
    Overrides:
      `initializeProvider` in class `AbstractFeature`

  - ### setAllowDuplicates

    public void setAllowDuplicates(boolean allow)

  - ### isAllowDuplicates

    public boolean isAllowDuplicates()

  - ### setUsingAddressingAdvisory

    public void setUsingAddressingAdvisory(boolean advisory)

  - ### isUsingAddressingAdvisory

    public boolean isUsingAddressingAdvisory()

  - ### isAddressingRequired

    public boolean isAddressingRequired()

  - ### setAddressingRequired

    public void setAddressingRequired(boolean r)

  - ### getMessageIdCache

    public MessageIdCache getMessageIdCache()
    Returns the cache used to enforce duplicate message IDs when `isAllowDuplicates()` returns `false`.
    Returns:
      the cache used to enforce duplicate message IDs

  - ### setMessageIdCache

    public void setMessageIdCache(MessageIdCache messageIdCache)
    Sets the cache used to enforce duplicate message IDs when `isAllowDuplicates()` returns `false`.
    Parameters:
      `messageIdCache` - the cache to use
    Throws:
      `NullPointerException` - if `messageIdCache` is `null`

  - ### setResponses

    public void setResponses(WSAddressingFeature.AddressingResponses r)

  - ### setResponses

    public void setResponses(String r)

  - ### getResponses

    public WSAddressingFeature.AddressingResponses getResponses()