@Override
public void onComplete(Result result)
{
if (result.isSucceeded())
{
Response response = result.getResponse();
if (logger.isDebugEnabled())
logger.debug("Succeeded ({}) {}", response.getStatus(), this);
if (!aborted)
{
responseText = getContentAsString();
readyState = ReadyState.DONE;
if (async)