org.scalatra.test

Client

Related Doc: package test

trait Client extends ImplicitConversions

Linear Supertypes
ImplicitConversions, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Client
  2. ImplicitConversions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def session[A](f: ⇒ A): A

  2. abstract def submit[A](method: String, uri: String, queryParams: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty, body: Array[Byte] = null)(f: ⇒ A): A

  3. abstract def submitMultipart[A](method: String, uri: String, params: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty, files: Iterable[(String, Any)] = Map.empty)(f: ⇒ A): A

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def body: String

  6. def bodyBytes: Array[Byte]

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def connect[A](uri: String, params: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  9. def delete[A](uri: String, params: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get[A](uri: String, params: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  14. def get[A](uri: String, params: (String, String)*)(f: ⇒ A): A

  15. def get[A](uri: String)(f: ⇒ A): A

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def head[A](uri: String, params: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  19. def head[A](uri: String, params: (String, String)*)(f: ⇒ A): A

  20. def head[A](uri: String)(f: ⇒ A): A

  21. def header: DefaultMap[String, String]

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def options[A](uri: String, params: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  27. def patch[A](uri: String, body: Array[Byte] = Array(), headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  28. def patch[A](uri: String, params: Iterable[(String, String)], headers: Iterable[(String, String)])(f: ⇒ A): A

  29. def patch[A](uri: String, params: Iterable[(String, String)])(f: ⇒ A): A

  30. def patch[A](uri: String, params: (String, String)*)(f: ⇒ A): A

  31. def post[A](uri: String, params: Iterable[(String, String)], files: Iterable[(String, Any)], headers: Iterable[(String, String)])(f: ⇒ A): A

  32. def post[A](uri: String, params: Iterable[(String, String)], files: Iterable[(String, Any)])(f: ⇒ A): A

  33. def post[A](uri: String, body: Array[Byte] = Array(), headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  34. def post[A](uri: String, params: Iterable[(String, String)], headers: Map[String, String])(f: ⇒ A): A

  35. def post[A](uri: String, params: Iterable[(String, String)])(f: ⇒ A): A

  36. def post[A](uri: String, params: (String, String)*)(f: ⇒ A): A

  37. def put[A](uri: String, params: Iterable[(String, String)], files: Iterable[(String, Any)], headers: Iterable[(String, String)])(f: ⇒ A): A

  38. def put[A](uri: String, params: Iterable[(String, String)], files: Iterable[(String, Any)])(f: ⇒ A): A

  39. def put[A](uri: String, body: Array[Byte] = Array(), headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  40. def put[A](uri: String, params: Iterable[(String, String)], headers: Map[String, String])(f: ⇒ A): A

  41. def put[A](uri: String, params: Iterable[(String, String)])(f: ⇒ A): A

  42. def put[A](uri: String, params: (String, String)*)(f: ⇒ A): A

  43. def response: ClientResponse

    Returns the current response within the scope of the submit method.

  44. def status: Int

  45. implicit def stringToByteArray(str: String): Array[Byte]

    Definition Classes
    ImplicitConversions
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. def toString(): String

    Definition Classes
    AnyRef → Any
  48. def trace[A](uri: String, params: Iterable[(String, String)] = Seq.empty, headers: Iterable[(String, String)] = Seq.empty)(f: ⇒ A): A

  49. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def withResponse[A](res: ClientResponse)(f: ⇒ A): A

    Attributes
    protected

Inherited from ImplicitConversions

Inherited from AnyRef

Inherited from Any

Ungrouped