ProbeProtocol Class

public final class ProbeProtocol
extends ExpandableStringEnum<ProbeProtocol>

The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.

Field Summary

Modifier and Type Field and Description
static final ProbeProtocol HTTP

Static value Http for ProbeProtocol.

static final ProbeProtocol HTTPS

Static value Https for ProbeProtocol.

static final ProbeProtocol TCP

Static value Tcp for ProbeProtocol.

Constructor Summary

Constructor Description
ProbeProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProbeProtocol value.

Method Summary

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

Creates or finds a ProbeProtocol from its string representation.

static Collection<ProbeProtocol> values()

Gets known ProbeProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HTTP

public static final ProbeProtocol HTTP

Static value Http for ProbeProtocol.

HTTPS

public static final ProbeProtocol HTTPS

Static value Https for ProbeProtocol.

TCP

public static final ProbeProtocol TCP

Static value Tcp for ProbeProtocol.

Constructor Details

ProbeProtocol

@Deprecated
public ProbeProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProbeProtocol value.

Method Details

fromString

public static ProbeProtocol fromString(String name)

Creates or finds a ProbeProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProbeProtocol.

values

public static Collection values()

Gets known ProbeProtocol values.

Returns:

known ProbeProtocol values.

Applies to