javax.xml.ws.Dispatch instances on the client side and Endpoint
instances on the server side. This feature cannot be used for Service
instance creation on the client side.
The following describes the affects of this feature with respect to being enabled or disabled:
The threshold property can be used to set the threshold
value used to determine when binary data should be XOP encoded.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ID
Constant value identifying the MTOMFeature |
| protected int | threshold
Property for MTOM threshold value. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | MTOMFeature(boolean
specifies if this feature should be enabled or not enabled)Creates a |
| public | MTOMFeature(int
the size in bytes that binary data SHOULD be before
being sent as an attachment. threshold)Creates a |
| public | MTOMFeature(boolean
specifies if this feature should be enabled or not enabled, int the size in bytes that binary data SHOULD be before
being sent as an attachment. threshold)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public String | getID()
Implements abstract javax. |
| public int | Returns: the current threshold size in bytesGets the threshold value used to determine when binary data should be sent as an attachment. |
| ID | back to summary |
|---|---|
| public static final String ID Constant value identifying the MTOMFeature | |
| threshold | back to summary |
|---|---|
| protected int threshold Property for MTOM threshold value. This property serves as a hint when MTOM is enabled, binary data above this size in bytes SHOULD be sent as attachment. The value of this property MUST always be >= 0. Default value is 0. | |
| MTOMFeature | back to summary |
|---|---|
| public MTOMFeature() Create an | |
| MTOMFeature | back to summary |
|---|---|
| public MTOMFeature(boolean enabled) Creates a
| |
| MTOMFeature | back to summary |
|---|---|
| public MTOMFeature(int threshold) Creates a
| |
| MTOMFeature | back to summary |
|---|---|
| public MTOMFeature(boolean enabled, int threshold) Creates a
| |
| getID | back to summary |
|---|---|
| public String getID() Implements abstract javax. Doc from javax. Get the unique identifier for this WebServiceFeature.
| |
| getThreshold | back to summary |
|---|---|
| public int getThreshold() Gets the threshold value used to determine when binary data should be sent as an attachment.
| |