@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) @Documented @WebServiceFeatureAnnotation(id="http://www.w3.org/2004/08/soap/features/http-optimization", bean=MTOMFeature.class) public @interface MTOM
这个注释必须配合使用的javax.jws.WebService
,WebServiceProvider
,WebServiceRef
注释。当与javax.jws.WebService
注释本注释只能用于服务端点实现类。当使用一个WebServiceRef
注释,该注释必须使用一个代理实例被创建时。注入的SEI代理端点必须尊重的MTOM
标注值。
这个注释的行为是由相应的特征MTOMFeature
定义。
Submit a bug or feature
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.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.