StreamingTransport Class

public final class StreamingTransport
extends ExpandableStringEnum<StreamingTransport>

Defines the transport type used for streaming. Note that future values may be introduced that are not currently documented.

Field Summary

Modifier and Type Field and Description
static final StreamingTransport WEBSOCKET

Static value websocket for StreamingTransportType.

Constructor Summary

Constructor Description
StreamingTransport()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StreamingTransportType value.

Method Summary

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

Creates or finds a StreamingTransportType from its string representation.

static Collection<StreamingTransport> values()

Gets known StreamingTransportType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

WEBSOCKET

public static final StreamingTransport WEBSOCKET

Static value websocket for StreamingTransportType.

Constructor Details

StreamingTransport

@Deprecated
public StreamingTransport()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StreamingTransportType value.

Method Details

fromString

public static StreamingTransport fromString(String name)

Creates or finds a StreamingTransportType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StreamingTransportType.

values

public static Collection<StreamingTransport> values()

Gets known StreamingTransportType values.

Returns:

known StreamingTransportType values.

Applies to