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 public void setAcceptCount(int acceptCount);
025 public String getAddress();
026 public void setAddress(String address);
027 public int getBufferSize();
028 public void setBufferSize(int bufferSize);
029 public String getCompressableMimeType();
030 public void setCompressableMimeType(String compressableMimeType);
031 public String getCompression();
032 public void setCompression(String compression);
033 public int getConnectionLinger();
034 public void setConnectionLinger(int connectionLinger);
035 public int getConnectionTimeout();
036 public void setConnectionTimeout(int connectionTimeout);
037 public String getExecutor();
038 public void setExecutor(String executor);
039 public String getHost();
040 public void setHost(String host);
041 public int getKeepAliveTimeout();
042 public void setKeepAliveTimeout(int keepAliveTimeout);
043 public boolean getDisableUploadTimeout();
044 public void setDisableUploadTimeout(boolean disableUploadTimeout);
045 public int getMaxHttpHeaderSize();
046 public void setMaxHttpHeaderSize(int maxHttpHeaderSize);
047 public int getMaxKeepAliveRequests();
048 public void setMaxKeepAliveRequests(int maxKeepAliveRequests);
049 public int getMaxThreads();
050 public void setMaxThreads(int maxThreads);
051 public int getMaxSpareThreads();
052 public void setMaxSpareThreads(int maxSpareThreads);
053 public int getMinSpareThreads();
054 public void setMinSpareThreads(int minSpareThreads);
055 public String getNoCompressionUserAgents();
056 public void setNoCompressionUserAgents(String noCompressionUserAgents);
057 public int getPort();
058 public void setPort(int port);
059 public String getRestrictedUserAgents();
060 public void setRestrictedUserAgents(String restrictedUserAgents);
061 public String getServer();
062 public void setServer(String server);
063 public int getSocketBuffer();
064 public void setSocketBuffer(int socketBuffer);
065 public boolean getTcpNoDelay();
066 public void setTcpNoDelay(boolean tcpNoDelay);
067 public int getThreadPriority();
068 public void setThreadPriority(int threadPriority);
069
070 }