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

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


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

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

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

  # call Java instance method 'public void sun.net.www.protocol.http.AuthenticationInfo.disposeContext()':
  #
  public disposeContext unit =>
    fuzion.java.call_virtual (unit) "sun.net.www.protocol.http.AuthenticationInfo" "disposeContext" "()V" AuthenticationInfo.this []

  # call Java instance method 'public sun.net.www.protocol.http.AuthCacheValue$Type sun.net.www.protocol.http.AuthenticationInfo.getAuthType()':
  #
  public getAuthType Java.sun.net.www.protocol.http.AuthCacheValue_S_Type =>
    fuzion.java.call_virtual (Java.sun.net.www.protocol.http.AuthCacheValue_S_Type) "sun.net.www.protocol.http.AuthenticationInfo" "getAuthType" "()Lsun/net/www/protocol/http/AuthCacheValue\$Type;" AuthenticationInfo.this []

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

  # call Java instance method 'public abstract java.lang.String sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue(java.net.URL,java.lang.String)':
  #
  public getHeaderValue_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_(arg0 Java.java.net.URL, arg1 String) Java.java.lang.__jString =>
    fuzion.java.call_virtual (Java.java.lang.__jString) "sun.net.www.protocol.http.AuthenticationInfo" "getHeaderValue" "(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String;" AuthenticationInfo.this [(Java.sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.string_to_java_object Java.sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_.this.arg1)]

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

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

  # call Java instance method 'public int sun.net.www.protocol.http.AuthenticationInfo.getPort()':
  #
  public getPort i32 =>
    fuzion.java.call_virtual (i32) "sun.net.www.protocol.http.AuthenticationInfo" "getPort" "()I" AuthenticationInfo.this []

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

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

  # call Java instance method 'public abstract boolean sun.net.www.protocol.http.AuthenticationInfo.isAuthorizationStale(java.lang.String)':
  #
  public isAuthorizationStale_Ljava_7_lang_7_String_s_(arg0 String) bool =>
    fuzion.java.call_virtual (bool) "sun.net.www.protocol.http.AuthenticationInfo" "isAuthorizationStale" "(Ljava/lang/String;)Z" AuthenticationInfo.this [(fuzion.java.string_to_java_object Java.sun.net.www.protocol.http.AuthenticationInfo.isAuthorizationStale_Ljava_7_lang_7_String_s_.this.arg0)]

  # call Java instance method 'public abstract boolean sun.net.www.protocol.http.AuthenticationInfo.setHeaders(sun.net.www.protocol.http.HttpURLConnection,sun.net.www.HeaderParser,java.lang.String)':
  #
  public setHeaders_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_s_Lsun_7_net_7_www_7_HeaderParser_s_Ljava_7_lang_7_String_s_(arg0 Java.sun.net.www.protocol.http.HttpURLConnection, arg1 Java.sun.net.www.HeaderParser, arg2 String) bool =>
    fuzion.java.call_virtual (bool) "sun.net.www.protocol.http.AuthenticationInfo" "setHeaders" "(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z" AuthenticationInfo.this [(Java.sun.net.www.protocol.http.AuthenticationInfo.setHeaders_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_s_Lsun_7_net_7_www_7_HeaderParser_s_Ljava_7_lang_7_String_s_.this.arg0); (Java.sun.net.www.protocol.http.AuthenticationInfo.setHeaders_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_s_Lsun_7_net_7_www_7_HeaderParser_s_Ljava_7_lang_7_String_s_.this.arg1); (fuzion.java.string_to_java_object Java.sun.net.www.protocol.http.AuthenticationInfo.setHeaders_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_s_Lsun_7_net_7_www_7_HeaderParser_s_Ljava_7_lang_7_String_s_.this.arg2)]

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

  # short-hand to call Java method 'public abstract java.lang.String sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue(java.net.URL,java.lang.String)':
  #
  public getHeaderValue(arg0 Java.java.net.URL, arg1 String) (Java.java.lang.__jString) =>
    getHeaderValue_Ljava_7_net_7_URL_s_Ljava_7_lang_7_String_s_ Java.sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue.this.arg0 Java.sun.net.www.protocol.http.AuthenticationInfo.getHeaderValue.this.arg1

  # short-hand to call Java method 'public abstract boolean sun.net.www.protocol.http.AuthenticationInfo.isAuthorizationStale(java.lang.String)':
  #
  public isAuthorizationStale(arg0 String) (bool) =>
    isAuthorizationStale_Ljava_7_lang_7_String_s_ Java.sun.net.www.protocol.http.AuthenticationInfo.isAuthorizationStale.this.arg0

  # short-hand to call Java method 'public abstract boolean sun.net.www.protocol.http.AuthenticationInfo.setHeaders(sun.net.www.protocol.http.HttpURLConnection,sun.net.www.HeaderParser,java.lang.String)':
  #
  public setHeaders(arg0 Java.sun.net.www.protocol.http.HttpURLConnection, arg1 Java.sun.net.www.HeaderParser, arg2 String) (bool) =>
    setHeaders_Lsun_7_net_7_www_7_protocol_7_http_7_HttpURLConnection_s_Lsun_7_net_7_www_7_HeaderParser_s_Ljava_7_lang_7_String_s_ Java.sun.net.www.protocol.http.AuthenticationInfo.setHeaders.this.arg0 Java.sun.net.www.protocol.http.AuthenticationInfo.setHeaders.this.arg1 Java.sun.net.www.protocol.http.AuthenticationInfo.setHeaders.this.arg2