HttpsServerEndpointRecipe

play.api.test.HttpsServerEndpointRecipe
@ApiMayChange
final class HttpsServerEndpointRecipe(val description: String, val serverProvider: ServerProvider, extraServerConfiguration: Configuration, expectedHttpVersions: Set[String], expectedServerAttr: Option[String]) extends ServerEndpointRecipe

Provides a recipe for making an HTTPS ServerEndpoint.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def createEndpointFromServer(runningServer: TestServer): ServerEndpoint

Once a server has been started using this recipe, the running instance can be queried to create an endpoint. Usually this just involves asking the server what port it is using.

Once a server has been started using this recipe, the running instance can be queried to create an endpoint. Usually this just involves asking the server what port it is using.

Attributes

Definition Classes

Any extra configuration to use when configuring the server. This configuration will be applied last so it will override any existing configuration.

Any extra configuration to use when configuring the server. This configuration will be applied last so it will override any existing configuration.

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

override val configuredHttpPort: Option[Int]

The HTTP port to use when configuring the server.

The HTTP port to use when configuring the server.

Attributes

override val configuredHttpsPort: Option[Int]

The HTTPS port to use when configuring the server.

The HTTPS port to use when configuring the server.

Attributes

override val description: String

A human-readable description of this endpoint.

A human-readable description of this endpoint.

Attributes

The provider used to create the server instance.

The provider used to create the server instance.

Attributes