The Headers class defines
public static final HeaderValueType<BasicCredentials> AUTHORIZATION = new BasicCredentialsHeader();
which requires an instance of BasicCredentials. It would be nice to have support for other authorization types, such as Bearer tokens.