private Map < String , String > getHttpHeaderBasic ( ) throws Exception { return new HashMap < String , String > ( ) { { put ( "Authorization" , "Basic " + getHttpHeaderBasicKey ( ) ) ; } } ; }
gets HTTP header value with authorization string for basic authentication