case class Https(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit, chunkSize: Int = 1048576) extends HttpServer with Ssl with Product with Serializable
Http + Ssl implementation of the Server trait.
- Self Type
- Https
- Annotations
- @deprecated
- Deprecated
(Since version 0.8.1) Use unfiltered.netty.Server
- Source
- secured.scala
- Alphabetic
- By Inheritance
- Https
- Serializable
- Serializable
- Product
- Equals
- Ssl
- Security
- HttpServer
- PlanServer
- NettyBase
- RunnableServer
- StartableServer
- Server
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Https(port: Int, host: String, handlers: List[() ⇒ ChannelHandler], beforeStopBlock: () ⇒ Unit, chunkSize: Int = 1048576)
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
- Definition Classes
- NettyBase
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def beforeStop(block: ⇒ Unit): Https
-
val
beforeStopBlock: () ⇒ Unit
block of code to be invoked when the server is stopped, before connectons are closed
block of code to be invoked when the server is stopped, before connectons are closed
- Definition Classes
- Https → HttpServer
-
def
bestEventLoopGroup: MultithreadEventLoopGroup
- Attributes
- protected
- Definition Classes
- NettyBase
-
val
channels: DefaultChannelGroup
any channels added to this will receive broadcasted events
any channels added to this will receive broadcasted events
- Attributes
- protected
- Definition Classes
- NettyBase
- val chunkSize: Int
- def chunked(size: Int = 1048576): Https
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
closeConnections(): NettyBase
- Definition Classes
- NettyBase
-
lazy val
createSslContext: SSLContext
create an SSLContext from which an SSLEngine can be created
-
def
destroy(): Https.this.type
- Definition Classes
- NettyBase → StartableServer
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handler(h: ChannelHandler): Https
-
val
handlers: List[() ⇒ ChannelHandler]
list of functions which will produce a channel handler when invoked
list of functions which will produce a channel handler when invoked
- Definition Classes
- Https → HttpServer
-
val
host: String
host to bind to
-
def
initSslContext(ctx: SSLContext): Unit
- Definition Classes
- Ssl
-
def
initializer: ChannelInitializer[SocketChannel]
ChannelInitializer that initializes the server bootstrap
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
keyManagers: Array[KeyManager]
- Definition Classes
- Ssl
-
lazy val
keyStore: String
- Definition Classes
- Ssl
-
lazy val
keyStorePassword: String
- Definition Classes
- Ssl
-
def
makePlan(h: ⇒ ChannelHandler): Https
- Definition Classes
- Https → PlanServer
-
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
plan(plan: ChannelHandler): ServerBuilder
- Definition Classes
- PlanServer
-
val
port: Int
port to listen on
-
def
portBindings: List[HttpPortBindingShim]
- Definition Classes
- NettyBase → StartableServer
-
def
requiredProperty(name: String): String
- Definition Classes
- Ssl
-
def
resources(path: URL, cacheSeconds: Int = 60, passOnFail: Boolean = true): ServerBuilder
- Definition Classes
- HttpServer
-
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
Starts server with preBind callback called before connection binding
- Definition Classes
- NettyBase
-
def
start(): ServerBuilder
Starts default server bootstrap
Starts default server bootstrap
- Definition Classes
- NettyBase → StartableServer
-
def
stop(): Https.this.type
- Definition Classes
- HttpServer → StartableServer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
url: String
- Definition Classes
- NettyBase
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
workers: EventLoopGroup
EventLoopGroup associated with handling client requests
EventLoopGroup associated with handling client requests
- Attributes
- protected
- Definition Classes
- NettyBase