Server.Builder| Modifier and Type | Method and Description |
|---|---|
SeContainer |
cdiContainer()
Get CDI container in use.
|
String |
host()
Get the host this server listens on.
|
int |
port()
Get the port this server listens on or
-1 if the server is not
running. |
Server |
start()
Start this server (can only be used once).
|
Server |
stop()
Stop this server immediately (can only be used on a started server).
|
public SeContainer cdiContainer()
ServercdiContainer in interface Serverpublic Server start()
Serverpublic Server stop()
Serverpublic String host()
ServerCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.