HttpEntity < T > function ( String arg0 , String arg1 ) { HttpHeaders loc0 = new HttpHeaders ( ) ; loc0 . set ( HEADER_AUTHORIZATION , CodecUtils . getBasicAuthString ( arg0 , arg1 ) ) ; return new HttpEntity < > ( loc0 ) ; }
creates an http entity for requests with appropriate header for basic authentication . concode_field_sep Log log concode_elem_sep ConfigurationService configurationService concode_elem_sep String PING_PATH concode_elem_sep DataValueService dataValueService concode_elem_sep CurrentUserService currentUserService concode_elem_sep ImportService importService concode_elem_sep RestTemplate restTemplate concode_elem_sep String HEADER_AUTHORIZATION concode_elem_sep DataValueSetService dataValueSetService concode_elem_sep SystemSettingManager systemSettingManager concode_field_sep AvailabilityStatus isRemoteServerAvailable concode_elem_sep Date getLastSynchSuccessFallback concode_elem_sep boolean isRemoteServerConfigured concode_elem_sep Date getLastSynchSuccess concode_elem_sep org.hisp.dhis.dxf2.metadata.ImportSummary executeMetadataPull concode_elem_sep ImportSummary executeDataPush concode_elem_sep void setLastSynchSuccess