sets up a httpcontext for authentication concode_field_sep CloseableHttpClient httpClient concode_elem_sep String password concode_elem_sep String APPLICATION_JSON_HEADER concode_elem_sep String SPARQL_CONTENT_TYPE concode_elem_sep HttpClientContext ctx concode_elem_sep String keyId concode_elem_sep String dbaasName concode_elem_sep String userId concode_elem_sep String SPARQL_ACCEPT_HEADER concode_field_sep String createRepository concode_elem_sep void uploadFile concode_elem_sep String getDbaasName concode_elem_sep URI generateRepositoryEndpointUrl concode_elem_sep void setDbaasName concode_elem_sep String deleteRepository concode_elem_sep String checkRepository concode_elem_sep String getContent concode_elem_sep boolean testEndpoint concode_elem_sep String getUserId concode_elem_sep void setUserId concode_elem_sep String processRequest
void function ( ) { ctx = HttpClientContext . create ( ) ; UsernamePasswordCredentials loc0 = new UsernamePasswordCredentials ( keyId , password ) ; CredentialsProvider loc1 = new BasicCredentialsProvider ( ) ; loc1 . setCredentials ( AuthScope . ANY , loc0 ) ; ctx . setCredentialsProvider ( loc1 ) ; }