final case class HTTPGetAction(port: IntOrString, path: Option[String] = None, host: Option[String] = None, scheme: Option[String] = None, httpHeaders: Option[Seq[HTTPHeader]] = None) extends Product with Serializable
HTTPGetAction describes an action based on HTTP Get requests.
- Source
- HTTPGetAction.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HTTPGetAction
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new HTTPGetAction(port: IntOrString, path: Option[String] = None, host: Option[String] = None, scheme: Option[String] = None, httpHeaders: Option[Seq[HTTPHeader]] = None)
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
- def addHttpHeaders(newValues: HTTPHeader*): HTTPGetAction
Appends new values to httpHeaders
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val host: Option[String]
- val httpHeaders: Option[Seq[HTTPHeader]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapHost(f: (String) => String): HTTPGetAction
if host has a value, transforms to the result of function
- def mapHttpHeaders(f: (Seq[HTTPHeader]) => Seq[HTTPHeader]): HTTPGetAction
if httpHeaders has a value, transforms to the result of function
- def mapPath(f: (String) => String): HTTPGetAction
if path has a value, transforms to the result of function
- def mapPort(f: (IntOrString) => IntOrString): HTTPGetAction
transforms port to result of function
- def mapScheme(f: (String) => String): HTTPGetAction
if scheme has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: Option[String]
- val port: IntOrString
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val scheme: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withHost(value: String): HTTPGetAction
Returns a new data with host set to new value
- def withHttpHeaders(value: Seq[HTTPHeader]): HTTPGetAction
Returns a new data with httpHeaders set to new value
- def withPath(value: String): HTTPGetAction
Returns a new data with path set to new value
- def withPort(value: IntOrString): HTTPGetAction
Returns a new data with port set to new value
- def withScheme(value: String): HTTPGetAction
Returns a new data with scheme set to new value