Packages

final class NettyServerBuilder[F[_]] extends AnyRef

Source
NettyServerBuilder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NettyServerBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Self = NettyServerBuilder[F]

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. def allocated: F[(Server, F[Unit])]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindAny(host: String = defaults.IPv4Host): Self
  7. def bindHttp(port: Int = defaults.HttpPort, host: String = defaults.IPv4Host): Self
  8. def bindLocal(port: Int): Self
  9. def bindSocketAddress(address: InetSocketAddress): Self
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def resource: Resource[F, Server]
  21. def stream: Stream[F, Server]
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. def withEventLoopThreads(nThreads: Int): Self

    Socket selector threads.

    Socket selector threads.

    nThreads

    number of selector threads. Use 0 for netty default

    returns

    an updated builder

  28. def withHttpApp(httpApp: HttpApp[F]): Self
  29. def withHttpWebSocketApp(httpApp: (WebSocketBuilder2[F]) => HttpApp[F]): Self
  30. def withIdleTimeout(duration: FiniteDuration): Self
  31. def withMaxChunkSize(size: Int): Self
  32. def withMaxHeaderSize(size: Int): Self
  33. def withMaxInitialLineLength(size: Int): Self
  34. def withNativeTransport: Self
  35. def withNettyChannelOptions(opts: NettyChannelOptions): Self
  36. def withNioTransport: Self
  37. def withServiceErrorHandler(handler: ServiceErrorHandler[F]): Self
  38. def withSslContext(sslContext: SslContext): Self
  39. def withTransport(transport: NettyTransport): Self
  40. def withWebSocketCompression: Self
  41. def withoutBanner: Self
  42. def withoutSsl: Self
  43. def withoutWebSocketCompression: Self

Deprecated Value Members

  1. def withSslContext(sslContext: SSLContext, tlsParameters: TLSParameters = TLSParameters.Default): Self

    Configures the server with TLS, using the provided SSLContext and SSLParameters.

    Configures the server with TLS, using the provided SSLContext and SSLParameters. We only look at the needClientAuth and wantClientAuth boolean params. For more control use overload.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0-M2) Use withSslContext without tlsParameters

Inherited from AnyRef

Inherited from Any

Ungrouped