If the logger is currently enabled for the FINE message level then the given message is forwarded to all the registered output Handler objects.
@param msg The string message (or a key in the message catalog)
250251252253254255256257258259260
httpClient.setProxyPort(proxy.getLocalPort()); httpClient.setProxyUser("test"); try { LOG.fine("call"); httpClient.call(new GetRequest("http://www.amazon.de/")); Assert.fail("IOException expected"); } catch (IOException expected) { }
256257258259260261262263264265266
httpClient.call(new GetRequest("http://www.amazon.de/")); Assert.fail("IOException expected"); } catch (IOException expected) { } LOG.fine("returned"); httpClient.close(); proxy.close(); }
6970717273747576777879
QAUtil.sleep(200); } while (!body.isComplete()); Logger LOG = Logger.getLogger("org.xlightweb.Test"); LOG.fine("closing con"); con.close(); LOG.fine("closing server"); server.close(); }
7273747576777879808182
Logger LOG = Logger.getLogger("org.xlightweb.Test"); LOG.fine("closing con"); con.close(); LOG.fine("closing server"); server.close(); } private static final class BodyDataHandler implements IBodyDataHandler {
238239240241242243244245246247248
System.out.println("testHttpClientWithAuthMissingPassword"); Logger LOG = Logger.getLogger("org.xlightweb.test"); LOG.fine("start proxy"); HttpProxy2 proxy = new HttpProxy2(true); proxy.start(); HttpClient httpClient = new HttpClient();
207208209210211212213214215216217
219220221222223224225226227228229
225226227228229230231232233234235