Trait

org.scalawebtest.core

ResponseAccessors

Related Doc: package core

Permalink

trait ResponseAccessors extends AnyRef

This trait provides convenience methods to access information from the webDriver.

Self Type
ResponseAccessors with IntegrationSpec with Assertions
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResponseAccessors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def currentHtmlPage: Option[HtmlPage]

    Permalink

    returns

    Some(HtmlPage) if the currentPage is a HtmlPage otherwise None

  7. def currentTextPage: Option[TextPage]

    Permalink

    returns

    Some(TextPage) if the currentPage is a TextPage otherwise None

  8. def currentXmlPage: Option[XmlPage]

    Permalink

    returns

    Some(XmlPage) if the currentPage is an XmlPage otherwise None

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def responseCode: Int

    Permalink

    returns

    the response code of the web response of the current page

  19. def responseHeaderValue(name: String): String

    Permalink

    name

    field-name of header

    returns

    the field-value of the header with the given field-name. If no such header exists, the test will fail with a meaningful error message

    See also

    responseHeaders for detailed rules on merging of multiple headers with the same field-name

  20. def responseHeaders: Map[String, String]

    Permalink

    If a header field-name occurs multiple times, their field-values are merged into a comma-separated list.

    If a header field-name occurs multiple times, their field-values are merged into a comma-separated list. This is a lot more convenient then returning a List[String] and it is according to RFC 2616 section 4 see https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

    Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]. It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma. The order in which header fields with the same field-name are received is therefore significant to the interpretation of the combined field value, and thus a proxy MUST NOT change the order of these field values when a message is forwarded.

    returns

    response headers as Map header field-name to header field-value. If a header field-name occurs multiple times, their field-values are merged into a comma-separated list.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped