protected static String getNonSecureAbsoluteUrl ( String resource ) { if ( resource . startsWith ( "/" + WonderPush . API_VERSION ) ) { resource = resource . substring ( 1 + WonderPush . API_VERSION . length ( ) ) ; } return WonderPush . getNonSecureBaseURL ( ) + resource ; }
Returns the non secure absolute url for the given resource