urbanairship-core/src/main/java/com/urbanairship/remotedata/RemoteDataApiClient.java
@Nullable
    Response fetchRemoteData(String lastModified) {
        URL url = getRemoteDataURL();

        if (url == null) {
            return null;
        }


        Request request = requestFactory.createRequest("GET", url)
                                        .setCredentials(configOptions.getAppKey(), configOptions.getAppSecret());

        if (lastModified != null) {
            request.setHeader("If-Modified-Since", lastModified);
        }

        return request.execute();
    }
/**
     * Executes a remote data request.
     *
     * @param lastModified An optional last-modified timestamp in ISO-8601 format.
     * @return A Response.
     */
Executes a remote data request.
@param lastModified An optional last-modified timestamp in ISO-8601 format.
@return A Response.
Executes a remote data request . @param lastModified An optional last - modified timestamp in ISO - 8601 format . @return A Response .
@Nullable
    Response fetchRemoteData(String lastModified) {
        URL url = getRemoteDataURL();
        if (url == null) {
            return null;
        }
        Request request = requestFactory.createRequest("GET", url)
                                        .setCredentials(configOptions.getAppKey(), configOptions.getAppSecret());
        if (lastModified != null) {
            request.setHeader("If-Modified-Since", lastModified);
        }
        return request.execute();
    }
@ Nullable Response fetchRemoteData ( String lastModified ) { URL url = getRemoteDataURL ( ) ; if ( url == null ) { return null ; } Request request = requestFactory . createRequest ( "GET" , url ) . setCredentials ( configOptions . getAppKey ( ) , configOptions . getAppSecret ( ) ) ; if ( lastModified != null ) { request . setHeader ( "If-Modified-Since" , lastModified ) ; } return request . execute ( ) ; }
Executes a remote data request.
Executes a remote data request .