Package tigase.http.java
Class JavaStandaloneHttpServer
java.lang.Object
tigase.http.AbstractHttpServer
tigase.http.java.JavaStandaloneHttpServer
- All Implemented Interfaces:
HttpServerIfc
,tigase.kernel.beans.Initializable
,tigase.kernel.beans.RegistrarBean
,tigase.kernel.beans.UnregisterAware
@Bean(name="httpServer",
parent=tigase.kernel.core.Kernel.class,
active=true,
exportable=true)
@ConfigType({DefaultMode,SetupMode})
public class JavaStandaloneHttpServer
extends AbstractHttpServer
Basic implementation of HTTP server based on HttpServer implementation embedded in JDK.
May not fully support HTTP implementation but is sufficient for testing and basic usage.
- Author:
- andrzej
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class tigase.http.AbstractHttpServer
httpPorts, httpsPorts, kernel, portsConfigBean, sslContextContainer
Fields inherited from interface tigase.http.api.HttpServerIfc
DEF_HTTP_PORT_VAL, HTTP_PORT_KEY, HTTP_PORTS_KEY, PORT_DOMAIN_KEY, PORT_SOCKET_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected HttpServer
protected void
deploy
(HttpServer server) protected void
deploy
(HttpServer server, DeploymentInfo info) void
deploy
(DeploymentInfo deployment) protected void
undeploy
(HttpServer server) protected void
undeploy
(HttpServer server, DeploymentInfo info) void
undeploy
(DeploymentInfo deployment) Methods inherited from class tigase.http.AbstractHttpServer
beforeUnregister, getHTTPPorts, getHTTPSPorts, getName, getPortConfig, initialize, register, unregister
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.http.api.HttpServerIfc
deployment, servlet
-
Constructor Details
-
JavaStandaloneHttpServer
public JavaStandaloneHttpServer()
-
-
Method Details
-
deploy
-
undeploy
-
listDeployed
-
createServer
protected HttpServer createServer(JavaStandaloneHttpServer.PortConfigBean config) throws IOException - Throws:
IOException
-
deploy
-
deploy
-
undeploy
-
undeploy
-