001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019: package org.apache.geronimo.tomcat.connector;
020:
021: public interface BaseHttp11Protocol {
022: //Http
023: public int getAcceptCount();
024:
025: public void setAcceptCount(int acceptCount);
026:
027: public String getAddress();
028:
029: public void setAddress(String address);
030:
031: public int getBufferSize();
032:
033: public void setBufferSize(int bufferSize);
034:
035: public String getCompressableMimeType();
036:
037: public void setCompressableMimeType(String compressableMimeType);
038:
039: public String getCompression();
040:
041: public void setCompression(String compression);
042:
043: public int getConnectionLinger();
044:
045: public void setConnectionLinger(int connectionLinger);
046:
047: public int getConnectionTimeout();
048:
049: public void setConnectionTimeout(int connectionTimeout);
050:
051: public String getExecutor();
052:
053: public void setExecutor(String executor);
054:
055: public String getHost();
056:
057: public void setHost(String host);
058:
059: public int getKeepAliveTimeout();
060:
061: public void setKeepAliveTimeout(int keepAliveTimeout);
062:
063: public boolean getDisableUploadTimeout();
064:
065: public void setDisableUploadTimeout(boolean disableUploadTimeout);
066:
067: public int getMaxHttpHeaderSize();
068:
069: public void setMaxHttpHeaderSize(int maxHttpHeaderSize);
070:
071: public int getMaxKeepAliveRequests();
072:
073: public void setMaxKeepAliveRequests(int maxKeepAliveRequests);
074:
075: public int getMaxThreads();
076:
077: public void setMaxThreads(int maxThreads);
078:
079: public int getMaxSpareThreads();
080:
081: public void setMaxSpareThreads(int maxSpareThreads);
082:
083: public int getMinSpareThreads();
084:
085: public void setMinSpareThreads(int minSpareThreads);
086:
087: public String getNoCompressionUserAgents();
088:
089: public void setNoCompressionUserAgents(
090: String noCompressionUserAgents);
091:
092: public int getPort();
093:
094: public void setPort(int port);
095:
096: public String getRestrictedUserAgents();
097:
098: public void setRestrictedUserAgents(String restrictedUserAgents);
099:
100: public String getServer();
101:
102: public void setServer(String server);
103:
104: public int getSocketBuffer();
105:
106: public void setSocketBuffer(int socketBuffer);
107:
108: public boolean getTcpNoDelay();
109:
110: public void setTcpNoDelay(boolean tcpNoDelay);
111:
112: public int getThreadPriority();
113:
114: public void setThreadPriority(int threadPriority);
115:
116: }
|