public abstract class WSTCPTomcatProtocolHandlerBase extends Object implements org.apache.coyote.ProtocolHandler, Runnable
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxWorkerThreadsCount |
protected int |
minWorkerThreadsCount |
protected int |
port |
protected int |
readThreadsCount |
protected int |
redirectHttpPort |
| Constructor and Description |
|---|
WSTCPTomcatProtocolHandlerBase() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.coyote.Adapter |
getAdapter() |
Object |
getAttribute(String string) |
Iterator |
getAttributeNames() |
int |
getMaxWorkerThreadsCount() |
int |
getMinWorkerThreadsCount() |
int |
getPort() |
int |
getReadThreadsCount() |
int |
getRedirectHttpPort() |
void |
init() |
void |
pause() |
void |
resume() |
void |
setAdapter(org.apache.coyote.Adapter adapter) |
void |
setAttribute(String string,
Object object) |
void |
setMaxWorkerThreadsCount(int maxWorkerThreadsCount) |
void |
setMinWorkerThreadsCount(int minWorkerThreadsCount) |
void |
setPort(int port) |
void |
setReadThreadsCount(int readThreadsCount) |
void |
setRedirectHttpPort(int redirectHttpPort) |
void |
start() |
String |
toString() |
protected int port
protected int redirectHttpPort
protected int readThreadsCount
protected int maxWorkerThreadsCount
protected int minWorkerThreadsCount
public void setAttribute(String string, Object object)
setAttribute in interface org.apache.coyote.ProtocolHandlerpublic Object getAttribute(String string)
getAttribute in interface org.apache.coyote.ProtocolHandlerpublic Iterator getAttributeNames()
public void setAdapter(org.apache.coyote.Adapter adapter)
setAdapter in interface org.apache.coyote.ProtocolHandlerpublic org.apache.coyote.Adapter getAdapter()
getAdapter in interface org.apache.coyote.ProtocolHandlerpublic void init()
throws Exception
init in interface org.apache.coyote.ProtocolHandlerExceptionpublic void start()
throws Exception
start in interface org.apache.coyote.ProtocolHandlerExceptionpublic void setPort(int port)
public int getPort()
public void setReadThreadsCount(int readThreadsCount)
public int getReadThreadsCount()
public void setMaxWorkerThreadsCount(int maxWorkerThreadsCount)
public int getMaxWorkerThreadsCount()
public void setMinWorkerThreadsCount(int minWorkerThreadsCount)
public int getMinWorkerThreadsCount()
public void setRedirectHttpPort(int redirectHttpPort)
public int getRedirectHttpPort()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.