private int retVal;
public void handleResponse(Response<HeadersHandlerResponse> response) {
try {
TestLogger.logger.debug("HeadersHandlerAsyncCallback.handleResponse() was called");
HeadersHandlerResponse r = response.get();
TestLogger.logger.debug("No exception was thrown from Response.get()");
retVal = r.getReturn();
} catch (Exception e) {
TestLogger.logger.debug("An exception was thrown: " + e.getClass());
exception = e;
}
}