Packages

final class NettyServerBuilder[F[_]] extends AnyRef

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

Instance Constructors

  1. new NettyServerBuilder(httpApp: HttpApp[F], serviceErrorHandler: ServiceErrorHandler[F], socketAddress: InetSocketAddress, idleTimeout: Duration, eventLoopThreads: Int, maxInitialLineLength: Int, maxHeaderSize: Int, maxChunkSize: Int, transport: NettyTransport, banner: Seq[String], executionContext: ExecutionContext, nettyChannelOptions: NettyChannelOptions, sslConfig: SslConfig[F], websocketsEnabled: Boolean, wsMaxFrameLength: Int)(implicit F: ConcurrentEffect[F])

Type Members

  1. case class Bound(address: InetSocketAddress, holder: EventLoopHolder[_ <: ServerChannel], channel: Channel) extends Product with Serializable
  2. case class EventLoopHolder[A <: ServerChannel](eventLoop: MultithreadEventLoopGroup)(implicit classTag: ClassTag[A]) extends Product with Serializable
  3. 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], F[Unit])]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindAny(host: String = defaults.Host): Self
  7. def bindHttp(port: Int = defaults.HttpPort, host: String = defaults.Host): 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( ... ) @native() @HotSpotIntrinsicCandidate()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def resource: Resource[F, Server[F]]
  20. def stream: Stream[F, Server[F]]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. 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

  27. def withExecutionContext(ec: ExecutionContext): Self
  28. def withHttpApp(httpApp: HttpApp[F]): Self
  29. def withIdleTimeout(duration: FiniteDuration): Self
  30. def withMaxChunkSize(size: Int): Self
  31. def withMaxHeaderSize(size: Int): Self
  32. def withMaxInitialLineLength(size: Int): Self
  33. def withNativeTransport: Self
  34. def withNettyChannelOptions(opts: NettyChannelOptions): Self
  35. def withNioTransport: Self
  36. def withServiceErrorHandler(handler: ServiceErrorHandler[F]): Self
  37. def withSslContext(sslContext: SSLContext, tlsParameters: TLSParameters = TLSParameters.Default): Self

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

  38. def withWebsockets: Self
  39. def withoutBanner: Self
  40. def withoutSsl: Self
  41. def withoutWebsockets: Self

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped