001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements. See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License. You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017 package org.apache.servicemix.http;
018
019 public interface HttpConfigurationMBean {
020
021 boolean isStreamingEnabled();
022
023 void setStreamingEnabled(boolean streamingEnabled);
024
025 String getJettyConnectorClassName();
026
027 void setJettyConnectorClassName(String jettyConnectorClassName);
028
029 int getJettyThreadPoolSize();
030
031 void setJettyThreadPoolSize(int jettyThreadPoolSize);
032
033 int getJettyClientThreadPoolSize();
034
035 void setJettyClientThreadPoolSize(int jettyClientThreadPoolSize);
036
037 boolean isJettyClientPerProvider();
038
039 void setJettyClientPerProvider(boolean jettyClientPerProvider);
040
041 int getMaxConnectionsPerHost();
042
043 void setMaxConnectionsPerHost(int maxConnectionsPerHost);
044
045 int getMaxTotalConnections();
046
047 void setMaxTotalConnections(int maxTotalConnections);
048
049 String getKeystoreManagerName();
050
051 void setKeystoreManagerName(String name);
052
053 String getAuthenticationServiceName();
054
055 void setAuthenticationServiceName(String name);
056
057 boolean isJettyManagement();
058
059 void setJettyManagement(boolean jettyManagement);
060
061 int getConnectorMaxIdleTime();
062
063 void setConnectorMaxIdleTime(int connectorMaxIdleTime);
064
065 int getConsumerProcessorSuspendTime();
066
067 void setConsumerProcessorSuspendTime(int consumerProcessorSuspendTime);
068
069 int getRetryCount();
070
071 void setRetryCount(int retryCount);
072
073 String getProxyHost();
074
075 void setProxyHost(String name);
076
077 int getProxyPort();
078
079 void setProxyPort(int name);
080
081 boolean isWantHeadersFromHttpIntoExchange();
082
083 void setWantHeadersFromHttpIntoExchange(boolean wantHeadersFromHttpIntoExchange);
084
085 }