Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
eeb947b3
Commit
eeb947b3
authored
Jul 09, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish docs
parent
e3b59774
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+5
-5
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+1
-1
No files found.
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
eeb947b3
...
...
@@ -161,16 +161,16 @@ For example, the following will disable _all_ endpoints except for `info`:
[[production-ready-endpoint-hypermedia]]
=== Hypermedia for
MVC E
ndpoints
=== Hypermedia for
actuator MVC e
ndpoints
If http://projects.spring.io/spring-hateoas[Spring HATEOAS] is on the classpath (e.g.
through the `spring-boot-starter-hateoas` or if you are using
http://projects.spring.io/spring-data-rest[Spring Data REST]) then the HTTP endpoints
from the Actuator are enhanced with hypermedia links, and a "
discovery page
" is added
with links to all the endpoints. The "
discovery page
" is actually an endpoint itself,
from the Actuator are enhanced with hypermedia links, and a "
`discovery page`
" is added
with links to all the endpoints. The "
`discovery page`
" is actually an endpoint itself,
so it can be disabled along with the rest of the hypermedia by setting
`endpoints.links.enabled=false`. If it is not explicitly disabled the links
endpoint renders a JSON object with a link for each other endpoint, and the default
path is the same as the `management.content
P
ath` (so "`/`" by default).
path is the same as the `management.content
-p
ath` (so "`/`" by default).
NOTE: if there is a static home page ("`index.html`") in your application and the links
endpoint is registered with its default path ("`/`") then content negotiation will kick in
...
...
@@ -186,7 +186,7 @@ the other endpoints.
[[production-ready-customizing-endpoints-programmatically]]
=== Adding
Custom E
ndpoints
=== Adding
custom e
ndpoints
If you add a `@Bean` of type `Endpoint` then it will automatically be exposed over JMX and
HTTP (if there is an server available). An HTTP endpoints can be customized further by
creating a bean of type `MvcEndpoint`. Your `MvcEndpoint` is not a `@Controller` but it
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
eeb947b3
...
...
@@ -73,7 +73,7 @@ display (surrounded with brackets and prefixed with `v`). For example `(v1.0)`.
|The Spring Boot version that you are using formatted for display (surrounded with
brackets and prefixed with `v`). For example `(v{spring-boot-version})`.
|`${Ansi.NAME}`
,
|`${Ansi.NAME}`
(or `${AnsiColor.NAME}`, `${AnsiBackground.NAME}`, `${AnsiStyle.NAME}`)
|Where `NAME` is the name of an ANSI escape code. See
{sc-spring-boot}/ansi/AnsiPropertySource.{sc-ext}[`AnsiPropertySource`] for details.
|===
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment