Module com.sun.xml.ws
Package com.sun.xml.ws.encoding.policy
Class SelectOptimalEncodingFeatureConfigurator
java.lang.Object
com.sun.xml.ws.encoding.policy.SelectOptimalEncodingFeatureConfigurator
- All Implemented Interfaces:
PolicyFeatureConfigurator
public class SelectOptimalEncodingFeatureConfigurator
extends Object
implements PolicyFeatureConfigurator
A configurator provider for FastInfoset policy assertions.
- Author:
- [email protected], Fabian Ritzmann
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<jakarta.xml.ws.WebServiceFeature>
getFeatures
(PolicyMapKey key, PolicyMap policyMap) Process SelectOptimalEncoding policy assertions.
-
Field Details
-
enabled
-
-
Constructor Details
-
SelectOptimalEncodingFeatureConfigurator
public SelectOptimalEncodingFeatureConfigurator()Default constructor.
-
-
Method Details
-
getFeatures
public Collection<jakarta.xml.ws.WebServiceFeature> getFeatures(PolicyMapKey key, PolicyMap policyMap) throws PolicyException Process SelectOptimalEncoding policy assertions.- Specified by:
getFeatures
in interfacePolicyFeatureConfigurator
- Parameters:
key
- Key that identifies the endpoint scope.policyMap
- The policy map.- Returns:
- A list of features that correspond to the policy identified by the policy map key. May be empty but not null.
- Throws:
PolicyException
- If retrieving the policy triggered an exception.
-