Mercurial > dive4elements > http-client
comparison src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java @ 125:e602a29f1dcc 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:49:46 +0100 |
parents | 4ffbc9f79905 |
children |
comparison
equal
deleted
inserted
replaced
124:7261c948425c | 125:e602a29f1dcc |
---|---|
12 import java.io.OutputStream; | 12 import java.io.OutputStream; |
13 | 13 |
14 import java.util.ArrayList; | 14 import java.util.ArrayList; |
15 import java.util.List; | 15 import java.util.List; |
16 | 16 |
17 import org.apache.log4j.Logger; | 17 import org.apache.logging.log4j.Logger; |
18 import org.apache.logging.log4j.LogManager; | |
18 | 19 |
19 import org.restlet.Client; | 20 import org.restlet.Client; |
20 import org.restlet.Request; | 21 import org.restlet.Request; |
21 import org.restlet.Response; | 22 import org.restlet.Response; |
22 import org.restlet.data.ClientInfo; | 23 import org.restlet.data.ClientInfo; |
44 * Client to artifact-server. | 45 * Client to artifact-server. |
45 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 46 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
46 */ | 47 */ |
47 public class HttpClientImpl implements HttpClient { | 48 public class HttpClientImpl implements HttpClient { |
48 | 49 |
49 private static final Logger logger = Logger.getLogger(HttpClient.class); | 50 private static final Logger logger = LogManager.getLogger(HttpClient.class); |
50 | 51 |
51 /** The URL part of the resource to list the existing users of the server.*/ | 52 /** The URL part of the resource to list the existing users of the server.*/ |
52 public static final String PATH_LIST_USERS = "/list-users"; | 53 public static final String PATH_LIST_USERS = "/list-users"; |
53 | 54 |
54 /** The URL part of the resource to list the Collections owned by a specific | 55 /** The URL part of the resource to list the Collections owned by a specific |