@Target(value={TYPE,METHOD,字段}) @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.