public class TJWSServletServer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TJWSServletServer.FileMappingServe |
Modifier and Type | Field and Description |
---|---|
protected Properties |
props |
protected TJWSServletServer.FileMappingServe |
server |
Constructor and Description |
---|
TJWSServletServer() |
Modifier and Type | Method and Description |
---|---|
void |
addFileMapping(String context,
File directory) |
void |
addServlet(String bindPath,
javax.servlet.http.HttpServlet servlet) |
void |
addServlet(String bindPath,
javax.servlet.http.HttpServlet servlet,
Hashtable initParams) |
void |
addServlet(String bindPath,
javax.servlet.http.HttpServlet servlet,
Hashtable<String,String> initParams,
Hashtable<String,String> contextParams) |
void |
setBindAddress(String address) |
void |
setKeepAlive(boolean keepAlive) |
void |
setKeepAliveTimeout(long timeout) |
void |
setMaxKeepAliveConnections(int max) |
void |
setPort(int port) |
void |
setProps(Properties props) |
void |
setSessionTimeout(long timeout) |
void |
setSSLAlgorithm(String algorithm) |
void |
setSSLKeyStoreFile(String path) |
void |
setSSLKeyStorePass(String passwd) |
void |
setSSLKeyStoreType(String type) |
void |
setSSLPort(int port) |
void |
setSSLProtocol(String protocol) |
void |
setThreadPoolSize(int max) |
void |
start() |
void |
stop() |
protected TJWSServletServer.FileMappingServe server
protected Properties props
public void addServlet(String bindPath, javax.servlet.http.HttpServlet servlet)
public void addServlet(String bindPath, javax.servlet.http.HttpServlet servlet, Hashtable initParams)
public void addServlet(String bindPath, javax.servlet.http.HttpServlet servlet, Hashtable<String,String> initParams, Hashtable<String,String> contextParams)
public void setProps(Properties props)
public void setPort(int port)
public void setBindAddress(String address)
public void setSessionTimeout(long timeout)
public void setKeepAlive(boolean keepAlive)
public void setKeepAliveTimeout(long timeout)
public void setMaxKeepAliveConnections(int max)
public void setThreadPoolSize(int max)
public void setSSLAlgorithm(String algorithm)
public void setSSLKeyStoreFile(String path)
public void setSSLKeyStorePass(String passwd)
public void setSSLKeyStoreType(String type)
public void setSSLProtocol(String protocol)
public void setSSLPort(int port)
public void start()
public void stop()
Copyright © 2015 JBoss by Red Hat. All rights reserved.