final case class ServerEndpoint(description: String, scheme: String, host: String, port: Int, protocols: Set[String], serverAttribute: Option[String], ssl: Option[SSLContext]) extends Product with Serializable
Contains information about which port and protocol can be used to connect to the server. This class is used to abstract out the details of connecting to different backends and protocols. Most tests will operate the same no matter which endpoint they are connected to.
- Annotations
- @ApiMayChange()
- Source
- ServerEndpoint.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerEndpoint
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ServerEndpoint(description: String, scheme: String, host: String, port: Int, protocols: Set[String], serverAttribute: Option[String], ssl: Option[SSLContext])
Value Members
- val description: String
- val host: String
- def pathUrl(path: String): String
Create a full URL out of a path.
Create a full URL out of a path. E.g. a path of
/foo
becomeshttp://localhost:12345/foo
- val port: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocols: Set[String]
- val scheme: String
- val serverAttribute: Option[String]
- val ssl: Option[SSLContext]
- def wsPathUrl(path: String): String
Create a full WebSocket URL out of a path.
Create a full WebSocket URL out of a path. E.g. a path of
/foo
becomesws://localhost:12345/foo