final class NettyServerBuilder[F[_]] extends AnyRef
- Source
- NettyServerBuilder.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NettyServerBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Self = NettyServerBuilder[F]
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
- def allocated: F[(Server, F[Unit])]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bindAny(host: String = defaults.IPv4Host): Self
- def bindHttp(port: Int = defaults.HttpPort, host: String = defaults.IPv4Host): Self
- def bindLocal(port: Int): Self
- def bindSocketAddress(address: InetSocketAddress): Self
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def resource: Resource[F, Server]
- def stream: Stream[F, Server]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withEventLoopThreads(nThreads: Int): Self
Socket selector threads.
Socket selector threads.
- nThreads
number of selector threads. Use
0for netty default- returns
an updated builder
- def withHttpApp(httpApp: HttpApp[F]): Self
- def withHttpWebSocketApp(httpApp: (WebSocketBuilder2[F]) => HttpApp[F]): Self
- def withIdleTimeout(duration: FiniteDuration): Self
- def withMaxChunkSize(size: Int): Self
- def withMaxHeaderSize(size: Int): Self
- def withMaxInitialLineLength(size: Int): Self
- def withNativeTransport: Self
- def withNettyChannelOptions(opts: NettyChannelOptions): Self
- def withNioTransport: Self
- def withServiceErrorHandler(handler: ServiceErrorHandler[F]): Self
- def withSslContext(sslContext: SslContext): Self
- def withTransport(transport: NettyTransport): Self
- def withWebSocketCompression: Self
- def withoutBanner: Self
- def withoutSsl: Self
- def withoutWebSocketCompression: Self
Deprecated Value Members
- def withSslContext(sslContext: SSLContext, tlsParameters: TLSParameters = TLSParameters.Default): Self
Configures the server with TLS, using the provided
SSLContextandSSLParameters.Configures the server with TLS, using the provided
SSLContextandSSLParameters. 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