public class DefaultNHttpServer extends Object implements NHttpServer
NHttpServer.Bootstrapper| Constructor and Description |
|---|
DefaultNHttpServer() |
public NHttpServer setOptions(NWebServerOptions options)
setOptions in interface NHttpServerpublic NHttpServer setServerName(String serverName)
setServerName in interface NHttpServerpublic NHttpServer.Bootstrapper getBootstrapper()
getBootstrapper in interface NHttpServerpublic NHttpServer setBootstrapper(NHttpServer.Bootstrapper bootstrapper)
setBootstrapper in interface NHttpServerpublic NHttpServer setLogger(NWebLogger logger)
public String getStoreCredential()
public DefaultNHttpServer setStoreCredential(String storeCredential)
public void genkeypair()
public NHttpServer start()
start in interface NHttpServerpublic NWebContext addContext(String contextPath)
addContext in interface NHttpServerpublic void stop()
stop in interface NHttpServerpublic void stop(int delay)
stop in interface NHttpServerpublic static List<InetAddress> getLocalIPAddresses()
public NWebServerOptions getOptions()
getOptions in interface NHttpServerpublic NWebLogger getLogger()
getLogger in interface NHttpServerpublic com.sun.net.httpserver.HttpServer getServer()
public net.thevpc.nuts.text.NMsg getHeader()
getHeader in interface NHttpServerpublic NHttpServer setHeader(net.thevpc.nuts.text.NMsg header)
setHeader in interface NHttpServerpublic String getDefaultLogFile()
getDefaultLogFile in interface NHttpServerpublic NHttpServer setDefaultLogFile(String defaultLogFile)
setDefaultLogFile in interface NHttpServerpublic String getDefaultPidFile()
getDefaultPidFile in interface NHttpServerpublic DefaultNHttpServer setDefaultPidFile(String defaultPidFile)
setDefaultPidFile in interface NHttpServerpublic String getServerName()
getServerName in interface NHttpServerpublic int getServerPort()
getServerPort in interface NHttpServerCopyright © 2026 vpc open source initiative. All rights reserved.