Package jakarta.xml.ws.soap
Enum Class AddressingFeature.Responses
- All Implemented Interfaces:
Serializable
,Comparable<AddressingFeature.Responses>
,Constable
- Enclosing class:
- AddressingFeature
If addressing is enabled, this property determines if endpoint requires
the use of only anonymous responses, or only non-anonymous responses, or all.
ALL
supports all response types and this is the default
value.
ANONYMOUS
requires the use of only anonymous
responses. It will result into wsam:AnonymousResponses nested assertion
as specified in
3.1.2 AnonymousResponses Assertion in the generated WSDL.
NON_ANONYMOUS
requires the use of only non-anonymous
responses. It will result into
wsam:NonAnonymousResponses nested assertion as specified in
3.1.3 NonAnonymousResponses Assertion in the generated WSDL.
- Since:
- 1.7, JAX-WS 2.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSupports all response types and this is the defaultSpecifies the use of only anonymous responses.Specifies the use of only non-anonymous responses. -
Method Summary
Modifier and TypeMethodDescriptionstatic AddressingFeature.Responses
Returns the enum constant of this class with the specified name.static AddressingFeature.Responses[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANONYMOUS
Specifies the use of only anonymous responses. It will result into wsam:AnonymousResponses nested assertion as specified in 3.1.2 AnonymousResponses Assertion in the generated WSDL. -
NON_ANONYMOUS
Specifies the use of only non-anonymous responses. It will result into wsam:NonAnonymousResponses nested assertion as specified in 3.1.3 NonAnonymousResponses Assertion in the generated WSDL. -
ALL
Supports all response types and this is the default
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-