IN
- The type that will be received by this clientOUT
- The type that will be sent by this clientpublic static class Spec.HttpServerSpec<IN,OUT> extends Spec.PeerSpec<IN,OUT,HttpChannel<IN,OUT>,Spec.HttpServerSpec<IN,OUT>,HttpServer<IN,OUT>>
codec, listenAddress, options
Modifier and Type | Method and Description |
---|---|
protected HttpServer<IN,OUT> |
configure(Dispatcher dispatcher,
Environment env) |
Spec.HttpServerSpec<IN,OUT> |
ssl(SslOptions sslOptions)
Set the options to use for configuring SSL.
|
codec, listen, listen, listen, options, rawData
defaultDispatcher, dispatcher, dispatcher, env, get, synchronousDispatcher
public Spec.HttpServerSpec<IN,OUT> ssl(@Nullable SslOptions sslOptions)
null
means don't use SSL at all (the
default).sslOptions
- The options to set when configuring SSLprotected HttpServer<IN,OUT> configure(Dispatcher dispatcher, Environment env)
configure
in class DispatcherComponentSpec<Spec.HttpServerSpec<IN,OUT>,HttpServer<IN,OUT>>
Copyright © 2016. All rights reserved.