Skip to content

Commit

Permalink
4.x: Docs: change WebServer.Builder to WebServerConfig.Builder. (#8261)
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta authored Jan 18, 2024
1 parent b78bc01 commit e221909
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/se/guides/health.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2019, 2023 Oracle and/or its affiliates.
Copyright (c) 2019, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -176,7 +176,7 @@ You can add your own custom health checks. These typically assess the conditions
The following trivial but illustrative example adds a custom start-up check that reports `DOWN` until the server has been running for eight seconds and reports `UP` thereafter. Note the two main steps in the example code:
1. Create an explicit instance of `ObserveFeature` which contains a custom `HealthObserver` with the custom check.
2. Add that `ObserveFeature` instance to the `WebServer.Builder` as a feature.
2. Add that `ObserveFeature` instance to the `WebServerConfig.Builder` as a feature.
[source,java]
Expand Down
6 changes: 4 additions & 2 deletions docs/src/main/asciidoc/se/testing.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2023 Oracle and/or its affiliates.
Copyright (c) 2023, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,8 @@
:feature-name: Helidon Testing Framework
:rootdir: {docdir}/..
include::{rootdir}/includes/se.adoc[]
== Contents
- <<Overview, Overview>>
Expand Down Expand Up @@ -98,7 +100,7 @@ and may have any name. The `@SetUpRoute` annotation has `value` with socket name
|===
In addition, a static method annotated with `@SetUpServer` can be defined for `@ServerTest`, which has a single parameter of `WebServer.Builder`.
In addition, a static method annotated with `@SetUpServer` can be defined for `@ServerTest`, which has a single parameter of link:{javadoc-base-url}/io.helidon.webserver/io/helidon/webserver/WebServerConfig.Builder.html[`WebServerConfig.Builder`].
The following table lists the injectable types (through constructor or method injection).
Expand Down

0 comments on commit e221909

Please sign in to comment.