WebPubSubRequestType Class

public final class WebPubSubRequestType
extends ExpandableStringEnum<WebPubSubRequestType>

The incoming request type to the service.

Field Summary

Modifier and Type Field and Description
static final WebPubSubRequestType CLIENT_CONNECTION

Static value ClientConnection for WebPubSubRequestType.

static final WebPubSubRequestType RESTAPI

Static value RESTAPI for WebPubSubRequestType.

static final WebPubSubRequestType SERVER_CONNECTION

Static value ServerConnection for WebPubSubRequestType.

static final WebPubSubRequestType TRACE

Static value Trace for WebPubSubRequestType.

Constructor Summary

Constructor Description
WebPubSubRequestType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebPubSubRequestType value.

Method Summary

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

Creates or finds a WebPubSubRequestType from its string representation.

static Collection<WebPubSubRequestType> values()

Gets known WebPubSubRequestType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLIENT_CONNECTION

public static final WebPubSubRequestType CLIENT_CONNECTION

Static value ClientConnection for WebPubSubRequestType.

RESTAPI

public static final WebPubSubRequestType RESTAPI

Static value RESTAPI for WebPubSubRequestType.

SERVER_CONNECTION

public static final WebPubSubRequestType SERVER_CONNECTION

Static value ServerConnection for WebPubSubRequestType.

TRACE

public static final WebPubSubRequestType TRACE

Static value Trace for WebPubSubRequestType.

Constructor Details

WebPubSubRequestType

@Deprecated
public WebPubSubRequestType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebPubSubRequestType value.

Method Details

fromString

public static WebPubSubRequestType fromString(String name)

Creates or finds a WebPubSubRequestType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WebPubSubRequestType.

values

public static Collection<WebPubSubRequestType> values()

Gets known WebPubSubRequestType values.

Returns:

known WebPubSubRequestType values.

Applies to