|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.ws.WebServiceFeature
com.sun.xml.ws.api.client.SelectOptimalEncodingFeature
@ManagedData public class SelectOptimalEncodingFeature
Client side feature to enable or disable the selection of the optimal encoding by the client when sending outbound messages.
The following describes the affects of this feature with respect to being enabled or disabled:
If this feature is not present on a Web service then the default behaviour is equivalent to this feature being present and disabled.
If this feature is enabled by the client and the Service supports the
Fast Infoset encoding, as specified by the FastInfosetFeature
,
and Fast Infoset is determined to be the most optimal encoding, then the
Fast Infoset encoding will be automatically selected by the client.
TODO: Still not sure if a feature is a server side only thing or can also be a client side thing. If the former then this class should be removed.
Field Summary | |
---|---|
static java.lang.String |
ID
Constant value identifying the SelectOptimalEncodingFeature |
Fields inherited from class javax.xml.ws.WebServiceFeature |
---|
enabled |
Constructor Summary | |
---|---|
SelectOptimalEncodingFeature()
Create a SelectOptimalEncodingFeature . |
|
SelectOptimalEncodingFeature(boolean enabled)
Create a SelectOptimalEncodingFeature |
Method Summary | |
---|---|
java.lang.String |
getID()
|
Methods inherited from class javax.xml.ws.WebServiceFeature |
---|
isEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID
SelectOptimalEncodingFeature
Constructor Detail |
---|
public SelectOptimalEncodingFeature()
SelectOptimalEncodingFeature
.
The instance created will be enabled.
public SelectOptimalEncodingFeature(boolean enabled)
SelectOptimalEncodingFeature
enabled
- specifies whether this feature should
be enabled or not.Method Detail |
---|
@ManagedAttribute public java.lang.String getID()
getID
in class WebServiceFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |