ScalatraTests
Provides a framework-agnostic way to test your Scalatra app. You probably want to extend this with either org.scalatra.test.scalatest.ScalatraSuite or org.scalatra.test.specs.ScalatraSpecification.
Cookies are crudely supported within session blocks. No attempt is made to match domains, paths, or max-ages; the request sends a Cookie header to match whatever Set-Cookie call it received on the previous response.
Attributes
- Graph
-
- Supertypes
-
trait HttpComponentsClienttrait Clienttrait ImplicitConversionstrait EmbeddedJettyContainertrait JettyContainertrait Containerclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- EmbeddedJettyContainer
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- EmbeddedJettyContainer
Attributes
- Inherited from:
- HttpComponentsClient
Attributes
- Inherited from:
- HttpComponentsClient
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
The port of the currently running Jetty. May differ from port if port is 0.
The port of the currently running Jetty. May differ from port if port is 0.
Attributes
- Returns
-
Some port if Jetty is currently listening, or None if it is not.
- Inherited from:
- EmbeddedJettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Sets the port to listen on. 0 means listen on any available port.
Sets the port to listen on. 0 means listen on any available port.
Attributes
- Inherited from:
- EmbeddedJettyContainer
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Returns the current response within the scope of the submit method.
Returns the current response within the scope of the submit method.
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- HttpComponentsClient
Attributes
- Inherited from:
- JettyContainer
Attributes
- Inherited from:
- EmbeddedJettyContainer
Attributes
- Inherited from:
- EmbeddedJettyContainer
Attributes
- Inherited from:
- HttpComponentsClient
Attributes
- Inherited from:
- HttpComponentsClient
Attributes
- Inherited from:
- Client
Attributes
- Inherited from:
- Client
Inherited fields
Can be overridden RequestConfig
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- EmbeddedJettyContainer
Attributes
- Inherited from:
- EmbeddedJettyContainer
Implicits
Inherited implicits
Attributes
- Inherited from:
- ImplicitConversions