This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.ws.soap
annotation MTOM

java.lang.annotation.Annotation extended by javax.xml.ws.soap.MTOM

public interface annotation MTOM
extends Annotation

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:

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


Method Summary
 boolean

          Specifies if this feature is enabled or disabled.
 int

          Property for MTOM threshold value.
 
Methods inherited from class java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
 

Method Detail

enabled

public boolean enabled()
Specifies if this feature is enabled or disabled.


threshold

public int threshold()
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.



This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.