Package net.officefloor.servlet.tomcat
Class OfficeFloorProtocol
- java.lang.Object
-
- org.apache.coyote.AbstractProtocol<java.lang.Void>
-
- net.officefloor.servlet.tomcat.OfficeFloorProtocol
-
- All Implemented Interfaces:
javax.management.MBeanRegistration
,org.apache.coyote.ProtocolHandler
public class OfficeFloorProtocol extends org.apache.coyote.AbstractProtocol<java.lang.Void>
OfficeFloor
ProtocolHandler
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorProtocol()
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSslHostConfig(org.apache.tomcat.util.net.SSLHostConfig sslHostConfig)
void
addUpgradeProtocol(org.apache.coyote.UpgradeProtocol upgradeProtocol)
protected org.apache.coyote.Processor
createProcessor()
protected org.apache.coyote.Processor
createUpgradeProcessor(org.apache.tomcat.util.net.SocketWrapperBase<?> socket, org.apache.coyote.UpgradeToken upgradeToken)
org.apache.tomcat.util.net.SSLHostConfig[]
findSslHostConfigs()
org.apache.coyote.UpgradeProtocol[]
findUpgradeProtocols()
protected org.apache.juli.logging.Log
getLog()
protected java.lang.String
getNamePrefix()
protected org.apache.coyote.UpgradeProtocol
getNegotiatedProtocol(java.lang.String name)
OfficeFloorEndPoint
getOfficeFloorEndPoint()
Obtains theOfficeFloorEndPoint
.protected java.lang.String
getProtocolName()
protected org.apache.coyote.UpgradeProtocol
getUpgradeProtocol(java.lang.String name)
-
Methods inherited from class org.apache.coyote.AbstractProtocol
addWaitingProcessor, awaitConnectionsClose, closeServerSocketGraceful, destroy, getAcceptCount, getAcceptorThreadCount, getAcceptorThreadPriority, getAdapter, getAddress, getClientCertProvider, getConnectionCount, getConnectionLinger, getConnectionTimeout, getDomain, getEndpoint, getExecutor, getGlobalRequestProcessorMBeanName, getHandler, getId, getKeepAliveTimeout, getLocalPort, getMaxConnections, getMaxHeaderCount, getMaxThreads, getMinSpareThreads, getName, getNameIndex, getObjectName, getPort, getPortOffset, getPortWithOffset, getProcessorCache, getProperty, getTcpNoDelay, getThreadPriority, getUtilityExecutor, getWaitingProcessorCount, init, isAprRequired, isPaused, isSendfileSupported, pause, postDeregister, postRegister, preDeregister, preRegister, removeWaitingProcessor, resume, setAcceptCount, setAcceptorThreadCount, setAcceptorThreadPriority, setAdapter, setAddress, setClientCertProvider, setConnectionLinger, setConnectionTimeout, setExecutor, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxHeaderCount, setMaxThreads, setMinSpareThreads, setPort, setPortOffset, setProcessorCache, setProperty, setTcpNoDelay, setThreadPriority, setUtilityExecutor, start, startAsyncTimeout, stop, stopAsyncTimeout
-
-
-
-
Method Detail
-
getOfficeFloorEndPoint
public OfficeFloorEndPoint getOfficeFloorEndPoint()
Obtains theOfficeFloorEndPoint
.- Returns:
OfficeFloorEndPoint
.
-
getLog
protected org.apache.juli.logging.Log getLog()
- Specified by:
getLog
in classorg.apache.coyote.AbstractProtocol<java.lang.Void>
-
getNamePrefix
protected java.lang.String getNamePrefix()
- Specified by:
getNamePrefix
in classorg.apache.coyote.AbstractProtocol<java.lang.Void>
-
getProtocolName
protected java.lang.String getProtocolName()
- Specified by:
getProtocolName
in classorg.apache.coyote.AbstractProtocol<java.lang.Void>
-
addSslHostConfig
public void addSslHostConfig(org.apache.tomcat.util.net.SSLHostConfig sslHostConfig)
-
findSslHostConfigs
public org.apache.tomcat.util.net.SSLHostConfig[] findSslHostConfigs()
-
addUpgradeProtocol
public void addUpgradeProtocol(org.apache.coyote.UpgradeProtocol upgradeProtocol)
-
findUpgradeProtocols
public org.apache.coyote.UpgradeProtocol[] findUpgradeProtocols()
-
getNegotiatedProtocol
protected org.apache.coyote.UpgradeProtocol getNegotiatedProtocol(java.lang.String name)
- Specified by:
getNegotiatedProtocol
in classorg.apache.coyote.AbstractProtocol<java.lang.Void>
-
getUpgradeProtocol
protected org.apache.coyote.UpgradeProtocol getUpgradeProtocol(java.lang.String name)
- Specified by:
getUpgradeProtocol
in classorg.apache.coyote.AbstractProtocol<java.lang.Void>
-
createProcessor
protected org.apache.coyote.Processor createProcessor()
- Specified by:
createProcessor
in classorg.apache.coyote.AbstractProtocol<java.lang.Void>
-
createUpgradeProcessor
protected org.apache.coyote.Processor createUpgradeProcessor(org.apache.tomcat.util.net.SocketWrapperBase<?> socket, org.apache.coyote.UpgradeToken upgradeToken)
- Specified by:
createUpgradeProcessor
in classorg.apache.coyote.AbstractProtocol<java.lang.Void>
-
-