javax.xml.ws.soap
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @WebServiceFeatureAnnotation(id="http://www.w3.org/2004/08/soap/features/http-optimization", bean=MTOMFeature.class) public @interface MTOM
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.
public abstract boolean enabled
public abstract int threshold
Submit a bug or feature Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.