com.genexus.specific.java.HTTPConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxclassR Show documentation
Show all versions of gxclassR Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
package com.genexus.specific.java;
import java.applet.Applet;
import com.genexus.common.interfaces.IExtensionHTTPConnection;
import HTTPClient.ProtocolNotSuppException;
@SuppressWarnings("deprecation")
public class HTTPConnection implements IExtensionHTTPConnection {
@Override
public void createHttpConnectionFromApplet(Object obj, HTTPClient.HTTPConnection httpConnection) throws ProtocolNotSuppException {
Applet applet = (Applet) obj;
httpConnection.setInfo(applet.getCodeBase().getProtocol(),
applet.getCodeBase().getHost(),
applet.getCodeBase().getPort(), null, -1);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy