OfflineResolver

Class of snx.android.net · OfflineResolver.java

public final class OfflineResolver extends InetAddressResolverProvider

The JVM's name resolver. The names of Android's /etc/hosts answer as on a device, online or not: localhost is 127.0.0.1 alone, and ip6-localhost ::1. Offline (snx.android.Network), no other name resolves, so that none is asked of a DNS server; online, the JVM's own resolver answers the others. The JDK finds it through the jar's META-INF/services

Methods

public InetAddressResolver get(Configuration configuration) source
public String name() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.