Class IPWhoIs

  • public class IPWhoIs
    extends RegionLocationService
    The free "" service provider for region location information.
    Christopher Mindus
    • Constructor Detail

      • IPWhoIs

        public IPWhoIs​(IWebServiceEngine wse,
                       ServerSettings settings)
        Constructs the service provider for the region location information. The server will once constructed, register the service with its name. The name is "IPWhoIs" and the default timeout is set to 20 seconds, but the site is really fast.
        wse - The WebService engine used to determine proxy.
        settings - Server settings.
    • Method Detail

      • request

        protected RegionLocation request​(java.lang.String ipAddress)
        Requests region location information from the service provider. When the request has completed with or without error, call
        Specified by:
        request in class RegionLocationService
        ipAddress - The IP address request.
        The region location information, must always be non-null.
        Throws: - For I/O errors. - If an I/O operation is interrupted.
        java.lang.InterruptedException - If thread is interrupted.