play.core.server.akkahttp

AkkaHttpServer

Related Docs: object AkkaHttpServer | package akkahttp

class AkkaHttpServer extends Server

Starts a Play server using Akka HTTP.

Source
AkkaHttpServer.scala
Linear Supertypes
Server, ServerWithStop, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AkkaHttpServer
  2. Server
  3. ServerWithStop
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AkkaHttpServer(config: ServerConfig, applicationProvider: ApplicationProvider, actorSystem: ActorSystem, stopHook: () ⇒ Future[Unit])

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. val address: InetSocketAddress

  5. val applicationProvider: ApplicationProvider

    Definition Classes
    AkkaHttpServerServer
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def executeAction(request: HttpRequest, taggedRequestHeader: RequestHeader, requestBodyEnumerator: Enumerator[Array[Byte]], action: EssentialAction, errorHandler: HttpErrorHandler): Future[HttpResponse]

  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. def getHandlerFor(request: RequestHeader): Either[Future[Result], (RequestHeader, Handler, api.Application)]

    Definition Classes
    Server
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def httpPort: Some[Int]

    Returns the HTTP port of the server.

    Returns the HTTP port of the server.

    This is useful when the port number has been automatically selected (by setting a port number of 0).

    returns

    The HTTP port the server is bound to, if the HTTP connector is enabled.

    Definition Classes
    AkkaHttpServerServer
  16. def httpsPort: None.type

    Returns the HTTPS port of the server.

    Returns the HTTPS port of the server.

    This is useful when the port number has been automatically selected (by setting a port number of 0).

    returns

    The HTTPS port the server is bound to, if the HTTPS connector is enabled.

    Definition Classes
    AkkaHttpServerServer
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. lazy val mainAddress: InetSocketAddress

    Definition Classes
    AkkaHttpServer → ServerWithStop
  19. implicit val materializer: ActorMaterializer

  20. def mode: api.Mode.Mode

    Definition Classes
    AkkaHttpServerServer
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def stop(): Unit

    Definition Classes
    AkkaHttpServerServer → ServerWithStop
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. implicit val system: ActorSystem

  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Server

Inherited from ServerWithStop

Inherited from AnyRef

Inherited from Any

Ungrouped