- build
Builds a server using the given parameters.The returned service will not been
started or be bound a
- addService
Adds a service implementation to the handler registry.
- forPort
Static factory for creating a new ServerBuilder.
- executor
Provides a custom executor.It's an optional parameter. If the user has not
provided an executor when
- useTransportSecurity
Makes the server use TLS.
- compressorRegistry
Set the compression registry for use in the channel. This is an advanced API
call and shouldn't be u
- decompressorRegistry
Set the decompression registry for use in the channel. This is an advanced API
call and shouldn't be
- fallbackHandlerRegistry
Sets a fallback handler registry that will be looked up in if a method is not
found in the primary r
- intercept
Adds a ServerInterceptor that is run for all services on the server.
Interceptors added through this
- addTransportFilter
Adds a ServerTransportFilter. The order of filters being added is the order they
will be executed.
- directExecutor
Execute application code directly in the transport thread.Depending on the
underlying transport, usi
- handshakeTimeout
Sets the permitted time for new connections to complete negotiation handshakes
before being killed.