package org.gcube.common.http; import org.gcube.common.gxhttp.request.GXHTTPStringRequest; /** * @author Luca Frosini (ISTI - CNR) */ public class GXHTTPUtility { public static GXHTTPStringRequest getGXHTTPStringRequest(String address) { GXHTTPStringRequest gxHTTPStringRequest = GXHTTPStringRequest.newRequest(address); // Secret secret = SecretManagerProvider.instance.get(); // Map authorizationHeaders = secret.getHTTPAuthorizationHeaders(); // for(String key : authorizationHeaders.keySet()) { // gxHTTPStringRequest.header(key, authorizationHeaders.get(key)); // } return gxHTTPStringRequest; } }