Object

spray.can.server

UHttp

Related Doc: package server

Permalink

object UHttp extends ExtensionKey[UHttpExt]

UpgradableHttp extension

UHttp, UHttpExt and UHttpManager is for getting HttpListener to be replaced by UpgradableHttpListener only.

Usage: IO(UHttp) ! Http.Bind instead of: IO(Http) ! Http.Bind

clould be in spray.can.Http, since Upgrade is part of HTTP spec.

Linear Supertypes
ExtensionKey[UHttpExt], ExtensionIdProvider, ExtensionId[UHttpExt], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UHttp
  2. ExtensionKey
  3. ExtensionIdProvider
  4. ExtensionId
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final case class UpgradeClient(pipelineStage: (HttpResponse) ⇒ Option[(ClientConnectionSettings) ⇒ RawPipelineStage[PipelineContext]], request: HttpRequest) extends Command with Product with Serializable

    Permalink

  2. final case class UpgradeServer(pipelineStage: (ServerSettings) ⇒ RawPipelineStage[SslTlsContext], response: HttpResponse) extends Command with Product with Serializable

    Permalink

    response

    response that should send to client to notify the sucess of upgrading.

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. object Upgraded extends Event with Product with Serializable

    Permalink
  5. def apply(system: ActorSystem): UHttpExt

    Permalink
    Definition Classes
    ExtensionId
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createExtension(system: ExtendedActorSystem): UHttpExt

    Permalink
    Definition Classes
    ExtensionKey → ExtensionId
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. final def equals(other: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(system: ActorSystem): UHttpExt

    Permalink
    Definition Classes
    ExtensionId
  13. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  16. def lookup(): ExtensionId[UHttpExt]

    Permalink
    Definition Classes
    ExtensionKey → ExtensionIdProvider
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExtensionKey[UHttpExt]

Inherited from ExtensionIdProvider

Inherited from ExtensionId[UHttpExt]

Inherited from AnyRef

Inherited from Any

Ungrouped