Class

play.api.test

HttpServerEndpointRecipe

Related Doc: package test

Permalink

final class HttpServerEndpointRecipe extends ServerEndpointRecipe

Provides a recipe for making an HTTP ServerEndpoint.

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

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val configuredHttpPort: Option[Int]

    Permalink

    The HTTP port to use when configuring the server.

    The HTTP port to use when configuring the server.

    Definition Classes
    HttpServerEndpointRecipeServerEndpointRecipe
  7. val configuredHttpsPort: Option[Int]

    Permalink

    The HTTPS port to use when configuring the server.

    The HTTPS port to use when configuring the server.

    Definition Classes
    HttpServerEndpointRecipeServerEndpointRecipe
  8. def createEndpointFromServer(runningServer: TestServer): ServerEndpoint

    Permalink

    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
    HttpServerEndpointRecipeServerEndpointRecipe
  9. val description: String

    Permalink

    A human-readable description of this endpoint.

    A human-readable description of this endpoint.

    Definition Classes
    HttpServerEndpointRecipeServerEndpointRecipe
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val serverConfiguration: Configuration

    Permalink

    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
    HttpServerEndpointRecipeServerEndpointRecipe
  20. val serverProvider: ServerProvider

    Permalink

    The provider used to create the server instance.

    The provider used to create the server instance.

    Definition Classes
    HttpServerEndpointRecipeServerEndpointRecipe
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    HttpServerEndpointRecipe → AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withDescription(newDescription: String): HttpServerEndpointRecipe

    Permalink
  27. def withServerProvider(newProvider: ServerProvider): HttpServerEndpointRecipe

    Permalink

Inherited from ServerEndpointRecipe

Inherited from AnyRef

Inherited from Any

Ungrouped