Class WSTCPTomcatProtocolHandlerBase
java.lang.Object
com.sun.xml.ws.transport.tcp.server.tomcat.WSTCPTomcatProtocolHandlerBase
- All Implemented Interfaces:
Runnable,org.apache.coyote.ProtocolHandler
public abstract class WSTCPTomcatProtocolHandlerBase
extends Object
implements org.apache.coyote.ProtocolHandler, Runnable
SOAP/TCP implementation of Tomcat ProtocolHandler, based on Grizzly 1.0
- Author:
- Alexey Stashok
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.coyote.AdaptergetAttribute(String string) intintintgetPort()intintvoidinit()voidpause()voidresume()voidsetAdapter(org.apache.coyote.Adapter adapter) voidsetAttribute(String string, Object object) voidsetMaxWorkerThreadsCount(int maxWorkerThreadsCount) voidsetMinWorkerThreadsCount(int minWorkerThreadsCount) voidsetPort(int port) voidsetReadThreadsCount(int readThreadsCount) voidsetRedirectHttpPort(int redirectHttpPort) voidstart()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.coyote.ProtocolHandler
addSslHostConfig, addUpgradeProtocol, awaitConnectionsClose, closeServerSocketGraceful, destroy, findSslHostConfigs, findUpgradeProtocols, getDesiredBufferSize, getExecutor, getId, getUtilityExecutor, isSendfileSupported, setExecutor, setUtilityExecutor, stop
-
Field Details
-
port
protected int port -
redirectHttpPort
protected int redirectHttpPort -
readThreadsCount
protected int readThreadsCount -
maxWorkerThreadsCount
protected int maxWorkerThreadsCount -
minWorkerThreadsCount
protected int minWorkerThreadsCount
-
-
Constructor Details
-
WSTCPTomcatProtocolHandlerBase
public WSTCPTomcatProtocolHandlerBase()
-
-
Method Details
-
setAttribute
-
getAttribute
-
getAttributeNames
-
setAdapter
public void setAdapter(org.apache.coyote.Adapter adapter) - Specified by:
setAdapterin interfaceorg.apache.coyote.ProtocolHandler
-
getAdapter
public org.apache.coyote.Adapter getAdapter()- Specified by:
getAdapterin interfaceorg.apache.coyote.ProtocolHandler
-
init
public void init()- Specified by:
initin interfaceorg.apache.coyote.ProtocolHandler
-
start
public void start()- Specified by:
startin interfaceorg.apache.coyote.ProtocolHandler
-
resume
- Specified by:
resumein interfaceorg.apache.coyote.ProtocolHandler- Throws:
Exception
-
pause
- Specified by:
pausein interfaceorg.apache.coyote.ProtocolHandler- Throws:
Exception
-
setPort
public void setPort(int port) -
getPort
public int getPort() -
setReadThreadsCount
public void setReadThreadsCount(int readThreadsCount) -
getReadThreadsCount
public int getReadThreadsCount() -
setMaxWorkerThreadsCount
public void setMaxWorkerThreadsCount(int maxWorkerThreadsCount) -
getMaxWorkerThreadsCount
public int getMaxWorkerThreadsCount() -
setMinWorkerThreadsCount
public void setMinWorkerThreadsCount(int minWorkerThreadsCount) -
getMinWorkerThreadsCount
public int getMinWorkerThreadsCount() -
setRedirectHttpPort
public void setRedirectHttpPort(int redirectHttpPort) -
getRedirectHttpPort
public int getRedirectHttpPort() -
toString
-