Method

sttp.model.Method$
See theMethod companion class
object Method extends Methods

For a description of the behavior of apply, safeApply and unsafeApply methods, see sttp.model.

Attributes

Companion:
class
Graph
Supertypes
trait Methods
class Object
trait Matchable
class Any
Self type
Method.type

Members list

Concise view

Value members

Concrete methods

def isIdempotent(m: Method): Boolean

An HTTP method is idempotent if an identical request can be made once or several times in a row with the same effect while leaving the server in the same state.

An HTTP method is idempotent if an identical request can be made once or several times in a row with the same effect while leaving the server in the same state.

Attributes

See also:
def isSafe(m: Method): Boolean

An HTTP method is safe if it doesn't alter the state of the server.

An HTTP method is safe if it doesn't alter the state of the server.

Attributes

See also:
def safeApply(method: String): Either[String, Method]
def unsafeApply(method: String): Method

Attributes

Throws:
IllegalArgumentException

If the method value is not a valid token.

Inherited fields

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Methods
val GET: Method

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Methods
val PUT: Method

Attributes

Inherited from:
Methods

Attributes

Inherited from:
Methods