Packages

c

play.api.test

HttpsServerEndpointRecipe

final class HttpsServerEndpointRecipe extends ServerEndpointRecipe

Provides a recipe for making an HTTPS ServerEndpoint.

Self Type
HttpsServerEndpointRecipe
Annotations
@ApiMayChange()
Source
ServerEndpointRecipe.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpsServerEndpointRecipe
  2. ServerEndpointRecipe
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HttpsServerEndpointRecipe(description: String, serverProvider: ServerProvider, extraServerConfiguration: Configuration = Configuration.empty, expectedHttpVersions: Set[String], expectedServerAttr: Option[String])

Value Members

  1. val configuredHttpPort: Option[Int]

    The HTTP port to use when configuring the server.

    The HTTP port to use when configuring the server.

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  2. val configuredHttpsPort: Option[Int]

    The HTTPS port to use when configuring the server.

    The HTTPS port to use when configuring the server.

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  3. def createEndpointFromServer(runningServer: TestServer): ServerEndpoint

    Once a server has been started using this recipe, the running instance can be queried to create an endpoint.

    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.

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  4. val description: String

    A human-readable description of this endpoint.

    A human-readable description of this endpoint.

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  5. def serverConfiguration: Configuration

    Any extra configuration to use when configuring the server.

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

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  6. val serverProvider: ServerProvider

    The provider used to create the server instance.

    The provider used to create the server instance.

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  7. def toString(): String
    Definition Classes
    HttpsServerEndpointRecipe → AnyRef → Any
  8. def withDescription(newDescription: String): HttpsServerEndpointRecipe
  9. def withExtraServerConfiguration(extraConfig: Map[String, Any]): HttpsServerEndpointRecipe
  10. def withServerProvider(newProvider: ServerProvider): HttpsServerEndpointRecipe