buyRequest += "&item=" + ae.getIdentifier() + "&quantity=" + quantity;
StringBuffer sb;
try {
CookieJar cj = mLogin.getNecessaryCookie(false);
sb = cj.getPage(buyRequest, null, null);
JHTML doBuy = new JHTML(sb);
JHTML.Form buyForm = doBuy.getFormWithInput("uiid");
if (buyForm != null) {
buyForm.delInput("BIN_button");
StringBuffer loadedPage = cj.getPage(buyForm.getAction(), buyForm.getFormData(), buyRequest);
if (loadedPage == null) return AuctionServerInterface.BID_ERROR_CONNECTION;
return handlePostBidBuyPage(cj, loadedPage, buyForm, ae);
}
} catch (CookieJar.CookieException ignored) {
return AuctionServerInterface.BID_ERROR_CONNECTION;