public interface MuServer
MuServerBuilder.httpsServer()
or
MuServerBuilder.httpServer()
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
address() |
URI |
httpsUri() |
URI |
httpUri() |
MuStats |
stats() |
void |
stop() |
URI |
uri() |
void stop()
URI uri()
URI httpUri()
URI httpsUri()
MuStats stats()
InetSocketAddress address()
InetSocketAddress.getAddress()
and on that
call InetAddress.getHostAddress()
. To get the hostname, use InetSocketAddress.getHostName()
or
InetSocketAddress.getHostString()
.Copyright © 2017–2018. All rights reserved.