tapis-shared-lib-tst/src/main/java/edu/utexas/tacc/tapis/shared/utils/ServiceUtils.java
/**
     * Checks whether the url matches a pushpin url structure.
     * 
     * @param callbackUrl
     * @return
     */
Checks whether the url matches a pushpin url structure.

@param callbackUrl
@return
Checks whether the url matches a pushpin url structure . @param callbackUrl @return
public static boolean isValidPushpinChannel(String callbackUrl) {
        if (StringUtils.isEmpty(callbackUrl)) {
        	return false;
        }
        else {
        	return callbackUrl.matches("^(?:http|https)://([a-zA-Z0-9]+)(\\.[a-zA-Z0-9]+)*:([\\d]{2,5})/publish$");
    	}
    }
public static boolean isValidPushpinChannel ( String callbackUrl ) { if ( StringUtils . isEmpty ( callbackUrl ) ) { return false ; } else { return callbackUrl . matches ( "^(?:http|https)://([a-zA-Z0-9]+)(\\.[a-zA-Z0-9]+)*:([\\d]{2,5})/publish$" ) ; } }
Checks whether the url matches a pushpin url structure.
Checks whether the url matches a pushpin url structure .
// fanout.io realm