Class WKNSURLAuthenticationChallenge

  • All Implemented Interfaces:
    NSCoding, NSObjectProtocol, NSSecureCoding, org.robovm.objc.ObjCProtocol

    public class WKNSURLAuthenticationChallenge
    extends NSURLAuthenticationChallenge
    dkimitsa: this is very special workaround for bug #336 it happens when didReceiveAuthenticationChallenge navigation delegate's callback being called and challenge is instance of WKNSURLAuthenticationChallenge class the issue here is that WKNSURLAuthenticationChallenge itself doesn't inherit NSURLAuthenticationChallenge and RoboVM can't build java object for it as it is not known and hangs with exception. WKNSURLAuthenticationChallenge is a NSProxy which is ok on obj-c side. Workaround is to register empty WKNSURLAuthenticationChallenge with methods of NSURLAuthenticationChallenge. It will not make harm on obj-c side as it is proxy and will deal with all selectors being sent
    • Constructor Detail

      • WKNSURLAuthenticationChallenge

        public WKNSURLAuthenticationChallenge()