OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:URLConnection
(Results
1 - 25
of
188
) sorted by null
1
2
3
4
5
6
7
8
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
Handler.java
21
import java.net.
URLConnection
;
30
@Override protected
URLConnection
openConnection(URL url) throws IOException {
34
public static class HandlerURLConnection extends
URLConnection
{
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/test_protocol/
Handler.java
22
import java.net.
URLConnection
;
26
protected
URLConnection
openConnection(URL u) throws IOException {
/libcore/luni/src/test/java/libcore/java/net/
OldFileNameMapTest.java
22
import java.net.
URLConnection
;
26
FileNameMap map =
URLConnection
.getFileNameMap();
URLStreamHandlerFactoryTest.java
21
import java.net.
URLConnection
;
60
URLConnection
connection = url.openConnection();
93
URLConnection
connection = new URL("http://android.com/").openConnection();
106
URLConnection
connection1 = new URL("http://android.com/").openConnection();
112
URLConnection
connection2 = new URL("http://android.com/").openConnection();
OldCookieHandlerTest.java
26
import java.net.
URLConnection
;
69
URLConnection
connection = server.getUrl("/path/foo").openConnection();
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/
Handler.java
22
import java.net.
URLConnection
;
26
protected
URLConnection
openConnection(URL u) throws IOException {
/libcore/ojluni/src/main/java/java/net/
ContentHandler.java
33
* {@code
URLConnection
}.
38
* {@code URL} or in {@code
URLConnection
}.
47
* If no content handler could be found,
URLConnection
will
63
* @see java.net.ContentHandler#getContent(java.net.
URLConnection
)
66
* @see java.net.
URLConnection
67
* @see java.net.
URLConnection
#getContent()
68
* @see java.net.
URLConnection
#setContentHandlerFactory(java.net.ContentHandlerFactory)
81
abstract public Object getContent(
URLConnection
urlc) throws IOException;
100
public Object getContent(
URLConnection
urlc, Class[] classes) throws IOException {
ResponseCache.java
34
* Represents implementations of
URLConnection
caches. An instance of
51
* The settings for
URLConnection
#useCaches controls whether the
133
* @see java.net.
URLConnection
#setUseCaches(boolean)
134
* @see java.net.
URLConnection
#getUseCaches()
135
* @see java.net.
URLConnection
#setDefaultUseCaches(boolean)
136
* @see java.net.
URLConnection
#getDefaultUseCaches()
153
* @param conn - a
URLConnection
instance that is used to fetch
162
public abstract CacheRequest put(URI uri,
URLConnection
conn) throws IOException;
/external/javassist/src/main/javassist/
URLClassPath.java
78
URLConnection
con = openClassfile0(classname);
86
private
URLConnection
openClassfile0(String classname) throws IOException {
103
URLConnection
con = openClassfile0(classname);
134
URLConnection
con = fetchClass0(host, port,
161
private static
URLConnection
fetchClass0(String host, int port,
174
URLConnection
con = url.openConnection();
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/
AbstractResponseCache.java
25
import java.net.
URLConnection
;
35
@Override public CacheRequest put(URI uri,
URLConnection
connection) throws IOException {
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
Handler.java
50
protected java.net.
URLConnection
openConnection(URL u)
55
protected java.net.
URLConnection
openConnection(URL u, Proxy p)
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/
FileURLConnectionTest.java
26
import java.net.
URLConnection
;
125
URLConnection
urlConnection
= url.openConnection();
126
assertNull(
urlConnection
.getHeaderField(Integer.MIN_VALUE));
127
assertNull(
urlConnection
.getHeaderField(Integer.MAX_VALUE));
128
assertNull(
urlConnection
.getHeaderFieldKey(Integer.MIN_VALUE));
129
assertNull(
urlConnection
.getHeaderFieldKey(Integer.MAX_VALUE));
130
assertNull(
urlConnection
.getHeaderField(null));
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
ContentHandlerTest.java
23
import java.net.
URLConnection
;
30
* java.net.ContentHandler#getContent(java.net.
URLConnection
,
34
URLConnection
conn = new URL("http://www.apache.org").openConnection();
57
public Object getContent(
URLConnection
uConn) throws IOException {
URLConnectionTest.java
42
import java.net.
URLConnection
;
64
private
URLConnection
fileURLCon;
71
* {@link java.net.
URLConnection
#addRequestProperty(String, String)}
101
* {@link java.net.
URLConnection
#setRequestProperty(String, String)}
134
* {@link java.net.
URLConnection
#setUseCaches(boolean)}
151
* {@link java.net.
URLConnection
#setAllowUserInteraction(boolean)}
168
static class MockURLConnection extends
URLConnection
{
181
protected
URLConnection
openConnection(URL u) throws IOException {
209
URLConnection
uc;
211
URLConnection
uc2
[
all
...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
Handler.java
29
import java.net.
URLConnection
;
70
public synchronized
URLConnection
openConnection(URL u)
75
public synchronized
URLConnection
openConnection(URL u, Proxy p)
87
URLConnection
uc;
110
protected
URLConnection
createFileURLConnection(URL u, File file)
/external/okhttp/android/main/java/com/squareup/okhttp/internalandroidapi/
HttpURLConnectionFactory.java
31
import java.net.
URLConnection
;
76
public
URLConnection
openConnection(URL url) throws IOException {
84
public
URLConnection
openConnection(URL url, Proxy proxy) throws IOException {
93
public
URLConnection
openConnection(URL url, SocketFactory socketFactory) throws IOException {
102
public
URLConnection
openConnection(URL url, SocketFactory socketFactory, Proxy proxy)
109
private
URLConnection
internalOpenConnection(URL url, SocketFactory socketFactoryOrNull,
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/
OkUrlFactory.java
25
import java.net.
URLConnection
;
81
@Override protected
URLConnection
openConnection(URL url) {
85
@Override protected
URLConnection
openConnection(URL url, Proxy proxy) {
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
URLStreamHandlerRuntime.java
17
import java.net.
URLConnection
;
73
// final
URLConnection
connection = url.openConnection();
101
"openConnection", "()Ljava/net/
URLConnection
;", false);
103
// Stack[2]: [Ljava/net/
URLConnection
;
110
// Stack[1]: [Ljava/net/
URLConnection
;
132
protected
URLConnection
openConnection(final URL u) throws IOException {
137
private final
URLConnection
connection = new
URLConnection
(null) {
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
ChannelLogoUtils.java
37
import java.net.
URLConnection
;
80
URLConnection
urlConnection
= null;
91
urlConnection
= getUrlConnection(logoUri.toString());
92
inputStream =
urlConnection
.getInputStream();
105
if (
urlConnection
instanceof HttpURLConnection) {
106
((HttpURLConnection)
urlConnection
).disconnect();
162
private static
URLConnection
getUrlConnection(String uriString) throws IOException {
163
URLConnection
urlConnection
= new URL(uriString).openConnection()
[
all
...]
/external/apache-harmony/support/src/test/java/tests/support/
Support_URLConnector.java
25
import java.net.
URLConnection
;
32
private
URLConnection
instance;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
ResponseCacheTest.java
25
import java.net.
URLConnection
;
65
public CacheRequest put(URI arg0,
URLConnection
arg1)
/cts/tests/tests/net/src/android/net/http/cts/
HttpResponseCacheTest.java
34
import java.net.
URLConnection
;
94
@Override public CacheRequest put(URI uri,
URLConnection
connection) {
137
URLConnection
c1 = server.getUrl("/").openConnection();
146
URLConnection
c2 = server.getUrl("/").openConnection();
149
URLConnection
c3 = server.getUrl("/").openConnection();
/external/okhttp/android/main/java/com/squareup/okhttp/
HttpHandler.java
27
import java.net.
URLConnection
;
43
@Override protected
URLConnection
openConnection(URL url) throws IOException {
47
@Override protected
URLConnection
openConnection(URL url, Proxy proxy) throws IOException {
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
JarFileFactory.java
31
import java.net.
URLConnection
;
59
URLConnection
getConnection(JarFile jarFile) throws IOException {
154
URLConnection
uc = getConnection(jarFile);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowHttpResponseCache.java
9
import java.net.
URLConnection
;
95
public CacheResponse put(URI uri,
URLConnection
urlConnection
) {
Completed in 1278 milliseconds
1
2
3
4
5
6
7
8