-
Notifications
You must be signed in to change notification settings - Fork 0
/
URLConnection.xml
2430 lines (2427 loc) · 154 KB
/
URLConnection.xml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="URLConnection" FullName="Java.Net.URLConnection">
<TypeSignature Language="C#" Value="public abstract class URLConnection : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit URLConnection extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Java.Net.URLConnection" />
<TypeSignature Language="F#" Value="type URLConnection = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/net/URLConnection", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/net/URLConnection", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>The abstract class <c>URLConnection</c> is the superclass
of all classes that represent a communications link between the
application and a URL.</summary>
<remarks>
<para>The abstract class <c>URLConnection</c> is the superclass
of all classes that represent a communications link between the
application and a URL. Instances of this class can be used both to
read from and to write to the resource referenced by the URL. In
general, creating a connection to a URL is a multistep process:
<center><table border=2 summary="Describes the process of creating a connection to a URL: openConnection() and connect() over time.">
<tr><th><c>openConnection()</c></th>
<th><c>connect()</c></th></tr>
<tr><td>Manipulate parameters that affect the connection to the remote
resource.</td>
<td>Interact with the resource; query header fields and
contents.</td></tr>
</table>
----------------------------&gt;
<br>time</center>
<ol>
<li>The connection object is created by invoking the
<c>openConnection</c> method on a URL.
<li>The setup parameters and general request properties are manipulated.
<li>The actual connection to the remote object is made, using the
<c>connect</c> method.
<li>The remote object becomes available. The header fields and the contents
of the remote object can be accessed.
</ol></para>
<para>The setup parameters are modified using the following methods:
<ul>
<li><c>setAllowUserInteraction</c><li><c>setDoInput</c><li><c>setDoOutput</c><li><c>setIfModifiedSince</c><li><c>setUseCaches</c></ul></para>
<para>and the general request properties are modified using the method:
<ul>
<li><c>setRequestProperty</c></ul></para>
<para>Default values for the <c>AllowUserInteraction</c> and
<c>UseCaches</c> parameters can be set using the methods
<c>setDefaultAllowUserInteraction</c> and
<c>setDefaultUseCaches</c>.</para>
<para>Each of the above <c>set</c> methods has a corresponding
<c>get</c> method to retrieve the value of the parameter or
general request property. The specific parameters and general
request properties that are applicable are protocol specific.</para>
<para>The following methods are used to access the header fields and
the contents after the connection is made to the remote object:
<ul>
<li><c>getContent</c><li><c>getHeaderField</c><li><c>getInputStream</c><li><c>getOutputStream</c></ul></para>
<para>Certain header fields are accessed frequently. The methods:
<ul>
<li><c>getContentEncoding</c><li><c>getContentLength</c><li><c>getContentType</c><li><c>getDate</c><li><c>getExpiration</c><li><c>getLastModifed</c></ul></para>
<para>provide convenient access to these fields. The
<c>getContentType</c> method is used by the
<c>getContent</c> method to determine the type of the remote
object; subclasses may find it convenient to override the
<c>getContentType</c> method.</para>
<para>In the common case, all of the pre-connection parameters and
general request properties can be ignored: the pre-connection
parameters and request properties default to sensible values. For
most clients of this interface, there are only two interesting
methods: <c>getInputStream</c> and <c>getContent</c>,
which are mirrored in the <c>URL</c> class by convenience methods.</para>
<para>More information on the request properties and header fields of
an <c>http</c> connection can be found at:
<blockquote></para>
<code lang="text/java"><a href="http://www.ietf.org/rfc/rfc2616.txt">http://www.ietf.org/rfc/rfc2616.txt</a>
</code>
<para></blockquote>
Invoking the <c>close()</c> methods on the <c>InputStream</c> or <c>OutputStream</c> of an
<c>URLConnection</c> after a request may free network resources associated with this
instance, unless particular protocol specifications specify different behaviours
for it.</para>
<para>Added in JDK1.0.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection" title="Reference documentation">Java documentation for <code>java.net.URLConnection</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected URLConnection (Java.Net.URL? url);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Java.Net.URL url) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Net.URLConnection.#ctor(Java.Net.URL)" />
<MemberSignature Language="F#" Value="new Java.Net.URLConnection : Java.Net.URL -> Java.Net.URLConnection" Usage="new Java.Net.URLConnection url" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljava/net/URL;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljava/net/URL;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="url" Type="Java.Net.URL" />
</Parameters>
<Docs>
<param name="url">the specified URL.</param>
<summary>Constructs a URL connection to the specified URL.</summary>
<remarks>
<para>Constructs a URL connection to the specified URL. A connection to
the object referenced by the URL is not created.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#URLConnection(java.net.URL)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.URLConnection(java.net.URL)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected URLConnection (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Net.URLConnection.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Java.Net.URLConnection : nativeint * Android.Runtime.JniHandleOwnership -> Java.Net.URLConnection" Usage="new Java.Net.URLConnection (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AddRequestProperty">
<MemberSignature Language="C#" Value="public virtual void AddRequestProperty (string? key, string? value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddRequestProperty(string key, string value) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Net.URLConnection.AddRequestProperty(System.String,System.String)" />
<MemberSignature Language="F#" Value="abstract member AddRequestProperty : string * string -> unit
override this.AddRequestProperty : string * string -> unit" Usage="uRLConnection.AddRequestProperty (key, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addRequestProperty", "(Ljava/lang/String;Ljava/lang/String;)V", "GetAddRequestProperty_Ljava_lang_String_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addRequestProperty", "(Ljava/lang/String;Ljava/lang/String;)V", "GetAddRequestProperty_Ljava_lang_String_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<param name="key">the keyword by which the request is known
(e.g., "<c>Accept</c>").</param>
<param name="value">the value associated with it.</param>
<summary>Adds a general request property specified by a
key-value pair.</summary>
<remarks>
<para>Adds a general request property specified by a
key-value pair. This method will not overwrite
existing values associated with the same key.</para>
<para>Added in 1.4.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#addRequestProperty(java.lang.String,%20java.lang.String)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.addRequestProperty(java.lang.String, java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalStateException">if the connection has been already established.</exception>
<exception cref="T:Java.Lang.NullPointerException">if the property name is <c>null</c>.</exception>
</Docs>
</Member>
<Member MemberName="AllowUserInteraction">
<MemberSignature Language="C#" Value="public virtual bool AllowUserInteraction { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool AllowUserInteraction" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.AllowUserInteraction" />
<MemberSignature Language="F#" Value="member this.AllowUserInteraction : bool with get, set" Usage="Java.Net.URLConnection.AllowUserInteraction" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAllowUserInteraction", "()Z", "GetGetAllowUserInteractionHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAllowUserInteraction", "()Z", "GetGetAllowUserInteractionHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setAllowUserInteraction", "(Z)V", "GetSetAllowUserInteraction_ZHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setAllowUserInteraction", "(Z)V", "GetSetAllowUserInteraction_ZHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<param name="allowuserinteraction">the new value.</param>
<summary>Returns the value of the <c>allowUserInteraction</c> field for
this object. -or- Set the value of the <c>allowUserInteraction</c> field of
this <c>URLConnection</c>.</summary>
<value>the value of the <c>allowUserInteraction</c> field for
this object.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the value of the <c>allowUserInteraction</c> field for
this object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getAllowUserInteraction()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getAllowUserInteraction()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Set the value of the <c>allowUserInteraction</c> field of
this <c>URLConnection</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#setAllowUserInteraction(boolean)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.setAllowUserInteraction(boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Connect">
<MemberSignature Language="C#" Value="public abstract void Connect ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Connect() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Net.URLConnection.Connect" />
<MemberSignature Language="F#" Value="abstract member Connect : unit -> unit" Usage="uRLConnection.Connect " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("connect", "()V", "GetConnectHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("connect", "()V", "GetConnectHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Opens a communications link to the resource referenced by this
URL, if such a connection has not already been established.</summary>
<remarks>
<para>Opens a communications link to the resource referenced by this
URL, if such a connection has not already been established.</para>
<para>If the <c>connect</c> method is called when the connection
has already been opened (indicated by the <c>connected</c>
field having the value <c>true</c>), the call is ignored.</para>
<para>URLConnection objects go through two phases: first they are
created, then they are connected. After being created, and
before being connected, various options can be specified
(e.g., doInput and UseCaches). After connecting, it is an
error to try to set them. Operations that depend on being
connected, like getContentLength, will implicitly perform the
connection, if necessary.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#connect()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.connect()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException">if an error occurs while connecting to the resource.
</exception>
</Docs>
</Member>
<Member MemberName="ConnectAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task ConnectAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task ConnectAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Net.URLConnection.ConnectAsync" />
<MemberSignature Language="F#" Value="member this.ConnectAsync : unit -> System.Threading.Tasks.Task" Usage="uRLConnection.ConnectAsync " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Connected">
<MemberSignature Language="C#" Value="protected bool Connected { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Connected" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.Connected" />
<MemberSignature Language="F#" Value="member this.Connected : bool with get, set" Usage="Java.Net.URLConnection.Connected" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("connected")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("connected")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>If <c>false</c>, this connection object has not created a
communications link to the specified URL.</summary>
<value>To be added.</value>
<remarks>
<para>If <c>false</c>, this connection object has not created a
communications link to the specified URL. If <c>true</c>,
the communications link has been established.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#connected" title="Reference documentation">Java documentation for <code>java.net.URLConnection.connected</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ConnectTimeout">
<MemberSignature Language="C#" Value="public virtual int ConnectTimeout { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ConnectTimeout" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.ConnectTimeout" />
<MemberSignature Language="F#" Value="member this.ConnectTimeout : int with get, set" Usage="Java.Net.URLConnection.ConnectTimeout" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getConnectTimeout", "()I", "GetGetConnectTimeoutHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getConnectTimeout", "()I", "GetGetConnectTimeoutHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setConnectTimeout", "(I)V", "GetSetConnectTimeout_IHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setConnectTimeout", "(I)V", "GetSetConnectTimeout_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<param name="timeout">an <c>int</c> that specifies the connect
timeout value in milliseconds</param>
<summary>Returns setting for connect timeout. -or- Sets a specified timeout value, in milliseconds, to be used
when opening a communications link to the resource referenced
by this URLConnection.</summary>
<value>an <c>int</c> that indicates the connect timeout
value in milliseconds</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns setting for connect timeout.</para>
<para>0 return implies that the option is disabled
(i.e., timeout of infinity).</para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getConnectTimeout()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getConnectTimeout()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets a specified timeout value, in milliseconds, to be used
when opening a communications link to the resource referenced
by this URLConnection. If the timeout expires before the
connection can be established, a
java.net.SocketTimeoutException is raised. A timeout of zero is
interpreted as an infinite timeout.</para>
<para>Some non-standard implementation of this method may ignore
the specified timeout. To see the connect timeout set, please
call getConnectTimeout().</para>
<para><strong>Warning</strong>: If the hostname resolves to multiple IP
addresses, Android's default implementation of <c>HttpURLConnection</c>
will try each in
<see href="http://www.ietf.org/rfc/rfc3484.txt">RFC 3484</see> order. If
connecting to each of these addresses fails, multiple timeouts will
elapse before the connect attempt throws an exception. Host names
that support both IPv6 and IPv4 always have at least 2 IP addresses.</para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#setConnectTimeout(int)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.setConnectTimeout(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalArgumentException">if <c>timeoutMillis < 0</c>.
</exception>
</Docs>
</Member>
<Member MemberName="Content">
<MemberSignature Language="C#" Value="public virtual Java.Lang.Object? Content { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Lang.Object Content" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.Content" />
<MemberSignature Language="F#" Value="member this.Content : Java.Lang.Object" Usage="Java.Net.URLConnection.Content" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getContent", "()Ljava/lang/Object;", "GetGetContentHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getContent", "()Ljava/lang/Object;", "GetGetContentHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrieves the contents of this URL connection.</summary>
<value>the object fetched. The <c>instanceof</c> operator
should be used to determine the specific kind of object
returned.</value>
<remarks>
<para>Retrieves the contents of this URL connection.</para>
<para>This method first determines the content type of the object by
calling the <c>getContentType</c> method. If this is
the first time that the application has seen that specific content
type, a content handler for that content type is created:
<ol>
<li>If the application has set up a content handler factory instance
using the <c>setContentHandlerFactory</c> method, the
<c>createContentHandler</c> method of that instance is called
with the content type as an argument; the result is a content
handler for that content type.
<li>If no content handler factory has yet been set up, or if the
factory's <c>createContentHandler</c> method returns
<c>null</c>, then the application loads the class named:
<blockquote></para>
<code lang="text/java">sun.net.www.content.&lt;<i>contentType</i>&gt;
</code>
<para></blockquote>
where &lt;<i>contentType</i>&gt; is formed by taking the
content-type string, replacing all slash characters with a
<c>period</c> ('.'), and all other non-alphanumeric characters
with the underscore character '<c>_</c>'. The alphanumeric
characters are specifically the 26 uppercase ASCII letters
'<c>A</c>' through '<c>Z</c>', the 26 lowercase ASCII
letters '<c>a</c>' through '<c>z</c>', and the 10 ASCII
digits '<c>0</c>' through '<c>9</c>'. If the specified
class does not exist, or is not a subclass of
<c>ContentHandler</c>, then an
<c>UnknownServiceException</c> is thrown.
</ol></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getContent()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getContent()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException">if an error occurs obtaining the content.
</exception>
</Docs>
</Member>
<Member MemberName="ContentEncoding">
<MemberSignature Language="C#" Value="public virtual string? ContentEncoding { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string ContentEncoding" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.ContentEncoding" />
<MemberSignature Language="F#" Value="member this.ContentEncoding : string" Usage="Java.Net.URLConnection.ContentEncoding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getContentEncoding", "()Ljava/lang/String;", "GetGetContentEncodingHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getContentEncoding", "()Ljava/lang/String;", "GetGetContentEncodingHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the value of the <c>content-encoding</c> header field.</summary>
<value>the content encoding of the resource that the URL references,
or <c>null</c> if not known.</value>
<remarks>
<para>Returns the value of the <c>content-encoding</c> header field.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getContentEncoding()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getContentEncoding()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ContentLength">
<MemberSignature Language="C#" Value="public virtual int ContentLength { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ContentLength" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.ContentLength" />
<MemberSignature Language="F#" Value="member this.ContentLength : int" Usage="Java.Net.URLConnection.ContentLength" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getContentLength", "()I", "GetGetContentLengthHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getContentLength", "()I", "GetGetContentLengthHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the value of the <c>content-length</c> header field.</summary>
<value>the content length of the resource that this connection's URL
references, <c>-1</c> if the content length is not known,
or if the content length is greater than Integer.MAX_VALUE.</value>
<remarks>
<para>Returns the value of the <c>content-length</c> header field.</para>
<para><B>Note</B>: <c>#getContentLengthLong() getContentLengthLong()</c>
should be preferred over this method, since it returns a <c>long</c>
instead and is therefore more portable.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getContentLength()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getContentLength()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ContentLengthLong">
<MemberSignature Language="C#" Value="public virtual long ContentLengthLong { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int64 ContentLengthLong" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.ContentLengthLong" />
<MemberSignature Language="F#" Value="member this.ContentLengthLong : int64" Usage="Java.Net.URLConnection.ContentLengthLong" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getContentLengthLong", "()J", "GetGetContentLengthLongHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getContentLengthLong", "()J", "GetGetContentLengthLongHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the value of the <c>content-length</c> header field as a
long.</summary>
<value>the content length of the resource that this connection's URL
references, or <c>-1</c> if the content length is
not known.</value>
<remarks>
<para>Returns the value of the <c>content-length</c> header field as a
long.</para>
<para>Added in 7.0.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getContentLengthLong()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getContentLengthLong()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ContentType">
<MemberSignature Language="C#" Value="public virtual string? ContentType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string ContentType" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.ContentType" />
<MemberSignature Language="F#" Value="member this.ContentType : string" Usage="Java.Net.URLConnection.ContentType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getContentType", "()Ljava/lang/String;", "GetGetContentTypeHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getContentType", "()Ljava/lang/String;", "GetGetContentTypeHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the value of the <c>content-type</c> header field.</summary>
<value>the content type of the resource that the URL references,
or <c>null</c> if not known.</value>
<remarks>
<para>Returns the value of the <c>content-type</c> header field.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getContentType()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getContentType()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Date">
<MemberSignature Language="C#" Value="public virtual long Date { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int64 Date" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.Date" />
<MemberSignature Language="F#" Value="member this.Date : int64" Usage="Java.Net.URLConnection.Date" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDate", "()J", "GetGetDateHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDate", "()J", "GetGetDateHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the value of the <c>date</c> header field.</summary>
<value>the sending date of the resource that the URL references,
or <c>0</c> if not known. The value returned is the
number of milliseconds since January 1, 1970 GMT.</value>
<remarks>
<para>Returns the value of the <c>date</c> header field.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getDate()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getDate()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="DefaultAllowUserInteraction">
<MemberSignature Language="C#" Value="public static bool DefaultAllowUserInteraction { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property bool DefaultAllowUserInteraction" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.DefaultAllowUserInteraction" />
<MemberSignature Language="F#" Value="static member DefaultAllowUserInteraction : bool with get, set" Usage="Java.Net.URLConnection.DefaultAllowUserInteraction" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDefaultAllowUserInteraction", "()Z", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDefaultAllowUserInteraction", "()Z", "")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setDefaultAllowUserInteraction", "(Z)V", "")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setDefaultAllowUserInteraction", "(Z)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<param name="defaultallowuserinteraction">the new value.</param>
<summary>Returns the default value of the <c>allowUserInteraction</c>
field. -or- Sets the default value of the
<c>allowUserInteraction</c> field for all future
<c>URLConnection</c> objects to the specified value.</summary>
<value>the default value of the <c>allowUserInteraction</c>
field.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the default value of the <c>allowUserInteraction</c>
field.</para>
<para>Ths default is "sticky", being a part of the static state of all
URLConnections. This flag applies to the next, and all following
URLConnections that are created.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getDefaultAllowUserInteraction()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getDefaultAllowUserInteraction()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets the default value of the
<c>allowUserInteraction</c> field for all future
<c>URLConnection</c> objects to the specified value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#setDefaultAllowUserInteraction(boolean)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.setDefaultAllowUserInteraction(boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="DefaultUseCaches">
<MemberSignature Language="C#" Value="public virtual bool DefaultUseCaches { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool DefaultUseCaches" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.DefaultUseCaches" />
<MemberSignature Language="F#" Value="member this.DefaultUseCaches : bool with get, set" Usage="Java.Net.URLConnection.DefaultUseCaches" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDefaultUseCaches", "()Z", "GetGetDefaultUseCachesHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDefaultUseCaches", "()Z", "GetGetDefaultUseCachesHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setDefaultUseCaches", "(Z)V", "GetSetDefaultUseCaches_ZHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setDefaultUseCaches", "(Z)V", "GetSetDefaultUseCaches_ZHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<param name="defaultusecaches">the new value.</param>
<summary>Returns the default value of a <c>URLConnection</c>'s
<c>useCaches</c> flag. -or- Sets the default value of the <c>useCaches</c> field to the
specified value.</summary>
<value>the default value of a <c>URLConnection</c>'s
<c>useCaches</c> flag.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the default value of a <c>URLConnection</c>'s
<c>useCaches</c> flag.</para>
<para>Ths default is "sticky", being a part of the static state of all
URLConnections. This flag applies to the next, and all following
URLConnections that are created.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getDefaultUseCaches()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getDefaultUseCaches()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets the default value of the <c>useCaches</c> field to the
specified value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#setDefaultUseCaches(boolean)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.setDefaultUseCaches(boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="DoInput">
<MemberSignature Language="C#" Value="public virtual bool DoInput { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool DoInput" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.DoInput" />
<MemberSignature Language="F#" Value="member this.DoInput : bool with get, set" Usage="Java.Net.URLConnection.DoInput" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDoInput", "()Z", "GetGetDoInputHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDoInput", "()Z", "GetGetDoInputHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setDoInput", "(Z)V", "GetSetDoInput_ZHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setDoInput", "(Z)V", "GetSetDoInput_ZHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<param name="doinput">the new value.</param>
<summary>Returns the value of this <c>URLConnection</c>'s
<c>doInput</c> flag. -or- Sets the value of the <c>doInput</c> field for this
<c>URLConnection</c> to the specified value.</summary>
<value>the value of this <c>URLConnection</c>'s
<c>doInput</c> flag.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the value of this <c>URLConnection</c>'s
<c>doInput</c> flag.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getDoInput()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getDoInput()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets the value of the <c>doInput</c> field for this
<c>URLConnection</c> to the specified value.</para>
<para>A URL connection can be used for input and/or output. Set the DoInput
flag to true if you intend to use the URL connection for input,
false if not. The default is true.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#setDoInput(boolean)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.setDoInput(boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalAccessError">if this method attempts to change the value after the
connection has been already established.</exception>
</Docs>
</Member>
<Member MemberName="DoOutput">
<MemberSignature Language="C#" Value="public virtual bool DoOutput { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool DoOutput" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.DoOutput" />
<MemberSignature Language="F#" Value="member this.DoOutput : bool with get, set" Usage="Java.Net.URLConnection.DoOutput" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDoOutput", "()Z", "GetGetDoOutputHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDoOutput", "()Z", "GetGetDoOutputHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setDoOutput", "(Z)V", "GetSetDoOutput_ZHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setDoOutput", "(Z)V", "GetSetDoOutput_ZHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<param name="dooutput">the new value.</param>
<summary>Returns the value of this <c>URLConnection</c>'s
<c>doOutput</c> flag. -or- Sets the value of the <c>doOutput</c> field for this
<c>URLConnection</c> to the specified value.</summary>
<value>the value of this <c>URLConnection</c>'s
<c>doOutput</c> flag.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the value of this <c>URLConnection</c>'s
<c>doOutput</c> flag.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#getDoOutput()" title="Reference documentation">Java documentation for <code>java.net.URLConnection.getDoOutput()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets the value of the <c>doOutput</c> field for this
<c>URLConnection</c> to the specified value.</para>
<para>A URL connection can be used for input and/or output. Set the DoOutput
flag to true if you intend to use the URL connection for output,
false if not. The default is false.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/net/URLConnection#setDoOutput(boolean)" title="Reference documentation">Java documentation for <code>java.net.URLConnection.setDoOutput(boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalAccessError">if this method attempts to change the value after the
connection has been already established.</exception>
</Docs>
</Member>
<Member MemberName="Expiration">
<MemberSignature Language="C#" Value="public virtual long Expiration { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int64 Expiration" />
<MemberSignature Language="DocId" Value="P:Java.Net.URLConnection.Expiration" />
<MemberSignature Language="F#" Value="member this.Expiration : int64" Usage="Java.Net.URLConnection.Expiration" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getExpiration", "()J", "GetGetExpirationHandler")]</AttributeName>