Package tigase.http.api
Interface HttpServerIfc
-
- All Superinterfaces:
tigase.kernel.beans.RegistrarBean
- All Known Implementing Classes:
AbstractHttpServer,JavaStandaloneHttpServer
public interface HttpServerIfc extends tigase.kernel.beans.RegistrarBean- Author:
- andrzej
-
-
Field Summary
Fields Modifier and Type Field Description static intDEF_HTTP_PORT_VALstatic StringHTTP_PORT_KEYDeprecated.static StringHTTP_PORTS_KEYstatic StringPORT_DOMAIN_KEYstatic StringPORT_SOCKET_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddeploy(DeploymentInfo deployment)default DeploymentInfodeployment()List<Integer>getHTTPPorts()List<Integer>getHTTPSPorts()List<DeploymentInfo>listDeployed()default ServletInfoservlet(String name, Class<? extends javax.servlet.http.HttpServlet> servletClass)voidundeploy(DeploymentInfo deployment)
-
-
-
Field Detail
-
HTTP_PORT_KEY
@Deprecated static final String HTTP_PORT_KEY
Deprecated.- See Also:
- Constant Field Values
-
HTTP_PORTS_KEY
static final String HTTP_PORTS_KEY
- See Also:
- Constant Field Values
-
DEF_HTTP_PORT_VAL
static final int DEF_HTTP_PORT_VAL
- See Also:
- Constant Field Values
-
PORT_SOCKET_KEY
static final String PORT_SOCKET_KEY
- See Also:
- Constant Field Values
-
PORT_DOMAIN_KEY
static final String PORT_DOMAIN_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
listDeployed
List<DeploymentInfo> listDeployed()
-
deploy
void deploy(DeploymentInfo deployment)
-
undeploy
void undeploy(DeploymentInfo deployment)
-
deployment
default DeploymentInfo deployment()
-
servlet
default ServletInfo servlet(String name, Class<? extends javax.servlet.http.HttpServlet> servletClass)
-
-