|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzj.unicore.wsrflite.jetty.JettyServer
public class JettyServer
a Jetty server hosting an xfire servlet
| Field Summary | |
|---|---|
protected static HashMap<String,Integer> |
defaults
|
static String |
FAST_SESSION_ID
use faster (but less secure) session ID generator default: false |
static String |
LOW_RESOURCE_MAX_IDLE_TIME
in low resource conditions, time (in ms.) before an idle connection will time out (default: 5000) |
static String |
LOW_THREADS
lowThreads is a threshold indicator. |
static String |
MAX_IDLE_TIME
time (in ms.) before an idle connection will time out (default: 30000) |
static String |
MAX_THREADS
maximum nuber of threads to have in the Jetty thread pool (default: 255) |
static String |
MIN_THREADS
minimum nuber of threads to have in the Jetty thread pool (default: 1) |
static String |
SO_LINGER_TIME
Socket linger time default: not set |
| Constructor Summary | |
|---|---|
JettyServer()
|
|
JettyServer(org.mortbay.jetty.webapp.WebAppContext webappCtx)
|
|
| Method Summary | |
|---|---|
protected void |
addServlets()
|
protected void |
addWebApplication(org.mortbay.jetty.webapp.WebAppContext webapp)
|
protected void |
configureConnector(org.mortbay.jetty.AbstractConnector http)
|
void |
configureHandlers()
Set up the handler structure to receive a webapp. |
protected void |
configureServer()
|
protected org.mortbay.jetty.AbstractConnector |
createConnector(int port,
String host)
|
protected org.mortbay.jetty.AbstractConnector |
createSecureConnector(int port,
String host)
|
org.mortbay.jetty.servlet.Context |
getRootContext()
|
org.mortbay.jetty.Server |
getServer()
get the Jetty server |
String |
getUrl()
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MIN_THREADS
public static final String MAX_THREADS
public static final String LOW_THREADS
public static final String MAX_IDLE_TIME
public static final String LOW_RESOURCE_MAX_IDLE_TIME
LOW_THREADS,
Constant Field Valuespublic static final String SO_LINGER_TIME
public static final String FAST_SESSION_ID
protected static final HashMap<String,Integer> defaults
| Constructor Detail |
|---|
public JettyServer()
throws Exception
Exception
public JettyServer(org.mortbay.jetty.webapp.WebAppContext webappCtx)
throws Exception
Exception| Method Detail |
|---|
public void start()
throws Exception
Exception
public void stop()
throws Exception
Exceptionprotected void configureServer()
protected org.mortbay.jetty.AbstractConnector createConnector(int port,
String host)
public void configureHandlers()
throws Exception
Exception
protected void addWebApplication(org.mortbay.jetty.webapp.WebAppContext webapp)
throws Exception
Exceptionorg.mortbay.jetty.plugin.util.JettyPluginServer#addWebApplication(java.lang.Object)
protected org.mortbay.jetty.AbstractConnector createSecureConnector(int port,
String host)
protected void configureConnector(org.mortbay.jetty.AbstractConnector http)
protected void addServlets()
throws Exception
Exceptionpublic org.mortbay.jetty.servlet.Context getRootContext()
public String getUrl()
public org.mortbay.jetty.Server getServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||