001 package org.apache.geronimo.tomcat; 002 003 import org.apache.geronimo.management.geronimo.WebConnector; 004 005 /** 006 * Tomcat-specific connector properties. For full documentation on all the 007 * available properties (not all are exposed yet), see 008 * http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html 009 * 010 * @version $Revision: 1.0$ 011 */ 012 public interface TomcatWebConnector extends WebConnector { 013 public boolean isEmptySessionPath(); 014 public void setEmptySessionPath(boolean emptySessionPath); 015 public int getMaxPostSize(); 016 public void setMaxPostSize(int bytes); 017 public int getMaxSavePostSize(); 018 public void setMaxSavePostSize(int kbytes); 019 public int getMinSpareThreads(); 020 public void setMinSpareThreads(int threads); 021 public int getMaxSpareThreads(); 022 public void setMaxSpareThreads(int threads); 023 public int getMaxHttpHeaderSizeBytes(); 024 public void setMaxHttpHeaderSizeBytes(int bytes); 025 public boolean isHostLookupEnabled(); 026 public void setHostLookupEnabled(boolean enabled); 027 public int getConnectionTimeoutMillis(); 028 public void setConnectionTimeoutMillis(int millis); 029 public boolean isUploadTimeoutEnabled(); 030 public void setUploadTimeoutEnabled(boolean enabled); 031 public int getSocketBuffer(); 032 public void setSocketBuffer(int bytes); 033 public boolean getUseBodyEncodingForURI(); 034 public void setUseBodyEncodingForURI(boolean enabled); 035 public int getMaxKeepAliveRequests(); 036 public void setMaxKeepAliveRequests(int maxKeepAliveRequests); 037 public void setAllowTrace(boolean allow); 038 public boolean getAllowTrace(); 039 public void setProxyName(String proxyName); 040 public String getProxyName(); 041 public void setProxyPort(int port); 042 public int getProxyPort(); 043 public void setScheme(String scheme); 044 public String getScheme(); 045 public void setUriEncoding(String scheme); 046 public String getUriEncoding(); 047 public void setUseIPVHosts(boolean useIPVHosts); 048 public boolean getUseIPVHosts(); 049 public void setXpoweredBy(boolean xpoweredBy); 050 public boolean getXpoweredBy(); 051 public void setCompressableMimeType(String compressableMimeType); 052 public String getCompressableMimeType(); 053 public void setCompression(String compression); 054 public String getCompression(); 055 public void setNoCompressionUserAgents(String noRestrictedUserAgents); 056 public String getNoCompressionUserAgents(); 057 public void setRestrictedUserAgents(String noRestrictedUserAgents); 058 public String getRestrictedUserAgents(); 059 public void setThreadPriority(int threadPriority); 060 public int getThreadPriority(); 061 public void setServer(String server); 062 public String getServer(); 063 public void setStrategy(String strategy); 064 public String getStrategy(); 065 }