HomeSort by relevance Sort by last modified time
    Searched refs:Proxy (Results 26 - 50 of 331) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/apache-http/src/org/apache/http/impl/conn/
ProxySelectorRoutePlanner.java 37 import java.net.Proxy;
60 * By default, it will pick up the proxy settings of the JVM, either
77 /** The proxy selector to use, or <code>null</code> for system default. */
82 * Creates a new proxy selector route planner.
85 * @param prosel the proxy selector, or
101 * Obtains the proxy selector to use.
103 * @return the proxy selector, or <code>null</code> for the system default
111 * Sets the proxy selector to use.
113 * @param prosel the proxy selector, or
151 // If the client or request explicitly specifies a proxy (or n
153 HttpHost proxy = (HttpHost) request.getParams().getParameter(ConnRoutePNames.DEFAULT_PROXY); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
HttpURLConnectionTest.java 25 import java.net.Proxy;
96 "HTTP/1.0 407 Proxy authentication required\n"
97 + "Proxy-authenticate: Basic realm=\"remotehost\"\n\n")
108 request.toLowerCase().indexOf("proxy-authorization:") > 0;
122 // proxy port
128 * Creates proxy selector instance.
129 * Selector will return the proxy, only if the connection
132 * Address of the returned proxy will be localhost:proxy_port.
140 public java.util.List<Proxy> select(URI uri) {
141 Proxy proxy = Proxy.NO_PROXY local
189 MockServer proxy = new MockServer("proxy"); local
229 MockServer proxy = new MockServer("proxy"); local
283 MockProxyServer proxy = new MockProxyServer("ProxyServer"); local
    [all...]
  /art/test/044-proxy/src/
Clash2.java 20 import java.lang.reflect.Proxy;
23 * Try to instantiate a proxy class with interfaces that have conflicting
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
55 public Object invoke(Object proxy, Method method, Object[] args)
Clash3.java 20 import java.lang.reflect.Proxy;
23 * Try to instantiate a proxy class with interfaces that have conflicting
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
70 public Object invoke(Object proxy, Method method, Object[] args)
ConstructorProxy.java 20 import java.lang.reflect.Proxy;
36 Class<?> proxyClass = Proxy.getProxyClass(
43 // not using the non-proxy ArtMethod
49 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
NativeProxy.java 23 import java.lang.reflect.Proxy;
28 * Test invoking a proxy method from native code.
41 NativeInterface inf = (NativeInterface)Proxy.newProxyInstance(
53 public Object invoke(final Object proxy,
FloatSelect.java 20 * Test java.lang.reflect.Proxy
29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
35 FloatSelectI proxyObject = (FloatSelectI) Proxy.newProxyInstance(
Clash4.java 20 import java.lang.reflect.Proxy;
23 * Try to instantiate a proxy class with interfaces that have conflicting
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
72 public Object invoke(Object proxy, Method method, Object[] args)
  /external/libmicrohttpd/src/examples/
mhd2spdy_structures.h 67 struct Proxy;
75 struct Proxy *proxies_head;
76 struct Proxy *proxies_tail;
103 struct Proxy
110 struct Proxy *next;
111 struct Proxy *prev;
134 struct Proxy * proxy; member in struct:HTTP_URI
182 #define SPDY_HTTP_HEADER_PROXY_CONNECTION "proxy-connection"
286 free_proxy(struct Proxy *proxy)
    [all...]
  /libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
Handler.java 33 import java.net.Proxy;
55 protected java.net.URLConnection openConnection(URL u, Proxy p)
  /external/v8/src/js/
proxy.js 14 var GlobalProxy = global.Proxy;
20 return {proxy: p, revoke: () => %JSProxyRevoke(p)};
25 //Set up non-enumerable properties of the Proxy object.
  /external/guava/guava/src/com/google/common/reflect/
AbstractInvocationHandler.java 23 import java.lang.reflect.Proxy;
33 * Object proxy, Method method, Object[] args) {
53 * <li>{@code proxy.hashCode()} delegates to {@link AbstractInvocationHandler#hashCode}
54 * <li>{@code proxy.toString()} delegates to {@link AbstractInvocationHandler#toString}
55 * <li>{@code proxy.equals(argument)} returns true if: <ul>
56 * <li>{@code proxy} and {@code argument} are of the same type
63 @Override public final Object invoke(Object proxy, Method method, @Nullable Object[] args)
78 if (proxy == arg) {
81 return isProxyOfSameInterfaces(arg, proxy.getClass())
82 && equals(Proxy.getInvocationHandler(arg))
    [all...]
  /external/okhttp/android/main/java/com/squareup/okhttp/
HttpsHandler.java 20 import java.net.Proxy;
52 protected OkUrlFactory newOkUrlFactory(Proxy proxy) {
53 OkUrlFactory okUrlFactory = createHttpsOkUrlFactory(proxy);
66 public static OkUrlFactory createHttpsOkUrlFactory(Proxy proxy) {
68 OkUrlFactory okUrlFactory = HttpHandler.createHttpOkUrlFactory(proxy);
HttpHandler.java 24 import java.net.Proxy;
44 return newOkUrlFactory(null /* proxy */).open(url);
47 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException {
48 if (url == null || proxy == null) {
49 throw new IllegalArgumentException("url == null || proxy == null");
51 return newOkUrlFactory(proxy).open(url);
58 protected OkUrlFactory newOkUrlFactory(Proxy proxy) {
59 OkUrlFactory okUrlFactory = createHttpOkUrlFactory(proxy);
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
RecordingProxySelector.java 20 import java.net.Proxy;
32 List<Proxy> proxies = new ArrayList<>();
35 @Override public List<Proxy> select(URI uri) {
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
Authenticate.java 24 import java.net.Proxy;
31 @Override public Request authenticate(Proxy proxy, Response response) {
40 @Override public Request authenticateProxy(Proxy proxy, Response response) {
  /libcore/ojluni/src/main/java/sun/net/spi/
DefaultProxySelector.java 30 import java.net.Proxy;
45 * Supports proxy settings using system properties This proxy selector
47 * as far as how proxy is set
66 * {"ftp", "ftp.proxy", "ftpProxy", "proxy", "socksProxy"},
79 {"http", "http.proxy", "proxy", "socksProxy"},
80 {"https", "https.proxy", "proxy", "socksProxy"}
    [all...]
  /external/fmtlib/fmt/
posix.h 101 // A proxy object to emulate a move constructor.
102 // It is private to make it impossible call operator Proxy directly.
103 struct Proxy {
109 BufferedFile(Proxy p) FMT_NOEXCEPT : file_(p.file) {}
117 BufferedFile &operator=(Proxy p) {
131 // Returns a proxy object for moving from a temporary:
133 operator Proxy() FMT_NOEXCEPT {
134 Proxy p = {file_};
207 // A proxy object to emulate a move constructor.
208 // It is private to make it impossible call operator Proxy directly
    [all...]
  /libcore/ojluni/src/main/java/sun/net/
NetworkClient.java 32 import java.net.Proxy;
49 protected Proxy proxy = Proxy.NO_PROXY; field in class:NetworkClient
154 if (proxy != null) {
155 if (proxy.type() == Proxy.Type.SOCKS) {
159 return new Socket(proxy);
161 } else if (proxy.type() == Proxy.Type.DIRECT)
    [all...]
  /external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
InterfaceControlMessagesHelper.java 9 import org.chromium.mojo.bindings.Interface.Proxy;
65 public static <I extends Interface, P extends Proxy> boolean handleRun(
83 public static <I extends Interface, P extends Proxy> boolean handleRunOrClosePipe(
  /external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/
OkUrlFactory.java 23 import java.net.Proxy;
57 HttpURLConnection open(URL url, Proxy proxy) {
60 copy.setProxy(proxy);
85 @Override protected URLConnection openConnection(URL url, Proxy proxy) {
86 return open(url, proxy);
  /art/runtime/native/
java_lang_reflect_Proxy.cc 38 FAST_NATIVE_METHOD(Proxy, generateProxy, "(Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/ClassLoader;[Ljava/lang/reflect/Method;[[Ljava/lang/Class;)Ljava/lang/Class;"),
42 REGISTER_NATIVE_METHODS("java/lang/reflect/Proxy");
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ServletTestUtils.java 11 import java.lang.reflect.Proxy;
32 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
51 HttpServletRequest delegate = (HttpServletRequest) Proxy.newProxyInstance(
94 return (HttpServletResponse) Proxy.newProxyInstance(
102 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
119 return (HttpSession) Proxy.newProxyInstance(HttpSession.class.getClassLoader(),
  /libcore/luni/src/test/java/libcore/java/net/
FtpURLConnectionTest.java 32 import java.net.Proxy;
113 Proxy proxy = Proxy.NO_PROXY; local
116 URLConnection connection = fileUrl.openConnection(proxy);
119 assertEquals(Proxy.Type.DIRECT, proxy.type());
131 Proxy proxy = countingProxy.asProxy(); local
132 assertEquals(Proxy.Type.HTTP, proxy.type())
154 Proxy proxy = countingProxy.asProxy(); local
176 Proxy proxy = countingProxy.asProxy(); local
319 private final Proxy proxy; field in class:FtpURLConnectionTest.SingleProxySelector
375 private final Proxy proxy; field in class:FtpURLConnectionTest.CountingProxy
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
ExcludedProxyTest.java 25 import java.net.Proxy;
35 * This test is designed for collecting all the testcases which needs a proxy
156 * @tests java.net.URL#openConnection(Proxy)
163 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1);
164 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr2);
165 Proxy proxyList[] = { proxy1, proxy2 }
    [all...]

Completed in 381 milliseconds

12 3 4 5 6 7 8 91011>>