File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ Routing defaultRouting = Routing.builder()
432
432
.build();
433
433
434
434
WebServer server = WebServer.builder(defaultRouting)
435
- .config(ServerConfiguration .builder()
435
+ .config(WebServer .builder()
436
436
.port(8080) // <6>
437
437
.addSocket("health", SocketConfiguration.builder() // <7>
438
438
.port(8081)
Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ Helidon provides such an implementation for:
85
85
[source,java]
86
86
.Configuring OpenTracing `Tracer`
87
87
----
88
- ServerConfiguration .builder()
89
- .tracer(TracerBuilder.create("my-application") // <1>
90
- .collectorUri(URI.create("http://10.0.0.18:9411")) // <2>
91
- .build())
92
- .build()
88
+ WebServer .builder()
89
+ .tracer(TracerBuilder.create("my-application") // <1>
90
+ .collectorUri(URI.create("http://10.0.0.18:9411")) // <2>
91
+ .build())
92
+ .build()
93
93
----
94
94
<1> The name of the application (service) to associate with the tracing events
95
95
<2> The endpoint for tracing events, specific to the tracer used, usually loaded from Config
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ pom.xml:
59
59
60
60
code using config :
61
61
` ` ` java
62
- return ServerConfiguration .builder()
62
+ return WebServer .builder()
63
63
.config(config.get("webserver"))
64
64
.tracer(TracerBuilder.create(config.get("tracing"))
65
65
.buildAndRegister())
You can’t perform that action at this time.
0 commit comments