KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > geronimo > tomcat > TomcatWebConnector


1 /**
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.geronimo.tomcat;
18
19 import org.apache.geronimo.management.geronimo.WebConnector;
20
21 /**
22  * Tomcat-specific connector properties. For full documentation on all the
23  * available properties (not all are exposed yet), see
24  * http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html
25  *
26  * @version $Revision: 1.0$
27  */

28 public interface TomcatWebConnector extends WebConnector {
29     public boolean isEmptySessionPath();
30     public void setEmptySessionPath(boolean emptySessionPath);
31     public int getMaxPostSize();
32     public void setMaxPostSize(int bytes);
33     public int getMaxSavePostSize();
34     public void setMaxSavePostSize(int kbytes);
35     public int getMinSpareThreads();
36     public void setMinSpareThreads(int threads);
37     public int getMaxSpareThreads();
38     public void setMaxSpareThreads(int threads);
39     public int getMaxHttpHeaderSizeBytes();
40     public void setMaxHttpHeaderSizeBytes(int bytes);
41     public boolean isHostLookupEnabled();
42     public void setHostLookupEnabled(boolean enabled);
43     public int getConnectionTimeoutMillis();
44     public void setConnectionTimeoutMillis(int millis);
45     public boolean isUploadTimeoutEnabled();
46     public void setUploadTimeoutEnabled(boolean enabled);
47     public int getSocketBuffer();
48     public void setSocketBuffer(int bytes);
49     public boolean getUseBodyEncodingForURI();
50     public void setUseBodyEncodingForURI(boolean enabled);
51     public int getMaxKeepAliveRequests();
52     public void setMaxKeepAliveRequests(int maxKeepAliveRequests);
53     public void setAllowTrace(boolean allow);
54     public boolean getAllowTrace();
55     public void setProxyName(String JavaDoc proxyName);
56     public String JavaDoc getProxyName();
57     public void setProxyPort(int port);
58     public int getProxyPort();
59     public void setScheme(String JavaDoc scheme);
60     public String JavaDoc getScheme();
61     public void setUriEncoding(String JavaDoc scheme);
62     public String JavaDoc getUriEncoding();
63     public void setUseIPVHosts(boolean useIPVHosts);
64     public boolean getUseIPVHosts();
65     public void setXpoweredBy(boolean xpoweredBy);
66     public boolean getXpoweredBy();
67     public void setCompressableMimeType(String JavaDoc compressableMimeType);
68     public String JavaDoc getCompressableMimeType();
69     public void setCompression(String JavaDoc compression);
70     public String JavaDoc getCompression();
71     public void setNoCompressionUserAgents(String JavaDoc noRestrictedUserAgents);
72     public String JavaDoc getNoCompressionUserAgents();
73     public void setRestrictedUserAgents(String JavaDoc noRestrictedUserAgents);
74     public String JavaDoc getRestrictedUserAgents();
75     public void setThreadPriority(int threadPriority);
76     public int getThreadPriority();
77     public void setServer(String JavaDoc server);
78     public String JavaDoc getServer();
79     public void setStrategy(String JavaDoc strategy);
80     public String JavaDoc getStrategy();
81 }
82
Popular Tags