Class UpstreamCheckUtils


  • public class UpstreamCheckUtils
    extends java.lang.Object
    The type Uri utils.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkUrl​(java.lang.String url)
      Check url boolean.
      static boolean checkUrl​(java.lang.String url, int timeout)
      Check url boolean.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpstreamCheckUtils

        public UpstreamCheckUtils()
    • Method Detail

      • checkUrl

        public static boolean checkUrl​(java.lang.String url)
        Check url boolean.
        Parameters:
        url - the url
        Returns:
        the boolean
      • checkUrl

        public static boolean checkUrl​(java.lang.String url,
                                       int timeout)
        Check url boolean.
        Parameters:
        url - the url
        timeout - timeout
        Returns:
        the boolean