Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3c774c496844ef4ba8320fb6e104db4d5c083aff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************************
 * Copyright (c) 2008 compeople AG and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * 	compeople AG (Stefan Liebig) - initial API and implementation
 *******************************************************************************/
package org.eclipse.core.internal.net.proxy.win32.winhttp;

/**
 * This holder class just helps passing parameters into a native function and retrieve information
 * from it.
 * <p>
 * The fields will be written/read by the jni glue code.
 * </p>
 */
public class AutoProxyHolder {

	public int autoDetectFlags;

	public String autoConfigUrl;

	/**
	 * Set the auto detect flags.
	 *
	 * @param autoDetectFlags
	 */
	public void setAutoDetectFlags(int autoDetectFlags) {
		this.autoDetectFlags= autoDetectFlags;
	}

	/**
	 * Get the auto config url.
	 *
	 * @return the auto config url (pac file)
	 */
	public String getAutoConfigUrl() {
		return autoConfigUrl;
	}

}

Back to the top