Class CoyoteConnectorLauncher

  • All Implemented Interfaces:
    ProtocolHandler
    Direct Known Subclasses:
    DummyConnectorLauncher

    public class CoyoteConnectorLauncher
    extends Object
    implements ProtocolHandler
    Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.
    Author:
    Remy Maucherat, Costin Manolache
    • Field Detail

      • blocking

        protected boolean blocking
      • selectorThreadImpl

        protected String selectorThreadImpl
        The SelectorThread implementation class. Not used when Coyote is used.
      • secure

        protected boolean secure
      • socketFactoryName

        protected String socketFactoryName
      • sslImplementationName

        protected String sslImplementationName
      • timeout

        protected int timeout
      • maxPostSize

        protected int maxPostSize
      • maxHttpHeaderSize

        protected int maxHttpHeaderSize
      • socketCloseDelay

        protected int socketCloseDelay
      • disableUploadTimeout

        protected boolean disableUploadTimeout
      • adapter

        protected org.glassfish.grizzly.http.server.HttpHandler adapter
      • requestBufferSize

        protected int requestBufferSize
        The input request buffer size.
      • compression

        protected String compression
        Compression value.
    • Constructor Detail

      • CoyoteConnectorLauncher

        public CoyoteConnectorLauncher()
      • CoyoteConnectorLauncher

        public CoyoteConnectorLauncher​(boolean secure,
                                       boolean blocking,
                                       String selectorThreadImpl)
    • Method Detail

      • getMaxHttpHeaderSize

        public int getMaxHttpHeaderSize()
      • setMaxHttpHeaderSize

        public void setMaxHttpHeaderSize​(int valueI)
      • setProperty

        public void setProperty​(String name,
                                String value)
        Set a property.
      • getProperty

        public String getProperty​(String name)
        Get a property
      • setHandler

        public void setHandler​(org.glassfish.grizzly.http.server.HttpHandler adapter)
        The adapter, used to call the connector
        Specified by:
        setHandler in interface ProtocolHandler
      • getHandler

        public org.glassfish.grizzly.http.server.HttpHandler getHandler()
        Specified by:
        getHandler in interface ProtocolHandler
      • getSocketFactory

        public String getSocketFactory()
      • setSocketFactory

        public void setSocketFactory​(String valueS)
      • getSSLImplementation

        public String getSSLImplementation()
      • setSSLImplementation

        public void setSSLImplementation​(String valueS)
      • getDisableUploadTimeout

        public boolean getDisableUploadTimeout()
      • setDisableUploadTimeout

        public void setDisableUploadTimeout​(boolean isDisabled)
      • getCompression

        public String getCompression()
      • setCompression

        public void setCompression​(String valueS)
      • getMaxPostSize

        public int getMaxPostSize()
      • setMaxPostSize

        public void setMaxPostSize​(int valueI)
      • getKeystore

        public String getKeystore()
      • setKeystore

        public void setKeystore​(String k)
      • getKeypass

        public String getKeypass()
      • setKeypass

        public void setKeypass​(String k)
      • getKeytype

        public String getKeytype()
      • setKeytype

        public void setKeytype​(String k)
      • setTruststore

        public void setTruststore​(String truststore)
      • setTruststoreType

        public void setTruststoreType​(String truststoreType)
      • getClientauth

        public String getClientauth()
      • setClientauth

        public void setClientauth​(String k)
      • getProtocol

        public String getProtocol()
      • setProtocol

        public void setProtocol​(String k)
      • getProtocols

        public String getProtocols()
      • setProtocols

        public void setProtocols​(String k)
      • getAlgorithm

        public String getAlgorithm()
      • setAlgorithm

        public void setAlgorithm​(String k)
      • getSecure

        public boolean getSecure()
      • setSecure

        public void setSecure​(boolean b)
      • getBlocking

        public boolean getBlocking()
      • setBlocking

        public void setBlocking​(boolean b)
      • getCiphers

        public String getCiphers()
      • setCiphers

        public void setCiphers​(String ciphers)
      • getKeyAlias

        public String getKeyAlias()
      • setKeyAlias

        public void setKeyAlias​(String keyAlias)
      • getMaxKeepAliveRequests

        public int getMaxKeepAliveRequests()
      • setMaxKeepAliveRequests

        public void setMaxKeepAliveRequests​(int mkar)
        Set the maximum number of Keep-Alive requests that we will honor.
      • getSocketCloseDelay

        public int getSocketCloseDelay()
      • setSocketCloseDelay

        public void setSocketCloseDelay​(int d)
      • getTimeout

        public int getTimeout()
      • setTimeout

        public void setTimeout​(int timeouts)
      • getReportedname

        public String getReportedname()
      • setReportedname

        public void setReportedname​(String reportedName)
      • setBufferSize

        public void setBufferSize​(int requestBufferSize)
        Set the request input buffer size
      • getBufferSize

        public int getBufferSize()
        Return the request input buffer size