Package tigase.http
Class AbstractHttpServer
- java.lang.Object
-
- tigase.http.AbstractHttpServer
-
- All Implemented Interfaces:
HttpServerIfc,tigase.kernel.beans.RegistrarBean
- Direct Known Subclasses:
JavaStandaloneHttpServer
public abstract class AbstractHttpServer extends Object implements HttpServerIfc
Created by andrzej on 06.08.2016.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractHttpServer.PortConfigBeanstatic classAbstractHttpServer.PortsConfigBean
-
Field Summary
Fields Modifier and Type Field Description protected List<Integer>httpPortsprotected List<Integer>httpsPortsprotected tigase.kernel.core.Kernelkernelprotected AbstractHttpServer.PortsConfigBeanportsConfigBeanprotected tigase.io.SSLContextContainerIfcsslContextContainer-
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
Constructors Constructor Description AbstractHttpServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>getHTTPPorts()List<Integer>getHTTPSPorts()voidregister(tigase.kernel.core.Kernel kernel)voidunregister(tigase.kernel.core.Kernel kernel)-
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
deploy, deployment, listDeployed, servlet, undeploy
-
-
-
-
Field Detail
-
kernel
protected tigase.kernel.core.Kernel kernel
-
portsConfigBean
@Inject protected AbstractHttpServer.PortsConfigBean portsConfigBean
-
sslContextContainer
@Inject(bean="sslContextContainer") protected tigase.io.SSLContextContainerIfc sslContextContainer
-
-
Method Detail
-
getHTTPPorts
public List<Integer> getHTTPPorts()
- Specified by:
getHTTPPortsin interfaceHttpServerIfc
-
getHTTPSPorts
public List<Integer> getHTTPSPorts()
- Specified by:
getHTTPSPortsin interfaceHttpServerIfc
-
register
public void register(tigase.kernel.core.Kernel kernel)
- Specified by:
registerin interfacetigase.kernel.beans.RegistrarBean
-
unregister
public void unregister(tigase.kernel.core.Kernel kernel)
- Specified by:
unregisterin interfacetigase.kernel.beans.RegistrarBean
-
-