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 int
DEF_HTTP_PORT_VAL
static String
HTTP_PORT_KEY
Deprecated.static String
HTTP_PORTS_KEY
static String
PORT_DOMAIN_KEY
static String
PORT_SOCKET_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
deploy(DeploymentInfo deployment)
default DeploymentInfo
deployment()
List<Integer>
getHTTPPorts()
List<Integer>
getHTTPSPorts()
List<DeploymentInfo>
listDeployed()
default ServletInfo
servlet(String name, Class<? extends javax.servlet.http.HttpServlet> servletClass)
void
undeploy(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)
-
-