FileDocCategorySizeDatePackage
MTOM.javaAPI DocJava SE 6 API1480Tue Jun 10 00:27:16 BST 2008javax.xml.ws.soap

MTOM

public class MTOM
This feature represents the use of MTOM with a web service.

The following describes the affects of this feature with respect to being enabled or disabled:

  • ENABLED: In this Mode, MTOM will be enabled.
  • DISABLED: In this Mode, MTOM will be disabled

The {@link #threshold} property can be used to set the threshold value used to determine when binary data should be XOP encoded.

since
JAX-WS 2.1

Fields Summary
Constructors Summary
Methods Summary
booleanenabled()
Specifies if this feature is enabled or disabled.

intthreshold()
Property for MTOM threshold value. When MTOM is enabled, binary data above this size in bytes will be XOP encoded or sent as attachment. The value of this property MUST always be >= 0. Default value is 0.