- 
Method Summary
void
 void
 
Set the number of acceptor threads to use. 
 void
 
Sets the maximum number of concurrent connections. 
 void
 
Set the number of selector threads to use. 
 void
 setThreadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool)
Set the ThreadPoolthat should be used by theServer.
 
 void
 
Set if x-forward-* headers should be processed. 
 
 
 
 
- 
Method Details
- 
setAcceptorsvoid setAcceptors(int acceptors) Set the number of acceptor threads to use. 
- Parameters:
- acceptors- the number of acceptor threads to use
 
- 
setThreadPoolvoid setThreadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool) Set the ThreadPoolthat should be used by theServer. If set tonull(default), theServercreates aThreadPoolimplicitly.
 
- Parameters:
- threadPool- the ThreadPool to be used
 
- 
setSelectorsvoid setSelectors(int selectors) Set the number of selector threads to use. 
- Parameters:
- selectors- the number of selector threads to use
 
- 
- 
addServerCustomizers
- Parameters:
- customizers- the customizers to add
 
- 
setMaxConnectionsvoid setMaxConnections(int maxConnections) Sets the maximum number of concurrent connections. 
- Parameters:
- maxConnections- the maximum number of concurrent connections
- Since:
- 3.2.0