< prev index next >

src/java.xml.ws/share/classes/javax/xml/ws/soap/MTOM.java

Print this page

        

*** 38,55 **** /** * This feature represents the use of MTOM with a * web service. * <p> * This annotation MUST only be used in conjunction the ! * <code>javax.jws.WebService</code>, {@link WebServiceProvider}, * {@link WebServiceRef} annotations. ! * When used with the <code>javax.jws.WebService</code> annotation this * annotation MUST only be used on the service endpoint implementation * class. ! * When used with a <code>WebServiceRef</code> annotation, this annotation * MUST only be used when a proxy instance is created. The injected SEI ! * proxy, and endpoint MUST honor the values of the <code>MTOM</code> * annotation. * <p> * * This annotation's behaviour is defined by the corresponding feature * {@link MTOMFeature}. --- 38,55 ---- /** * This feature represents the use of MTOM with a * web service. * <p> * This annotation MUST only be used in conjunction the ! * {@code javax.jws.WebService}, {@link WebServiceProvider}, * {@link WebServiceRef} annotations. ! * When used with the {@code javax.jws.WebService} annotation this * annotation MUST only be used on the service endpoint implementation * class. ! * When used with a {@code WebServiceRef} annotation, this annotation * MUST only be used when a proxy instance is created. The injected SEI ! * proxy, and endpoint MUST honor the values of the {@code MTOM} * annotation. * <p> * * This annotation's behaviour is defined by the corresponding feature * {@link MTOMFeature}.
*** 67,75 **** boolean enabled() default true; /** * 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. */ int threshold() default 0; } --- 67,75 ---- boolean enabled() default true; /** * 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 {@literal >=} 0. Default value is 0. */ int threshold() default 0; }
< prev index next >