public final class WSTXFeature extends AbstractClientFeature
| Modifier and Type | Field and Description |
|---|---|
static String |
DISABLED_VALUE
Value to indicate that WSTXFeature is disabled.
|
static String |
ENABLED_VALUE
Value to indicate that WSTXFeature is enabled.
|
static String |
REQUEST_CONTEXT_KEY
Key to store WSTXFeature's enabled/disabled value in SOAP header.
|
enabled| Constructor and Description |
|---|
WSTXFeature()
Default constructor creates instance of enabled WSTXFeature.
|
WSTXFeature(boolean enabled)
Parametrised constructor creates either enabled or disabled WSTXFeature based on
enabled parameter. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeBindingProvider(BindingProvider bp)
Sets
REQUEST_CONTEXT_KEY value to ENABLED_VALUE if WSTXFeature is enabled. |
getID, initializeisEnabledpublic static final String REQUEST_CONTEXT_KEY
public static final String ENABLED_VALUE
public static final String DISABLED_VALUE
public WSTXFeature()
public WSTXFeature(boolean enabled)
enabled parameter.enabled - true to create enabled WSTXFeature, false to create disabled WSTXFeature.protected void initializeBindingProvider(BindingProvider bp)
REQUEST_CONTEXT_KEY value to ENABLED_VALUE if WSTXFeature is enabled.
Sets REQUEST_CONTEXT_KEY value to DISABLED_VALUE if WSTXFeature is disabled and
REQUEST_CONTEXT_KEY value was not already set by another feature.initializeBindingProvider in class AbstractClientFeaturebp - binding providerCopyright © 2018 JBoss by Red Hat. All rights reserved.