public enum TransportAuthenticationStyle extends Enum<TransportAuthenticationStyle>
Java class for TransportAuthenticationStyle.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TransportAuthenticationStyle"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="HTTP_BASIC"/> <enumeration value="HTTP_NTLM"/> <enumeration value="HTTP_DIGEST"/> <enumeration value="OTHER"/> <enumeration value="NA"/> </restriction> </simpleType>
Enum Constant and Description |
---|
HTTP_BASIC |
HTTP_DIGEST |
HTTP_NTLM |
NA
default value
|
OTHER |
Modifier and Type | Method and Description |
---|---|
static TransportAuthenticationStyle |
fromValue(String v) |
String |
value() |
static TransportAuthenticationStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportAuthenticationStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportAuthenticationStyle HTTP_BASIC
public static final TransportAuthenticationStyle HTTP_NTLM
public static final TransportAuthenticationStyle HTTP_DIGEST
public static final TransportAuthenticationStyle OTHER
public static final TransportAuthenticationStyle NA
public static TransportAuthenticationStyle[] values()
for (TransportAuthenticationStyle c : TransportAuthenticationStyle.values()) System.out.println(c);
public static TransportAuthenticationStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static TransportAuthenticationStyle fromValue(String v)
Copyright © 2008–2017 MIL-OSS. All rights reserved.