SignalRRequestType Class

public final class SignalRRequestType
extends ExpandableStringEnum<SignalRRequestType>

The incoming request type to the service.

Field Summary

Modifier and Type Field and Description
static final SignalRRequestType CLIENT_CONNECTION

Static value ClientConnection for SignalRRequestType.

static final SignalRRequestType RESTAPI

Static value RESTAPI for SignalRRequestType.

static final SignalRRequestType SERVER_CONNECTION

Static value ServerConnection for SignalRRequestType.

static final SignalRRequestType TRACE

Static value Trace for SignalRRequestType.

Constructor Summary

Constructor Description
SignalRRequestType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SignalRRequestType value.

Method Summary

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

Creates or finds a SignalRRequestType from its string representation.

static Collection<SignalRRequestType> values()

Gets known SignalRRequestType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLIENT_CONNECTION

public static final SignalRRequestType CLIENT_CONNECTION

Static value ClientConnection for SignalRRequestType.

RESTAPI

public static final SignalRRequestType RESTAPI

Static value RESTAPI for SignalRRequestType.

SERVER_CONNECTION

public static final SignalRRequestType SERVER_CONNECTION

Static value ServerConnection for SignalRRequestType.

TRACE

public static final SignalRRequestType TRACE

Static value Trace for SignalRRequestType.

Constructor Details

SignalRRequestType

@Deprecated
public SignalRRequestType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SignalRRequestType value.

Method Details

fromString

public static SignalRRequestType fromString(String name)

Creates or finds a SignalRRequestType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SignalRRequestType.

values

public static Collection<SignalRRequestType> values()

Gets known SignalRRequestType values.

Returns:

known SignalRRequestType values.

Applies to