Compartir a través de


EndpointAccess Class

public final class EndpointAccess
extends ExpandableStringEnum<EndpointAccess>

This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.

Field Summary

Modifier and Type Field and Description
static final EndpointAccess ALLOW

Static value Allow for EndpointAccess.

static final EndpointAccess DENY

Static value Deny for EndpointAccess.

Constructor Summary

Constructor Description
EndpointAccess()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EndpointAccess value.

Method Summary

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

Creates or finds a EndpointAccess from its string representation.

static Collection<EndpointAccess> values()

Gets known EndpointAccess values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final EndpointAccess ALLOW

Static value Allow for EndpointAccess.

DENY

public static final EndpointAccess DENY

Static value Deny for EndpointAccess.

Constructor Details

EndpointAccess

@Deprecated
public EndpointAccess()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EndpointAccess value.

Method Details

fromString

public static EndpointAccess fromString(String name)

Creates or finds a EndpointAccess from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EndpointAccess.

values

public static Collection values()

Gets known EndpointAccess values.

Returns:

known EndpointAccess values.

Applies to