public static enum AddressingFeature.Responses extends Enum<AddressingFeature.Responses>
ALL
支持所有响应类型,这是默认值。
ANONYMOUS
要求仅使用匿名响应。 这将导致在生成的WSDL中的3.1.2 AnonymousResponses Assertion中指定的wsam:AnonymousResponses嵌套断言。
NON_ANONYMOUS
要求仅使用非匿名响应。 这将导致在生成的WSDL中的3.1.3 NonAnonymousResponses Assertion中指定的wsam:NonAnonymousResponses嵌套断言。
Enum Constant and Description |
---|
ALL
支持所有的响应类型,这是默认值
|
ANONYMOUS
指定仅使用匿名响应。
|
NON_ANONYMOUS
指定仅使用非匿名响应。
|
Modifier and Type | Method and Description |
---|---|
static AddressingFeature.Responses |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static AddressingFeature.Responses[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final AddressingFeature.Responses ANONYMOUS
public static final AddressingFeature.Responses NON_ANONYMOUS
public static final AddressingFeature.Responses ALL
public static AddressingFeature.Responses[] values()
for (AddressingFeature.Responses c : AddressingFeature.Responses.values())
System.out.println(c);
public static AddressingFeature.Responses valueOf(String name)
name
- 要返回的枚举常量的名称。
IllegalArgumentException
- 如果此枚举类型没有指定名称的常量
NullPointerException
- if the argument is null
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.