Java/java/net/URLConnection.fz
# Fuzion interface to instance members of Java instance class 'java.net.URLConnection'
#
# !!!!!! DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called
# as follows:
#
# ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.java.net.URLConnection(redef forbidden void) ref : Java.java.lang.Object(forbidden), fuzion.java.Java_Object(forbidden) is
# call Java instance method 'public void java.net.URLConnection.addRequestProperty(java.lang.String,java.lang.String)':
#
public addRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_(arg0 String, arg1 String) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "addRequestProperty" "(Ljava/lang/String;Ljava/lang/String;)V" URLConnection.this [(fuzion.java.string_to_java_object Java.java.net.URLConnection.addRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.string_to_java_object Java.java.net.URLConnection.addRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg1)]
# call Java instance method 'public abstract void java.net.URLConnection.connect() throws java.io.IOException':
#
public connect outcome (unit) =>
fuzion.java.call_virtual (outcome (unit)) "java.net.URLConnection" "connect" "()V" URLConnection.this []
# call Java instance method 'public boolean java.net.URLConnection.getAllowUserInteraction()':
#
public getAllowUserInteraction bool =>
fuzion.java.call_virtual (bool) "java.net.URLConnection" "getAllowUserInteraction" "()Z" URLConnection.this []
# call Java instance method 'public int java.net.URLConnection.getConnectTimeout()':
#
public getConnectTimeout i32 =>
fuzion.java.call_virtual (i32) "java.net.URLConnection" "getConnectTimeout" "()I" URLConnection.this []
# call Java instance method 'public java.lang.Object java.net.URLConnection.getContent() throws java.io.IOException':
#
public getContent outcome (Java.java.lang.Object) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Object)) "java.net.URLConnection" "getContent" "()Ljava/lang/Object;" URLConnection.this []
# call Java instance method 'public java.lang.String java.net.URLConnection.getContentEncoding()':
#
public getContentEncoding Java.java.lang.__jString =>
fuzion.java.call_virtual (Java.java.lang.__jString) "java.net.URLConnection" "getContentEncoding" "()Ljava/lang/String;" URLConnection.this []
# call Java instance method 'public int java.net.URLConnection.getContentLength()':
#
public getContentLength i32 =>
fuzion.java.call_virtual (i32) "java.net.URLConnection" "getContentLength" "()I" URLConnection.this []
# call Java instance method 'public long java.net.URLConnection.getContentLengthLong()':
#
public getContentLengthLong i64 =>
fuzion.java.call_virtual (i64) "java.net.URLConnection" "getContentLengthLong" "()J" URLConnection.this []
# call Java instance method 'public java.lang.String java.net.URLConnection.getContentType()':
#
public getContentType Java.java.lang.__jString =>
fuzion.java.call_virtual (Java.java.lang.__jString) "java.net.URLConnection" "getContentType" "()Ljava/lang/String;" URLConnection.this []
# call Java instance method 'public java.lang.Object java.net.URLConnection.getContent(java.lang.Class[]) throws java.io.IOException':
#
public getContent__u00005b_Ljava_7_lang_7_Class_s_(arg0 Sequence (Java.java.lang.Class)) outcome (Java.java.lang.Object) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Object)) "java.net.URLConnection" "getContent" "([Ljava/lang/Class;)Ljava/lang/Object;" URLConnection.this [(fuzion.java.array_to_java_object (Java.java.lang.Class) Java.java.net.URLConnection.getContent__u00005b_Ljava_7_lang_7_Class_s_.this.arg0)]
# call Java instance method 'public long java.net.URLConnection.getDate()':
#
public getDate i64 =>
fuzion.java.call_virtual (i64) "java.net.URLConnection" "getDate" "()J" URLConnection.this []
# call Java instance method 'public boolean java.net.URLConnection.getDefaultUseCaches()':
#
public getDefaultUseCaches bool =>
fuzion.java.call_virtual (bool) "java.net.URLConnection" "getDefaultUseCaches" "()Z" URLConnection.this []
# call Java instance method 'public boolean java.net.URLConnection.getDoInput()':
#
public getDoInput bool =>
fuzion.java.call_virtual (bool) "java.net.URLConnection" "getDoInput" "()Z" URLConnection.this []
# call Java instance method 'public boolean java.net.URLConnection.getDoOutput()':
#
public getDoOutput bool =>
fuzion.java.call_virtual (bool) "java.net.URLConnection" "getDoOutput" "()Z" URLConnection.this []
# call Java instance method 'public long java.net.URLConnection.getExpiration()':
#
public getExpiration i64 =>
fuzion.java.call_virtual (i64) "java.net.URLConnection" "getExpiration" "()J" URLConnection.this []
# call Java instance method 'public long java.net.URLConnection.getHeaderFieldDate(java.lang.String,long)':
#
public getHeaderFieldDate_Ljava_7_lang_7_String_s_J(arg0 String, arg1 i64) i64 =>
fuzion.java.call_virtual (i64) "java.net.URLConnection" "getHeaderFieldDate" "(Ljava/lang/String;J)J" URLConnection.this [(fuzion.java.string_to_java_object Java.java.net.URLConnection.getHeaderFieldDate_Ljava_7_lang_7_String_s_J.this.arg0); (fuzion.java.i64_to_java_object Java.java.net.URLConnection.getHeaderFieldDate_Ljava_7_lang_7_String_s_J.this.arg1)]
# call Java instance method 'public int java.net.URLConnection.getHeaderFieldInt(java.lang.String,int)':
#
public getHeaderFieldInt_Ljava_7_lang_7_String_s_I(arg0 String, arg1 i32) i32 =>
fuzion.java.call_virtual (i32) "java.net.URLConnection" "getHeaderFieldInt" "(Ljava/lang/String;I)I" URLConnection.this [(fuzion.java.string_to_java_object Java.java.net.URLConnection.getHeaderFieldInt_Ljava_7_lang_7_String_s_I.this.arg0); (fuzion.java.i32_to_java_object Java.java.net.URLConnection.getHeaderFieldInt_Ljava_7_lang_7_String_s_I.this.arg1)]
# call Java instance method 'public java.lang.String java.net.URLConnection.getHeaderFieldKey(int)':
#
public getHeaderFieldKey_I(arg0 i32) Java.java.lang.__jString =>
fuzion.java.call_virtual (Java.java.lang.__jString) "java.net.URLConnection" "getHeaderFieldKey" "(I)Ljava/lang/String;" URLConnection.this [(fuzion.java.i32_to_java_object Java.java.net.URLConnection.getHeaderFieldKey_I.this.arg0)]
# call Java instance method 'public long java.net.URLConnection.getHeaderFieldLong(java.lang.String,long)':
#
public getHeaderFieldLong_Ljava_7_lang_7_String_s_J(arg0 String, arg1 i64) i64 =>
fuzion.java.call_virtual (i64) "java.net.URLConnection" "getHeaderFieldLong" "(Ljava/lang/String;J)J" URLConnection.this [(fuzion.java.string_to_java_object Java.java.net.URLConnection.getHeaderFieldLong_Ljava_7_lang_7_String_s_J.this.arg0); (fuzion.java.i64_to_java_object Java.java.net.URLConnection.getHeaderFieldLong_Ljava_7_lang_7_String_s_J.this.arg1)]
# call Java instance method 'public java.lang.String java.net.URLConnection.getHeaderField(int)':
#
public getHeaderField_I(arg0 i32) Java.java.lang.__jString =>
fuzion.java.call_virtual (Java.java.lang.__jString) "java.net.URLConnection" "getHeaderField" "(I)Ljava/lang/String;" URLConnection.this [(fuzion.java.i32_to_java_object Java.java.net.URLConnection.getHeaderField_I.this.arg0)]
# call Java instance method 'public java.lang.String java.net.URLConnection.getHeaderField(java.lang.String)':
#
public getHeaderField_Ljava_7_lang_7_String_s_(arg0 String) Java.java.lang.__jString =>
fuzion.java.call_virtual (Java.java.lang.__jString) "java.net.URLConnection" "getHeaderField" "(Ljava/lang/String;)Ljava/lang/String;" URLConnection.this [(fuzion.java.string_to_java_object Java.java.net.URLConnection.getHeaderField_Ljava_7_lang_7_String_s_.this.arg0)]
# call Java instance method 'public java.util.Map java.net.URLConnection.getHeaderFields()':
#
public getHeaderFields Java.java.util.Map =>
fuzion.java.call_virtual (Java.java.util.Map) "java.net.URLConnection" "getHeaderFields" "()Ljava/util/Map;" URLConnection.this []
# call Java instance method 'public long java.net.URLConnection.getIfModifiedSince()':
#
public getIfModifiedSince i64 =>
fuzion.java.call_virtual (i64) "java.net.URLConnection" "getIfModifiedSince" "()J" URLConnection.this []
# call Java instance method 'public java.io.InputStream java.net.URLConnection.getInputStream() throws java.io.IOException':
#
public getInputStream outcome (Java.java.io.InputStream) =>
fuzion.java.call_virtual (outcome (Java.java.io.InputStream)) "java.net.URLConnection" "getInputStream" "()Ljava/io/InputStream;" URLConnection.this []
# call Java instance method 'public long java.net.URLConnection.getLastModified()':
#
public getLastModified i64 =>
fuzion.java.call_virtual (i64) "java.net.URLConnection" "getLastModified" "()J" URLConnection.this []
# call Java instance method 'public java.io.OutputStream java.net.URLConnection.getOutputStream() throws java.io.IOException':
#
public getOutputStream outcome (Java.java.io.OutputStream) =>
fuzion.java.call_virtual (outcome (Java.java.io.OutputStream)) "java.net.URLConnection" "getOutputStream" "()Ljava/io/OutputStream;" URLConnection.this []
# call Java instance method 'public java.security.Permission java.net.URLConnection.getPermission() throws java.io.IOException':
#
public getPermission outcome (Java.java.security.Permission) =>
fuzion.java.call_virtual (outcome (Java.java.security.Permission)) "java.net.URLConnection" "getPermission" "()Ljava/security/Permission;" URLConnection.this []
# call Java instance method 'public int java.net.URLConnection.getReadTimeout()':
#
public getReadTimeout i32 =>
fuzion.java.call_virtual (i32) "java.net.URLConnection" "getReadTimeout" "()I" URLConnection.this []
# call Java instance method 'public java.util.Map java.net.URLConnection.getRequestProperties()':
#
public getRequestProperties Java.java.util.Map =>
fuzion.java.call_virtual (Java.java.util.Map) "java.net.URLConnection" "getRequestProperties" "()Ljava/util/Map;" URLConnection.this []
# call Java instance method 'public java.lang.String java.net.URLConnection.getRequestProperty(java.lang.String)':
#
public getRequestProperty_Ljava_7_lang_7_String_s_(arg0 String) Java.java.lang.__jString =>
fuzion.java.call_virtual (Java.java.lang.__jString) "java.net.URLConnection" "getRequestProperty" "(Ljava/lang/String;)Ljava/lang/String;" URLConnection.this [(fuzion.java.string_to_java_object Java.java.net.URLConnection.getRequestProperty_Ljava_7_lang_7_String_s_.this.arg0)]
# call Java instance method 'public java.net.URL java.net.URLConnection.getURL()':
#
public getURL Java.java.net.URL =>
fuzion.java.call_virtual (Java.java.net.URL) "java.net.URLConnection" "getURL" "()Ljava/net/URL;" URLConnection.this []
# call Java instance method 'public boolean java.net.URLConnection.getUseCaches()':
#
public getUseCaches bool =>
fuzion.java.call_virtual (bool) "java.net.URLConnection" "getUseCaches" "()Z" URLConnection.this []
# call Java instance method 'public void java.net.URLConnection.setAllowUserInteraction(boolean)':
#
public setAllowUserInteraction_Z(arg0 bool) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setAllowUserInteraction" "(Z)V" URLConnection.this [(fuzion.java.bool_to_java_object Java.java.net.URLConnection.setAllowUserInteraction_Z.this.arg0)]
# call Java instance method 'public void java.net.URLConnection.setConnectTimeout(int)':
#
public setConnectTimeout_I(arg0 i32) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setConnectTimeout" "(I)V" URLConnection.this [(fuzion.java.i32_to_java_object Java.java.net.URLConnection.setConnectTimeout_I.this.arg0)]
# call Java instance method 'public void java.net.URLConnection.setDefaultUseCaches(boolean)':
#
public setDefaultUseCaches_Z(arg0 bool) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setDefaultUseCaches" "(Z)V" URLConnection.this [(fuzion.java.bool_to_java_object Java.java.net.URLConnection.setDefaultUseCaches_Z.this.arg0)]
# call Java instance method 'public void java.net.URLConnection.setDoInput(boolean)':
#
public setDoInput_Z(arg0 bool) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setDoInput" "(Z)V" URLConnection.this [(fuzion.java.bool_to_java_object Java.java.net.URLConnection.setDoInput_Z.this.arg0)]
# call Java instance method 'public void java.net.URLConnection.setDoOutput(boolean)':
#
public setDoOutput_Z(arg0 bool) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setDoOutput" "(Z)V" URLConnection.this [(fuzion.java.bool_to_java_object Java.java.net.URLConnection.setDoOutput_Z.this.arg0)]
# call Java instance method 'public void java.net.URLConnection.setIfModifiedSince(long)':
#
public setIfModifiedSince_J(arg0 i64) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setIfModifiedSince" "(J)V" URLConnection.this [(fuzion.java.i64_to_java_object Java.java.net.URLConnection.setIfModifiedSince_J.this.arg0)]
# call Java instance method 'public void java.net.URLConnection.setReadTimeout(int)':
#
public setReadTimeout_I(arg0 i32) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setReadTimeout" "(I)V" URLConnection.this [(fuzion.java.i32_to_java_object Java.java.net.URLConnection.setReadTimeout_I.this.arg0)]
# call Java instance method 'public void java.net.URLConnection.setRequestProperty(java.lang.String,java.lang.String)':
#
public setRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_(arg0 String, arg1 String) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setRequestProperty" "(Ljava/lang/String;Ljava/lang/String;)V" URLConnection.this [(fuzion.java.string_to_java_object Java.java.net.URLConnection.setRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.string_to_java_object Java.java.net.URLConnection.setRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg1)]
# call Java instance method 'public void java.net.URLConnection.setUseCaches(boolean)':
#
public setUseCaches_Z(arg0 bool) unit =>
fuzion.java.call_virtual (unit) "java.net.URLConnection" "setUseCaches" "(Z)V" URLConnection.this [(fuzion.java.bool_to_java_object Java.java.net.URLConnection.setUseCaches_Z.this.arg0)]
# short-hand to call Java method 'public void java.net.URLConnection.addRequestProperty(java.lang.String,java.lang.String)':
#
public addRequestProperty(arg0 String, arg1 String) (unit) =>
addRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_ Java.java.net.URLConnection.addRequestProperty.this.arg0 Java.java.net.URLConnection.addRequestProperty.this.arg1
# short-hand to call Java method 'public java.lang.Object java.net.URLConnection.getContent(java.lang.Class[]) throws java.io.IOException':
#
public getContent(arg0 Sequence (Java.java.lang.Class)) (outcome (Java.java.lang.Object)) =>
getContent__u00005b_Ljava_7_lang_7_Class_s_ Java.java.net.URLConnection.getContent.this.arg0
# short-hand to call Java method 'public java.lang.String java.net.URLConnection.getHeaderField(java.lang.String)':
#
public getHeaderField(arg0 String) (Java.java.lang.__jString) =>
getHeaderField_Ljava_7_lang_7_String_s_ Java.java.net.URLConnection.getHeaderField.this.arg0
# short-hand to call Java method 'public long java.net.URLConnection.getHeaderFieldDate(java.lang.String,long)':
#
public getHeaderFieldDate(arg0 String, arg1 i64) (i64) =>
getHeaderFieldDate_Ljava_7_lang_7_String_s_J Java.java.net.URLConnection.getHeaderFieldDate.this.arg0 Java.java.net.URLConnection.getHeaderFieldDate.this.arg1
# short-hand to call Java method 'public int java.net.URLConnection.getHeaderFieldInt(java.lang.String,int)':
#
public getHeaderFieldInt(arg0 String, arg1 i32) (i32) =>
getHeaderFieldInt_Ljava_7_lang_7_String_s_I Java.java.net.URLConnection.getHeaderFieldInt.this.arg0 Java.java.net.URLConnection.getHeaderFieldInt.this.arg1
# short-hand to call Java method 'public java.lang.String java.net.URLConnection.getHeaderFieldKey(int)':
#
public getHeaderFieldKey(arg0 i32) (Java.java.lang.__jString) =>
getHeaderFieldKey_I Java.java.net.URLConnection.getHeaderFieldKey.this.arg0
# short-hand to call Java method 'public long java.net.URLConnection.getHeaderFieldLong(java.lang.String,long)':
#
public getHeaderFieldLong(arg0 String, arg1 i64) (i64) =>
getHeaderFieldLong_Ljava_7_lang_7_String_s_J Java.java.net.URLConnection.getHeaderFieldLong.this.arg0 Java.java.net.URLConnection.getHeaderFieldLong.this.arg1
# short-hand to call Java method 'public java.lang.String java.net.URLConnection.getRequestProperty(java.lang.String)':
#
public getRequestProperty(arg0 String) (Java.java.lang.__jString) =>
getRequestProperty_Ljava_7_lang_7_String_s_ Java.java.net.URLConnection.getRequestProperty.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setAllowUserInteraction(boolean)':
#
public setAllowUserInteraction(arg0 bool) (unit) =>
setAllowUserInteraction_Z Java.java.net.URLConnection.setAllowUserInteraction.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setConnectTimeout(int)':
#
public setConnectTimeout(arg0 i32) (unit) =>
setConnectTimeout_I Java.java.net.URLConnection.setConnectTimeout.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setDefaultUseCaches(boolean)':
#
public setDefaultUseCaches(arg0 bool) (unit) =>
setDefaultUseCaches_Z Java.java.net.URLConnection.setDefaultUseCaches.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setDoInput(boolean)':
#
public setDoInput(arg0 bool) (unit) =>
setDoInput_Z Java.java.net.URLConnection.setDoInput.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setDoOutput(boolean)':
#
public setDoOutput(arg0 bool) (unit) =>
setDoOutput_Z Java.java.net.URLConnection.setDoOutput.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setIfModifiedSince(long)':
#
public setIfModifiedSince(arg0 i64) (unit) =>
setIfModifiedSince_J Java.java.net.URLConnection.setIfModifiedSince.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setReadTimeout(int)':
#
public setReadTimeout(arg0 i32) (unit) =>
setReadTimeout_I Java.java.net.URLConnection.setReadTimeout.this.arg0
# short-hand to call Java method 'public void java.net.URLConnection.setRequestProperty(java.lang.String,java.lang.String)':
#
public setRequestProperty(arg0 String, arg1 String) (unit) =>
setRequestProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_ Java.java.net.URLConnection.setRequestProperty.this.arg0 Java.java.net.URLConnection.setRequestProperty.this.arg1
# short-hand to call Java method 'public void java.net.URLConnection.setUseCaches(boolean)':
#
public setUseCaches(arg0 bool) (unit) =>
setUseCaches_Z Java.java.net.URLConnection.setUseCaches.this.arg0
last changed: 2024-03-07