1
2
3
4
5
6
7
8
9
10 package org.eclipse.jgit.transport.http;
11
12 import java.io.IOException;
13 import java.net.Proxy;
14 import java.net.URL;
15
16
17
18
19
20
21
22 public class JDKHttpConnectionFactory implements HttpConnectionFactory {
23
24 @Override
25 public HttpConnection create(URL url) throws IOException {
26 return new JDKHttpConnection(url);
27 }
28
29
30 @Override
31 public HttpConnection create(URL url, Proxy proxy)
32 throws IOException {
33 return new JDKHttpConnection(url, proxy);
34 }
35 }