@Bean(name="httpServer",
parent=tigase.kernel.core.Kernel.class,
active=true,
exportable=true)
@ConfigType(value={DefaultMode,SetupMode})
public class JavaStandaloneHttpServer
extends AbstractHttpServer
May not fully support HTTP implementation but is sufficient for testing and basic usage.
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaStandaloneHttpServer.ExecutorWithTimeout |
static class |
JavaStandaloneHttpServer.PortConfigBean |
static class |
JavaStandaloneHttpServer.PortsConfigBean |
httpPorts, httpsPorts, kernel, portsConfigBean, sslContextContainerDEF_HTTP_PORT_VAL, HTTP_PORT_KEY, HTTP_PORTS_KEY, PORT_DOMAIN_KEY, PORT_SOCKET_KEY| Constructor and Description |
|---|
JavaStandaloneHttpServer() |
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.net.httpserver.HttpServer |
createServer(JavaStandaloneHttpServer.PortConfigBean config) |
void |
deploy(DeploymentInfo deployment) |
protected void |
deploy(com.sun.net.httpserver.HttpServer server) |
protected void |
deploy(com.sun.net.httpserver.HttpServer server,
DeploymentInfo info) |
List<DeploymentInfo> |
listDeployed() |
void |
undeploy(DeploymentInfo deployment) |
protected void |
undeploy(com.sun.net.httpserver.HttpServer server) |
protected void |
undeploy(com.sun.net.httpserver.HttpServer server,
DeploymentInfo info) |
getHTTPPorts, getHTTPSPorts, register, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeployment, servletpublic void deploy(DeploymentInfo deployment)
public void undeploy(DeploymentInfo deployment)
public List<DeploymentInfo> listDeployed()
protected com.sun.net.httpserver.HttpServer createServer(JavaStandaloneHttpServer.PortConfigBean config) throws IOException
IOExceptionprotected void deploy(com.sun.net.httpserver.HttpServer server)
protected void deploy(com.sun.net.httpserver.HttpServer server,
DeploymentInfo info)
protected void undeploy(com.sun.net.httpserver.HttpServer server)
protected void undeploy(com.sun.net.httpserver.HttpServer server,
DeploymentInfo info)
Copyright © 2013–2021 Tigase. All rights reserved.