Class JettyHttpServer
java.lang.Object
com.sun.net.httpserver.HttpServer
com.sun.net.httpserver.HttpsServer
org.eclipse.jetty.http.spi.JettyHttpServer
Jetty implementation of
HttpsServer.-
Constructor Summary
ConstructorsConstructorDescriptionJettyHttpServer(Server server, boolean shared) JettyHttpServer(Server server, boolean shared, HttpConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(InetSocketAddress addr, int backlog) createContext(String path) createContext(String path, HttpHandler httpHandler) protected ServervoidremoveContext(HttpContext context) voidremoveContext(String path) voidsetExecutor(Executor executor) voidvoidstart()voidstop(int delay) Methods inherited from class HttpsServer
create, create, create
-
Constructor Details
-
JettyHttpServer
-
JettyHttpServer
-
-
Method Details
-
getHttpConfiguration
-
bind
- Specified by:
bindin classHttpServer- Throws:
IOException
-
getServer
-
getAddress
- Specified by:
getAddressin classHttpServer
-
start
public void start()- Specified by:
startin classHttpServer
-
setExecutor
- Specified by:
setExecutorin classHttpServer
-
getExecutor
- Specified by:
getExecutorin classHttpServer
-
stop
public void stop(int delay) - Specified by:
stopin classHttpServer
-
createContext
- Specified by:
createContextin classHttpServer
-
createContext
- Specified by:
createContextin classHttpServer
-
removeContext
- Specified by:
removeContextin classHttpServer- Throws:
IllegalArgumentException
-
removeContext
- Specified by:
removeContextin classHttpServer
-
setHttpsConfigurator
- Specified by:
setHttpsConfiguratorin classHttpsServer
-
getHttpsConfigurator
- Specified by:
getHttpsConfiguratorin classHttpsServer
-