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

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


# Fuzion interface to static members of Java 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_static is

  # call Java static method 'public static sun.util.logging.PlatformLogger sun.net.www.protocol.http.HttpURLConnection.getHttpLogger()':
  #
  public getHttpLogger Java.sun.util.logging.PlatformLogger =>
    fuzion.java.call_static (Java.sun.util.logging.PlatformLogger) "sun.net.www.protocol.http.HttpURLConnection" "getHttpLogger" "()Lsun/util/logging/PlatformLogger;" []

  # call Java static method 'public static java.io.InputStream sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRedirects(java.net.URLConnection) throws java.io.IOException':
  #
  public openConnectionCheckRedirects_Ljava_7_net_7_URLConnection_s_(arg0 Java.java.net.URLConnection) outcome (Java.java.io.InputStream) =>
    fuzion.java.call_static (outcome (Java.java.io.InputStream)) "sun.net.www.protocol.http.HttpURLConnection" "openConnectionCheckRedirects" "(Ljava/net/URLConnection;)Ljava/io/InputStream;" [(Java.sun.net.www.protocol.http.HttpURLConnection_static.openConnectionCheckRedirects_Ljava_7_net_7_URLConnection_s_.this.arg0)]

  # call Java static method 'public static void sun.net.www.protocol.http.HttpURLConnection.setDefaultAuthenticator(sun.net.www.protocol.http.HttpAuthenticator)':
  #
  public setDefaultAuthenticator_Lsun_7_net_7_www_7_protocol_7_http_7_HttpAuthenticator_s_(arg0 Java.sun.net.www.protocol.http.HttpAuthenticator) unit =>
    fuzion.java.call_static (unit) "sun.net.www.protocol.http.HttpURLConnection" "setDefaultAuthenticator" "(Lsun/net/www/protocol/http/HttpAuthenticator;)V" [(Java.sun.net.www.protocol.http.HttpURLConnection_static.setDefaultAuthenticator_Lsun_7_net_7_www_7_protocol_7_http_7_HttpAuthenticator_s_.this.arg0)]

  # short-hand to call Java method 'public static java.io.InputStream sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRedirects(java.net.URLConnection) throws java.io.IOException':
  #
  public openConnectionCheckRedirects(arg0 Java.java.net.URLConnection) (outcome (Java.java.io.InputStream)) =>
    openConnectionCheckRedirects_Ljava_7_net_7_URLConnection_s_ Java.sun.net.www.protocol.http.HttpURLConnection_static.openConnectionCheckRedirects.this.arg0

  # short-hand to call Java method 'public static void sun.net.www.protocol.http.HttpURLConnection.setDefaultAuthenticator(sun.net.www.protocol.http.HttpAuthenticator)':
  #
  public setDefaultAuthenticator(arg0 Java.sun.net.www.protocol.http.HttpAuthenticator) (unit) =>
    setDefaultAuthenticator_Lsun_7_net_7_www_7_protocol_7_http_7_HttpAuthenticator_s_ Java.sun.net.www.protocol.http.HttpURLConnection_static.setDefaultAuthenticator.this.arg0

  # read static Java field 'public static final java.lang.String sun.net.www.protocol.http.HttpURLConnection.userAgent':
  #
  public userAgent Java.java.lang.__jString =>
    fuzion.java.get_static_field (Java.java.lang.__jString) "sun.net.www.protocol.http.HttpURLConnection" "userAgent"

  # call Java constructor 'public sun.net.www.protocol.http.HttpURLConnection(java.net.URL,java.lang.String,int) throws java.io.IOException':
  #
  public new_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_I(arg0 Java.java.net.URL, arg1 String, arg2 i32) outcome (Java.sun.net.www.protocol.http.HttpURLConnection) =>
    fuzion.java.call_constructor (outcome (Java.sun.net.www.protocol.http.HttpURLConnection)) "sun.net.www.protocol.http.HttpURLConnection" "(Ljava/net/URL;Ljava/lang/String;I)V" [(Java.sun.net.www.protocol.http.HttpURLConnection_static.new_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_I.this.arg0); (fuzion.java.string_to_java_object Java.sun.net.www.protocol.http.HttpURLConnection_static.new_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_I.this.arg1); (fuzion.java.i32_to_java_object Java.sun.net.www.protocol.http.HttpURLConnection_static.new_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_I.this.arg2)]

  # call Java constructor 'public sun.net.www.protocol.http.HttpURLConnection(java.net.URL,java.net.Proxy) throws java.io.IOException':
  #
  public new_Ljava_7_net_7_URL_s_Ljava_7_net_7_Proxy_s_(arg0 Java.java.net.URL, arg1 Java.java.net.Proxy) outcome (Java.sun.net.www.protocol.http.HttpURLConnection) =>
    fuzion.java.call_constructor (outcome (Java.sun.net.www.protocol.http.HttpURLConnection)) "sun.net.www.protocol.http.HttpURLConnection" "(Ljava/net/URL;Ljava/net/Proxy;)V" [(Java.sun.net.www.protocol.http.HttpURLConnection_static.new_Ljava_7_net_7_URL_s_Ljava_7_net_7_Proxy_s_.this.arg0); (Java.sun.net.www.protocol.http.HttpURLConnection_static.new_Ljava_7_net_7_URL_s_Ljava_7_net_7_Proxy_s_.this.arg1)]

  # short-hand to call Java constructor 'public sun.net.www.protocol.http.HttpURLConnection(java.net.URL,java.net.Proxy) throws java.io.IOException':
  #
  public new(arg0 Java.java.net.URL, arg1 Java.java.net.Proxy) (outcome (Java.sun.net.www.protocol.http.HttpURLConnection)) =>
    new_Ljava_7_net_7_URL_s_Ljava_7_net_7_Proxy_s_ Java.sun.net.www.protocol.http.HttpURLConnection_static.new.this.arg0 Java.sun.net.www.protocol.http.HttpURLConnection_static.new.this.arg1

  # short-hand to call Java constructor 'public sun.net.www.protocol.http.HttpURLConnection(java.net.URL,java.lang.String,int) throws java.io.IOException':
  #
  public new(arg0 Java.java.net.URL, arg1 String, arg2 i32) (outcome (Java.sun.net.www.protocol.http.HttpURLConnection)) =>
    new_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_I Java.sun.net.www.protocol.http.HttpURLConnection_static.new.this.arg0 Java.sun.net.www.protocol.http.HttpURLConnection_static.new.this.arg1 Java.sun.net.www.protocol.http.HttpURLConnection_static.new.this.arg2