1 package org.apache.geronimo.tomcat; 2 3 import org.apache.geronimo.management.geronimo.WebConnector; 4 5 /** 6 * Tomcat-specific connector properties. For full documentation on all the 7 * available properties (not all are exposed yet), see 8 * http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html 9 * 10 * @version $Revision: 1.0$ 11 */ 12 public interface TomcatWebConnector extends WebConnector { 13 public boolean isEmptySessionPath(); 14 public void setEmptySessionPath(boolean emptySessionPath); 15 public int getMaxPostSize(); 16 public void setMaxPostSize(int bytes); 17 public int getMaxSavePostSize(); 18 public void setMaxSavePostSize(int kbytes); 19 public int getMinSpareThreads(); 20 public void setMinSpareThreads(int threads); 21 public int getMaxSpareThreads(); 22 public void setMaxSpareThreads(int threads); 23 public int getMaxHttpHeaderSizeBytes(); 24 public void setMaxHttpHeaderSizeBytes(int bytes); 25 public boolean isHostLookupEnabled(); 26 public void setHostLookupEnabled(boolean enabled); 27 public int getConnectionTimeoutMillis(); 28 public void setConnectionTimeoutMillis(int millis); 29 public boolean isUploadTimeoutEnabled(); 30 public void setUploadTimeoutEnabled(boolean enabled); 31 public int getSocketBuffer(); 32 public void setSocketBuffer(int bytes); 33 public boolean getUseBodyEncodingForURI(); 34 public void setUseBodyEncodingForURI(boolean enabled); 35 public int getMaxKeepAliveRequests(); 36 public void setMaxKeepAliveRequests(int maxKeepAliveRequests); 37 public void setAllowTrace(boolean allow); 38 public boolean getAllowTrace(); 39 public void setProxyName(String proxyName); 40 public String getProxyName(); 41 public void setProxyPort(int port); 42 public int getProxyPort(); 43 public void setScheme(String scheme); 44 public String getScheme(); 45 public void setUriEncoding(String scheme); 46 public String getUriEncoding(); 47 public void setUseIPVHosts(boolean useIPVHosts); 48 public boolean getUseIPVHosts(); 49 public void setXpoweredBy(boolean xpoweredBy); 50 public boolean getXpoweredBy(); 51 public void setCompressableMimeType(String compressableMimeType); 52 public String getCompressableMimeType(); 53 public void setCompression(String compression); 54 public String getCompression(); 55 public void setNoCompressionUserAgents(String noRestrictedUserAgents); 56 public String getNoCompressionUserAgents(); 57 public void setRestrictedUserAgents(String noRestrictedUserAgents); 58 public String getRestrictedUserAgents(); 59 public void setThreadPriority(int threadPriority); 60 public int getThreadPriority(); 61 public void setServer(String server); 62 public String getServer(); 63 public void setStrategy(String strategy); 64 public String getStrategy(); 65 }