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

Http.

static final ProbeProtocol HTTPS

Https.

static final ProbeProtocol TCP

Tcp.

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

Http.

HTTPS

public static final ProbeProtocol HTTPS

Https.

TCP

public static final ProbeProtocol TCP

Tcp.

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<ProbeProtocol> values()

Gets known ProbeProtocol values.

Returns:

known ProbeProtocol values.

Applies to