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.camel.component.http; 018 019 import java.io.Serializable; 020 021 /** 022 * @version $Revision: 934334 $ 023 */ 024 public class HttpConfiguration implements Serializable { 025 026 private AuthMethod authMethod; 027 private String authUsername; 028 private String authPassword; 029 private String authDomain; 030 private String authHost; 031 032 private AuthMethod proxyAuthMethod; 033 private String proxyAuthUsername; 034 private String proxyAuthPassword; 035 private String proxyAuthDomain; 036 private String proxyAuthHost; 037 038 private String proxyHost; 039 private int proxyPort; 040 private String authMethodPriority; 041 042 public String getAuthUsername() { 043 return authUsername; 044 } 045 046 public void setAuthUsername(String authUsername) { 047 this.authUsername = authUsername; 048 } 049 050 public String getAuthPassword() { 051 return authPassword; 052 } 053 054 public void setAuthPassword(String authPassword) { 055 this.authPassword = authPassword; 056 } 057 058 public String getAuthDomain() { 059 return authDomain; 060 } 061 062 public void setAuthDomain(String authDomain) { 063 this.authDomain = authDomain; 064 } 065 066 public String getAuthHost() { 067 return authHost; 068 } 069 070 public void setAuthHost(String authHost) { 071 this.authHost = authHost; 072 } 073 074 public String getProxyAuthUsername() { 075 return proxyAuthUsername; 076 } 077 078 public void setProxyAuthUsername(String proxyAuthUsername) { 079 this.proxyAuthUsername = proxyAuthUsername; 080 } 081 082 public String getProxyAuthPassword() { 083 return proxyAuthPassword; 084 } 085 086 public void setProxyAuthPassword(String proxyAuthPassword) { 087 this.proxyAuthPassword = proxyAuthPassword; 088 } 089 090 public String getProxyAuthDomain() { 091 return proxyAuthDomain; 092 } 093 094 public void setProxyAuthDomain(String proxyAuthDomain) { 095 this.proxyAuthDomain = proxyAuthDomain; 096 } 097 098 public String getProxyAuthHost() { 099 return proxyAuthHost; 100 } 101 102 public void setProxyAuthHost(String proxyAuthHost) { 103 this.proxyAuthHost = proxyAuthHost; 104 } 105 106 public AuthMethod getAuthMethod() { 107 return authMethod; 108 } 109 110 public void setAuthMethod(AuthMethod authMethod) { 111 this.authMethod = authMethod; 112 } 113 114 public AuthMethod getProxyAuthMethod() { 115 return proxyAuthMethod; 116 } 117 118 public void setProxyAuthMethod(AuthMethod proxyAuthMethod) { 119 this.proxyAuthMethod = proxyAuthMethod; 120 } 121 122 public String getProxyHost() { 123 return proxyHost; 124 } 125 126 public void setProxyHost(String proxyHost) { 127 this.proxyHost = proxyHost; 128 } 129 130 public int getProxyPort() { 131 return proxyPort; 132 } 133 134 public void setProxyPort(int proxyPort) { 135 this.proxyPort = proxyPort; 136 } 137 138 public String getAuthMethodPriority() { 139 return authMethodPriority; 140 } 141 142 public void setAuthMethodPriority(String authMethodPriority) { 143 this.authMethodPriority = authMethodPriority; 144 } 145 }