|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.ProxySelector
com.ebay.sdk.util.SdkProxySelector
public class SdkProxySelector
Title: SdkProxySelector
Description: utility class for http proxy setting
Copyright: Copyright (c) 2009
Company: eBay Inc.
Constructor Summary | |
---|---|
SdkProxySelector(String proxyHost,
int proxyPort)
constructor, create a basic ProxySelector. |
|
SdkProxySelector(String proxyHost,
int proxyPort,
String username,
String password)
constructor, create a ProxySelector with username/password authentication. |
Method Summary | |
---|---|
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe)
Method called by the handlers when it failed to connect to one of the proxies returned by select(). |
void |
register()
register this ProxySelector, let the proxy setting take effect. |
List<Proxy> |
select(URI uri)
This is the method that the handlers will call. |
Methods inherited from class java.net.ProxySelector |
---|
getDefault, setDefault |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SdkProxySelector(String proxyHost, int proxyPort)
public SdkProxySelector(String proxyHost, int proxyPort, String username, String password)
Method Detail |
---|
public void connectFailed(URI uri, SocketAddress sa, IOException ioe)
connectFailed
in class ProxySelector
public List<Proxy> select(URI uri)
select
in class ProxySelector
public void register()
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The information contained in this document is proprietary and confidential.
Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc.
For information regarding a qualifying NDA, contact Developer Relations:
developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.