public static enum AddressingFeature.Responses extends Enum<AddressingFeature.Responses>
ALL支持所有反应类型,这是默认值。
ANONYMOUS要求只能使用匿名的反应。这将导致基于:AnonymousResponses断言为嵌套在指定生成的WSDL 3.1.2 AnonymousResponses Assertion。
NON_ANONYMOUS要求只能使用非匿名的反应。它将带来方便nonanonymousresponses嵌套的断言在生成的WSDL在 3.1.3 NonAnonymousResponses Assertion指定。
| 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()
对于(addressingfeature.responses C:addressingfeature。反应。values()) 系统,println(C);
public static AddressingFeature.Responses valueOf(String name)
name -定要返回的枚举的名称。
IllegalArgumentException -如果这个枚举类型,也没有固定的具有指定名称
NullPointerException -如果参数为空
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.