Class URLChecker

java.lang.Object
se.datadosen.util.URLChecker

public class URLChecker
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static boolean exists​(java.lang.String urlString)  
    static int getResponseCode​(java.lang.String urlString)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • exists

      public static boolean exists​(java.lang.String urlString) throws java.io.IOException
      Throws:
      java.io.IOException
    • getResponseCode

      public static int getResponseCode​(java.lang.String urlString) throws java.io.IOException
      Throws:
      java.io.IOException