Modifier and Type | Class and Description |
---|---|
class |
ServerBuilder<T extends ServerBuilder<T>>
A builder for
Server instances. |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingServerBuilder<T extends ForwardingServerBuilder<T>>
A
ServerBuilder that delegates all its builder method to another builder by default. |
Modifier and Type | Method and Description |
---|---|
protected abstract ServerBuilder<?> |
ServerProvider.builderForPort(int port)
Creates a new builder with the given port.
|
protected abstract ServerBuilder<?> |
ForwardingServerBuilder.delegate()
Returns the delegated
ServerBuilder . |
static ServerBuilder<?> |
ServerBuilder.forPort(int port)
Static factory for creating a new ServerBuilder.
|
static ServerBuilder<?> |
ForwardingServerBuilder.forPort(int port)
This method serves to force sub classes to "hide" this static factory.
|