java.lang.Object
org.graylog.plugins.threatintel.whois.ip.parsers.WhoisParser
Direct Known Subclasses:
AFRINICResponseParser, APNICResponseParser, ARINResponseParser, LACNICResponseParser, RIPENCCResponseParser

public abstract class WhoisParser extends Object
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
    • isRedirect

      protected boolean isRedirect
    • registryRedirect

      protected InternetRegistry registryRedirect
    • organization

      protected String organization
    • countryCode

      protected String countryCode
  • Constructor Details

    • WhoisParser

      public WhoisParser()
  • Method Details

    • lineValue

      protected String lineValue(String line)
    • findRegistryFromWhoisServer

      protected InternetRegistry findRegistryFromWhoisServer(String server)
    • buildQueryForIp

      public String buildQueryForIp(String ip)
    • isRedirect

      public boolean isRedirect()
    • getRegistryRedirect

      public InternetRegistry getRegistryRedirect()
    • getOrganization

      public String getOrganization()
    • getCountryCode

      public String getCountryCode()
    • readLine

      public abstract void readLine(String line)