public static boolean isAvailable(String destinationUrl, boolean fireRequest, int timeout) throws IllegalArgumentException {
        return isAvailable(destinationUrl, fireRequest, false, timeout);
    }
public static boolean isAvailable ( String destinationUrl , boolean fireRequest , int timeout ) throws IllegalArgumentException { return isAvailable ( destinationUrl , fireRequest , false , timeout ) ; }
Check if the HTTP resource specified by the destination URL is available.

@param destinationUrl the destination URL to check for availability
@param fireRequest if true a request will be sent to the given URL in addition to opening the
connection
@param timeout Timeout in milliseconds after which the call fails because of timeout.
@return <code>true</code> if a connection could be set up and the response was received
@throws IllegalArgumentException if the destination URL is invalid