2
* Copyright (c) 2001-2006 Ant-Contrib project. All rights reserved.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
8
* http://www.apache.org/licenses/LICENSE-2.0
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
16
package net.sf.antcontrib.net.httpclient;
18
public class Credentials {
20
private int port = -1;
22
private String scheme;
23
private String username;
24
private String password;
26
public String getPassword() {
29
public void setPassword(String password) {
30
this.password = password;
32
public String getUsername() {
35
public void setUsername(String username) {
36
this.username = username;
38
public String getHost() {
41
public void setHost(String host) {
44
public int getPort() {
47
public void setPort(int port) {
50
public String getRealm() {
53
public void setRealm(String realm) {
56
public String getScheme() {
59
public void setScheme(String scheme) {
b'\\ No newline at end of file'