HttpAuthenticationType Class

public final class HttpAuthenticationType
extends ExpandableStringEnum<HttpAuthenticationType>

The authentication type to be used to connect to the HTTP server.

Field Summary

Modifier and Type Field and Description
static final HttpAuthenticationType ANONYMOUS

Static value Anonymous for HttpAuthenticationType.

static final HttpAuthenticationType BASIC

Static value Basic for HttpAuthenticationType.

static final HttpAuthenticationType CLIENT_CERTIFICATE

Static value ClientCertificate for HttpAuthenticationType.

static final HttpAuthenticationType DIGEST

Static value Digest for HttpAuthenticationType.

static final HttpAuthenticationType WINDOWS

Static value Windows for HttpAuthenticationType.

Constructor Summary

Constructor Description
HttpAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HttpAuthenticationType value.

Method Summary

Modifier and Type Method and Description
static HttpAuthenticationType fromString(String name)

Creates or finds a HttpAuthenticationType from its string representation.

static Collection<HttpAuthenticationType> values()

Gets known HttpAuthenticationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANONYMOUS

public static final HttpAuthenticationType ANONYMOUS

Static value Anonymous for HttpAuthenticationType.

BASIC

public static final HttpAuthenticationType BASIC

Static value Basic for HttpAuthenticationType.

CLIENT_CERTIFICATE

public static final HttpAuthenticationType CLIENT_CERTIFICATE

Static value ClientCertificate for HttpAuthenticationType.

DIGEST

public static final HttpAuthenticationType DIGEST

Static value Digest for HttpAuthenticationType.

WINDOWS

public static final HttpAuthenticationType WINDOWS

Static value Windows for HttpAuthenticationType.

Constructor Details

HttpAuthenticationType

@Deprecated
public HttpAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HttpAuthenticationType value.

Method Details

fromString

public static HttpAuthenticationType fromString(String name)

Creates or finds a HttpAuthenticationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HttpAuthenticationType.

values

public static Collection<HttpAuthenticationType> values()

Gets known HttpAuthenticationType values.

Returns:

known HttpAuthenticationType values.

Applies to