Annotation Type ServiceMode
@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface ServiceMode
Used to indicate whether a Provider
implementation wishes to work with entire protocol messages or just with protocol message payloads.
- Since:
- JAX-WS 2.0
Optional Elements
Modifier and Type | Optional Element and Description |
---|---|
Service.Mode |
value Service mode. |
Elements
value
public abstract Service.Mode value
Service mode. PAYLOAD
indicates that the Provider
implementation wishes to work with protocol message payloads only. MESSAGE
indicates that the Provider
implementation wishes to work with entire protocol messages.
- Default:
- javax.xml.ws.Service.Mode.PAYLOAD
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/xml/ws/ServiceMode.html