final class HttpServerEndpointRecipe extends ServerEndpointRecipe
Provides a recipe for making an HTTP ServerEndpoint.
- Self Type
- HttpServerEndpointRecipe
- Annotations
- @ApiMayChange()
- Source
- ServerEndpointRecipe.scala
- Alphabetic
- By Inheritance
- HttpServerEndpointRecipe
- ServerEndpointRecipe
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HttpServerEndpointRecipe(description: String, serverProvider: ServerProvider, extraServerConfiguration: Configuration = Configuration.empty, expectedHttpVersions: Set[String], expectedServerAttr: Option[String])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val configuredHttpPort: Option[Int]
The HTTP port to use when configuring the server.
The HTTP port to use when configuring the server.
- Definition Classes
- HttpServerEndpointRecipe → ServerEndpointRecipe
- val configuredHttpsPort: Option[Int]
The HTTPS port to use when configuring the server.
The HTTPS port to use when configuring the server.
- Definition Classes
- HttpServerEndpointRecipe → ServerEndpointRecipe
- 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
- HttpServerEndpointRecipe → ServerEndpointRecipe
- val description: String
A human-readable description of this endpoint.
A human-readable description of this endpoint.
- Definition Classes
- HttpServerEndpointRecipe → ServerEndpointRecipe
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val 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
- HttpServerEndpointRecipe → ServerEndpointRecipe
- val serverProvider: ServerProvider
The provider used to create the server instance.
The provider used to create the server instance.
- Definition Classes
- HttpServerEndpointRecipe → ServerEndpointRecipe
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- HttpServerEndpointRecipe → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withDescription(newDescription: String): HttpServerEndpointRecipe
- Definition Classes
- HttpServerEndpointRecipe → ServerEndpointRecipe
- def withExtraServerConfiguration(extraConfig: Map[String, Any]): HttpServerEndpointRecipe
- Definition Classes
- HttpServerEndpointRecipe → ServerEndpointRecipe
- def withServerProvider(newProvider: ServerProvider): HttpServerEndpointRecipe
- Definition Classes
- HttpServerEndpointRecipe → ServerEndpointRecipe
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)