RequestSource Class

public final class RequestSource
extends ExpandableStringEnum<RequestSource>

Defines values for RequestSource.

Field Summary

Modifier and Type Field and Description
static final RequestSource REST

Static value rest for RequestSource.

Constructor Summary

Constructor Description
RequestSource()

Method Summary

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

Creates or finds a RequestSource from its string representation.

static Collection<RequestSource> values()

Gets known RequestSource values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

REST

public static final RequestSource REST

Static value rest for RequestSource.

Constructor Details

RequestSource

public RequestSource()

Method Details

fromString

public static RequestSource fromString(String name)

Creates or finds a RequestSource from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RequestSource.

values

public static Collection values()

Gets known RequestSource values.

Returns:

known RequestSource values.

Applies to