File tree Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 2323
2424 <dependencies >
2525
26+ <dependency >
27+ <groupId >io.avaje</groupId >
28+ <artifactId >avaje-applog</artifactId >
29+ <version >1.0</version >
30+ </dependency >
31+
2632 <dependency >
2733 <groupId >com.fasterxml.jackson.core</groupId >
2834 <artifactId >jackson-databind</artifactId >
4652
4753 <!-- test dependencies -->
4854
55+ <!-- <dependency>-->
56+ <!-- <groupId>io.avaje</groupId>-->
57+ <!-- <artifactId>avaje-slf4j-jpl</artifactId>-->
58+ <!-- <version>1.1</version>-->
59+ <!-- <scope>test</scope>-->
60+ <!-- </dependency>-->
61+
4962 <dependency >
5063 <groupId >io.avaje</groupId >
51- <artifactId >avaje-slf4j-jpl </artifactId >
52- <version >1.1 </version >
64+ <artifactId >avaje-applog-slf4j </artifactId >
65+ <version >1.0 </version >
5366 <scope >test</scope >
5467 </dependency >
5568
Original file line number Diff line number Diff line change 11package io .avaje .http .client ;
22
3+ import io .avaje .applog .AppLog ;
4+
35import java .util .HashMap ;
46import java .util .Map ;
57import java .util .ServiceLoader ;
1113 */
1214final class DHttpApi {
1315
14- private static final System .Logger log = System .getLogger ("io.avaje.http.client" );
16+ private static final System .Logger log = AppLog .getLogger ("io.avaje.http.client" );
1517
1618 private static final DHttpApi INSTANCE = new DHttpApi ();
1719
Original file line number Diff line number Diff line change 11package io .avaje .http .client ;
22
3+ import io .avaje .applog .AppLog ;
4+
35import java .lang .System .Logger .Level ;
46import java .net .http .HttpHeaders ;
57import java .net .http .HttpRequest ;
2628 */
2729public class RequestLogger implements RequestListener {
2830
29- private static final System .Logger log = System .getLogger ("io.avaje.http.client.RequestLogger" );
31+ private static final System .Logger log = AppLog .getLogger ("io.avaje.http.client.RequestLogger" );
3032
3133 private final String delimiter ;
3234
Original file line number Diff line number Diff line change 11package io .avaje .http .client ;
22
3+ import io .avaje .applog .AppLog ;
4+
35import java .lang .System .Logger .Level ;
46import java .net .http .HttpResponse ;
57import java .util .Random ;
911 */
1012public class SimpleRetryHandler implements RetryHandler {
1113
12- private static final System .Logger log = System .getLogger ("io.avaje.http.client" );
14+ private static final System .Logger log = AppLog .getLogger ("io.avaje.http.client" );
1315
1416 private final int maxRetries ;
1517 private final long backoffMillis ;
Original file line number Diff line number Diff line change 33 uses io .avaje .http .client .HttpApiProvider ;
44
55 requires transitive java .net .http ;
6+ requires transitive io .avaje .applog ;
67 requires static com .fasterxml .jackson .databind ;
78 requires static com .fasterxml .jackson .annotation ;
89 requires static com .fasterxml .jackson .core ;
You can’t perform that action at this time.
0 commit comments