object Method extends Methods with Serializable
For a description of the behavior of apply
, safeApply
and unsafeApply
methods, see sttp.model.
- Alphabetic
- By Inheritance
- Method
- Serializable
- Methods
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CONNECT: Method
- Definition Classes
- Methods
- val DELETE: Method
- Definition Classes
- Methods
- val GET: Method
- Definition Classes
- Methods
- val HEAD: Method
- Definition Classes
- Methods
- val OPTIONS: Method
- Definition Classes
- Methods
- val PATCH: Method
- Definition Classes
- Methods
- val POST: Method
- Definition Classes
- Methods
- val PUT: Method
- Definition Classes
- Methods
- val TRACE: Method
- Definition Classes
- Methods
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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.
- See also
https://developer.mozilla.org/en-US/docs/Glossary/Idempotent
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- See also
https://developer.mozilla.org/en-US/docs/Glossary/safe
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def safeApply(method: String): Either[String, Method]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafeApply(method: String): Method
- Exceptions thrown
IllegalArgumentException
If the method value is not a valid token.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated