public class CoyoteConnectorLauncher extends Object implements ProtocolHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.glassfish.grizzly.http.server.HttpHandler |
adapter |
protected Map<String,Object> |
attributes |
protected boolean |
blocking |
protected String |
compression
Compression value.
|
protected boolean |
disableUploadTimeout |
protected int |
maxHttpHeaderSize |
protected int |
maxPostSize |
protected int |
requestBufferSize
The input request buffer size.
|
protected boolean |
secure |
protected String |
selectorThreadImpl
The
SelectorThread implementation class. |
protected int |
socketCloseDelay |
protected String |
socketFactoryName |
protected String |
sslImplementationName |
protected int |
timeout |
| Constructor and Description |
|---|
CoyoteConnectorLauncher() |
CoyoteConnectorLauncher(boolean secure,
boolean blocking,
String selectorThreadImpl) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getAlgorithm() |
Object |
getAttribute(String key) |
boolean |
getBlocking() |
int |
getBufferSize()
Return the request input buffer size
|
String |
getCiphers() |
String |
getClientauth() |
String |
getCompression() |
boolean |
getDisableUploadTimeout() |
org.glassfish.grizzly.http.server.HttpHandler |
getHandler() |
String |
getKeyAlias() |
String |
getKeypass() |
String |
getKeystore() |
String |
getKeytype() |
int |
getMaxHttpHeaderSize() |
int |
getMaxKeepAliveRequests() |
int |
getMaxPostSize() |
String |
getProperty(String name)
Get a property
|
String |
getProtocol() |
String |
getProtocols() |
String |
getReportedname() |
boolean |
getSecure() |
int |
getSocketCloseDelay() |
String |
getSocketFactory() |
String |
getSSLImplementation() |
int |
getTimeout() |
void |
init()
Start the protocol
|
void |
setAlgorithm(String k) |
void |
setAttribute(String name,
Object value)
Pass config info
|
void |
setBlocking(boolean b) |
void |
setBufferSize(int requestBufferSize)
Set the request input buffer size
|
void |
setCiphers(String ciphers) |
void |
setClientauth(String k) |
void |
setCompression(String valueS) |
void |
setDisableUploadTimeout(boolean isDisabled) |
void |
setHandler(org.glassfish.grizzly.http.server.HttpHandler adapter)
The adapter, used to call the connector
|
void |
setKeyAlias(String keyAlias) |
void |
setKeypass(String k) |
void |
setKeystore(String k) |
void |
setKeytype(String k) |
void |
setMaxHttpHeaderSize(int valueI) |
void |
setMaxKeepAliveRequests(int mkar)
Set the maximum number of Keep-Alive requests that we will honor.
|
void |
setMaxPostSize(int valueI) |
void |
setProperty(String name,
String value)
Set a property.
|
void |
setProtocol(String k) |
void |
setProtocols(String k) |
void |
setReportedname(String reportedName) |
void |
setSecure(boolean b) |
void |
setSocketCloseDelay(int d) |
void |
setSocketFactory(String valueS) |
void |
setSSLImplementation(String valueS) |
void |
setTimeout(int timeouts) |
void |
setTruststore(String truststore) |
void |
setTruststoreType(String truststoreType) |
void |
start()
Start the protocol.
|
protected static ServerSocketFactory |
string2SocketFactory(String val) |
protected boolean blocking
protected String selectorThreadImpl
SelectorThread implementation class. Not used when
Coyote is used.protected boolean secure
protected String socketFactoryName
protected String sslImplementationName
protected int timeout
protected int maxPostSize
protected int maxHttpHeaderSize
protected int socketCloseDelay
protected boolean disableUploadTimeout
protected org.glassfish.grizzly.http.server.HttpHandler adapter
protected int requestBufferSize
protected String compression
public CoyoteConnectorLauncher()
public CoyoteConnectorLauncher(boolean secure,
boolean blocking,
String selectorThreadImpl)
public int getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(int valueI)
public void setAttribute(String name, Object value)
setAttribute in interface ProtocolHandlerpublic Object getAttribute(String key)
getAttribute in interface ProtocolHandlerpublic void setHandler(org.glassfish.grizzly.http.server.HttpHandler adapter)
setHandler in interface ProtocolHandlerpublic org.glassfish.grizzly.http.server.HttpHandler getHandler()
getHandler in interface ProtocolHandlerpublic void init()
throws Exception
init in interface ProtocolHandlerExceptionpublic void start()
throws Exception
ProtocolHandlerstart in interface ProtocolHandlerExceptionpublic void destroy()
throws Exception
destroy in interface ProtocolHandlerExceptionpublic String getSocketFactory()
public void setSocketFactory(String valueS)
public String getSSLImplementation()
public void setSSLImplementation(String valueS)
public boolean getDisableUploadTimeout()
public void setDisableUploadTimeout(boolean isDisabled)
public String getCompression()
public void setCompression(String valueS)
public int getMaxPostSize()
public void setMaxPostSize(int valueI)
public String getKeystore()
public void setKeystore(String k)
public String getKeypass()
public void setKeypass(String k)
public String getKeytype()
public void setKeytype(String k)
public void setTruststore(String truststore)
public void setTruststoreType(String truststoreType)
public String getClientauth()
public void setClientauth(String k)
public String getProtocol()
public void setProtocol(String k)
public String getProtocols()
public void setProtocols(String k)
public String getAlgorithm()
public void setAlgorithm(String k)
public boolean getSecure()
public void setSecure(boolean b)
public boolean getBlocking()
public void setBlocking(boolean b)
public String getCiphers()
public void setCiphers(String ciphers)
public String getKeyAlias()
public void setKeyAlias(String keyAlias)
public int getMaxKeepAliveRequests()
public void setMaxKeepAliveRequests(int mkar)
public int getSocketCloseDelay()
public void setSocketCloseDelay(int d)
protected static ServerSocketFactory string2SocketFactory(String val) throws ClassNotFoundException, IllegalAccessException, InstantiationException
public int getTimeout()
public void setTimeout(int timeouts)
public String getReportedname()
public void setReportedname(String reportedName)
public void setBufferSize(int requestBufferSize)
public int getBufferSize()
Copyright © 2017. All rights reserved.