|
| 1 | +// Auto-generated by Java-to-Swift wrapper generator. |
| 2 | +import JavaKit |
| 3 | +import JavaKitNetwork |
| 4 | +import JavaRuntime |
| 5 | + |
| 6 | +@JavaClass("java.net.Authenticator") |
| 7 | +open class Authenticator: JavaObject { |
| 8 | + @JavaMethod |
| 9 | + @_nonoverride public convenience init(environment: JNIEnvironment? = nil) |
| 10 | + |
| 11 | + @JavaMethod |
| 12 | + open func getPasswordAuthentication() -> PasswordAuthentication! |
| 13 | + |
| 14 | + @JavaMethod |
| 15 | + open func requestPasswordAuthenticationInstance(_ arg0: String, _ arg1: InetAddress?, _ arg2: Int32, _ arg3: String, _ arg4: String, _ arg5: String, _ arg6: URL?, _ arg7: Authenticator.RequestorType?) -> PasswordAuthentication! |
| 16 | + |
| 17 | + @JavaMethod |
| 18 | + open func getRequestingHost() -> String |
| 19 | + |
| 20 | + @JavaMethod |
| 21 | + open func getRequestingSite() -> InetAddress! |
| 22 | + |
| 23 | + @JavaMethod |
| 24 | + open func getRequestingPort() -> Int32 |
| 25 | + |
| 26 | + @JavaMethod |
| 27 | + open func getRequestingProtocol() -> String |
| 28 | + |
| 29 | + @JavaMethod |
| 30 | + open func getRequestingPrompt() -> String |
| 31 | + |
| 32 | + @JavaMethod |
| 33 | + open func getRequestingScheme() -> String |
| 34 | + |
| 35 | + @JavaMethod |
| 36 | + open func getRequestingURL() -> URL! |
| 37 | + |
| 38 | + @JavaMethod |
| 39 | + open func getRequestorType() -> Authenticator.RequestorType! |
| 40 | +} |
| 41 | +extension JavaClass<Authenticator> { |
| 42 | + @JavaStaticMethod |
| 43 | + public func requestPasswordAuthentication(_ arg0: InetAddress?, _ arg1: Int32, _ arg2: String, _ arg3: String, _ arg4: String) -> PasswordAuthentication! |
| 44 | + |
| 45 | + @JavaStaticMethod |
| 46 | + public func requestPasswordAuthentication(_ arg0: String, _ arg1: InetAddress?, _ arg2: Int32, _ arg3: String, _ arg4: String, _ arg5: String) -> PasswordAuthentication! |
| 47 | + |
| 48 | + @JavaStaticMethod |
| 49 | + public func requestPasswordAuthentication(_ arg0: Authenticator?, _ arg1: String, _ arg2: InetAddress?, _ arg3: Int32, _ arg4: String, _ arg5: String, _ arg6: String, _ arg7: URL?, _ arg8: Authenticator.RequestorType?) -> PasswordAuthentication! |
| 50 | + |
| 51 | + @JavaStaticMethod |
| 52 | + public func requestPasswordAuthentication(_ arg0: String, _ arg1: InetAddress?, _ arg2: Int32, _ arg3: String, _ arg4: String, _ arg5: String, _ arg6: URL?, _ arg7: Authenticator.RequestorType?) -> PasswordAuthentication! |
| 53 | + |
| 54 | + @JavaStaticMethod |
| 55 | + public func getDefault() -> Authenticator! |
| 56 | + |
| 57 | + @JavaStaticMethod |
| 58 | + public func setDefault(_ arg0: Authenticator?) |
| 59 | +} |
0 commit comments