IdempotencyLevel

sealed abstract class IdempotencyLevel(val value: Int) extends GeneratedEnum

Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object IDEMPOTENT.type
object NO_SIDE_EFFECTS.type

Type members

Value members

Concrete methods

final def asRecognized: Option[Recognized]
def isIdempotent: Boolean
def isNoSideEffects: Boolean

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
def index: Int
Inherited from:
GeneratedEnum
def isUnrecognized: Boolean
Inherited from:
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor
Inherited from:
GeneratedEnum
def name: String
Inherited from:
GeneratedEnum
def productArity: Int
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
def productElementName(n: Int): String
Inherited from:
Product
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def productPrefix: String
Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Inherited from:
GeneratedEnum

Concrete fields

val value: Int