Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Java/sun/net/www/protocol/http/HttpURLConnection.fz


# Fuzion interface to instance members of Java instance class 'sun.net.www.protocol.http.HttpURLConnection'
#
# !!!!!!  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.sun.net.www.protocol.http.HttpURLConnection(redef forbidden void) ref : Java.java.net.HttpURLConnection(forbidden), fuzion.java.Java_Object(forbidden) is

  # call Java instance method 'public java.lang.Object sun.net.www.protocol.http.HttpURLConnection.authObj()':
  #
  public authObj Java.java.lang.Object =>
    fuzion.java.call_virtual (Java.java.lang.Object) "sun.net.www.protocol.http.HttpURLConnection" "authObj" "()Ljava/lang/Object;" HttpURLConnection.this []

  # call Java instance method 'public void sun.net.www.protocol.http.HttpURLConnection.authObj(java.lang.Object)':
  #
  public authObj_Ljava_7_lang_7_Object_s_(arg0 Java.java.lang.Object) unit =>
    fuzion.java.call_virtual (unit) "sun.net.www.protocol.http.HttpURLConnection" "authObj" "(Ljava/lang/Object;)V" HttpURLConnection.this [(Java.sun.net.www.protocol.http.HttpURLConnection.authObj_Ljava_7_lang_7_Object_s_.this.arg0)]

  # call Java instance method 'public void sun.net.www.protocol.http.HttpURLConnection.doTunneling() throws java.io.IOException':
  #
  public doTunneling outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "sun.net.www.protocol.http.HttpURLConnection" "doTunneling" "()V" HttpURLConnection.this []

  # call Java instance method 'public sun.net.www.protocol.http.AuthCacheImpl sun.net.www.protocol.http.HttpURLConnection.getAuthCache()':
  #
  public getAuthCache Java.sun.net.www.protocol.http.AuthCacheImpl =>
    fuzion.java.call_virtual (Java.sun.net.www.protocol.http.AuthCacheImpl) "sun.net.www.protocol.http.HttpURLConnection" "getAuthCache" "()Lsun/net/www/protocol/http/AuthCacheImpl;" HttpURLConnection.this []

  # call Java instance method 'public java.net.CookieHandler sun.net.www.protocol.http.HttpURLConnection.getCookieHandler()':
  #
  public getCookieHandler Java.java.net.CookieHandler =>
    fuzion.java.call_virtual (Java.java.net.CookieHandler) "sun.net.www.protocol.http.HttpURLConnection" "getCookieHandler" "()Ljava/net/CookieHandler;" HttpURLConnection.this []

  # call Java instance method 'public final boolean sun.net.www.protocol.http.HttpURLConnection.isLockHeldByCurrentThread()':
  #
  public isLockHeldByCurrentThread bool =>
    fuzion.java.call_virtual (bool) "sun.net.www.protocol.http.HttpURLConnection" "isLockHeldByCurrentThread" "()Z" HttpURLConnection.this []

  # call Java instance method 'public void sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty(java.lang.String,java.lang.String)':
  #
  public setAuthenticationProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_(arg0 String, arg1 String) unit =>
    fuzion.java.call_virtual (unit) "sun.net.www.protocol.http.HttpURLConnection" "setAuthenticationProperty" "(Ljava/lang/String;Ljava/lang/String;)V" HttpURLConnection.this [(fuzion.java.string_to_java_object Java.sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.string_to_java_object Java.sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_.this.arg1)]

  # call Java instance method 'public void sun.net.www.protocol.http.HttpURLConnection.setTunnelState(sun.net.www.protocol.http.HttpURLConnection$TunnelState)':
  #
  public setTunnelState_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_S_TunnelState_s_(arg0 Java.sun.net.www.protocol.http.HttpURLConnection_S_TunnelState) unit =>
    fuzion.java.call_virtual (unit) "sun.net.www.protocol.http.HttpURLConnection" "setTunnelState" "(Lsun/net/www/protocol/http/HttpURLConnection\$TunnelState;)V" HttpURLConnection.this [(Java.sun.net.www.protocol.http.HttpURLConnection.setTunnelState_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_S_TunnelState_s_.this.arg0)]

  # call Java instance method 'public boolean sun.net.www.protocol.http.HttpURLConnection.streaming()':
  #
  public streaming bool =>
    fuzion.java.call_virtual (bool) "sun.net.www.protocol.http.HttpURLConnection" "streaming" "()Z" HttpURLConnection.this []

  # short-hand to call Java method 'public void sun.net.www.protocol.http.HttpURLConnection.authObj(java.lang.Object)':
  #
  public authObj(arg0 Java.java.lang.Object) (unit) =>
    authObj_Ljava_7_lang_7_Object_s_ Java.sun.net.www.protocol.http.HttpURLConnection.authObj.this.arg0

  # short-hand to call Java method 'public void sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty(java.lang.String,java.lang.String)':
  #
  public setAuthenticationProperty(arg0 String, arg1 String) (unit) =>
    setAuthenticationProperty_Ljava_7_lang_7_String_s_Ljava_7_lang_7_String_s_ Java.sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty.this.arg0 Java.sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty.this.arg1

  # short-hand to call Java method 'public void sun.net.www.protocol.http.HttpURLConnection.setTunnelState(sun.net.www.protocol.http.HttpURLConnection$TunnelState)':
  #
  public setTunnelState(arg0 Java.sun.net.www.protocol.http.HttpURLConnection_S_TunnelState) (unit) =>
    setTunnelState_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_S_TunnelState_s_ Java.sun.net.www.protocol.http.HttpURLConnection.setTunnelState.this.arg0