- new SendHttpMessageAsyncTask(toNonNull(Arrays.asList(
- new Header("X-Action","LOGIN")
- )),LOGIN_BROADCAST,this).execute(
- sp.getString("username", null),
- sp.getString("password", null)
- );
+ new SendHttpMessageAsyncTask("/ok", toNonNull(Collections.<Header>emptySet()),
+ LOGIN_BROADCAST,this).execute();