trait NettyBase extends RunnableServer
Base Netty server trait for http and websockets
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
- Source
- http.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- NettyBase
- RunnableServer
- StartableServer
- Server
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
Abstract Value Members
- abstract val host: String
host to bind to
- abstract def initializer: ChannelInitializer[SocketChannel]
ChannelInitializer that initializes the server bootstrap
ChannelInitializer that initializes the server bootstrap
- Attributes
- protected
- abstract val port: Int
port to listen on
- abstract def stop(): ServerBuilder
- Definition Classes
- StartableServer
Concrete 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
- val acceptor: EventLoopGroup
EventLoopGroup associated with accepting client connections
EventLoopGroup associated with accepting client connections
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val channels: DefaultChannelGroup
any channels added to this will receive broadcasted events
any channels added to this will receive broadcasted events
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- def closeConnections(): NettyBase
- def destroy(): NettyBase.this.type
- Definition Classes
- NettyBase → StartableServer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_]
- 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 portBindings: List[HttpPortBindingShim]
- Definition Classes
- NettyBase → StartableServer
- def run(afterStart: (ServerBuilder) ⇒ Unit, afterStop: (ServerBuilder) ⇒ Unit): Unit
- Definition Classes
- RunnableServer
- def run(afterStart: (ServerBuilder) ⇒ Unit): Unit
- Definition Classes
- RunnableServer
- def run(): Unit
- Definition Classes
- RunnableServer
- def start(preBind: (ServerBootstrap) ⇒ ServerBootstrap): ServerBuilder
Starts server with preBind callback called before connection binding
- def start(): ServerBuilder
Starts default server bootstrap
Starts default server bootstrap
- Definition Classes
- NettyBase → StartableServer
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val url: String
- 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
- @native() @throws(classOf[java.lang.InterruptedException])
- val workers: EventLoopGroup
EventLoopGroup associated with handling client requests
EventLoopGroup associated with handling client requests
- Attributes
- protected