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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. 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
  7. 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
  8. 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
  9. val description: String

    A human-readable description of this endpoint.

    A human-readable description of this endpoint.

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. 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
  19. val serverProvider: ServerProvider

    The provider used to create the server instance.

    The provider used to create the server instance.

    Definition Classes
    HttpsServerEndpointRecipeServerEndpointRecipe
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    HttpsServerEndpointRecipe → AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. def withDescription(newDescription: String): HttpsServerEndpointRecipe
  26. def withExtraServerConfiguration(extraConfig: Map[String, Any]): HttpsServerEndpointRecipe
  27. def withServerProvider(newProvider: ServerProvider): HttpsServerEndpointRecipe

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ServerEndpointRecipe

Inherited from AnyRef

Inherited from Any

Ungrouped