Skip to content

Document plain text response of the thread dump endpoint - #453

Open
officialasishkumar wants to merge 1 commit into
SteeltoeOSS:mainfrom
officialasishkumar:threaddump-plain-text
Open

officialasishkumar wants to merge 1 commit into
SteeltoeOSS:mainfrom
officialasishkumar:threaddump-plain-text

Conversation

@officialasishkumar

Copy link
Copy Markdown

Related to SteeltoeOSS/Steeltoe#1746.

The thread dump endpoint now also returns plain text when the request includes Accept: text/plain. Spring Boot Admin sends this header when you download a thread dump from its Threads view. This PR replaces "The response is always returned as JSON" with "By default, the response is returned as JSON". It also adds a plain text sample that matches the thread in the existing JSON sample.

The thread dump endpoint now also returns plain text when the request
includes "Accept: text/plain", which Spring Boot Admin sends when
downloading a thread dump from its Threads view (SteeltoeOSS/Steeltoe#1746).
Replace the statement that the response is always JSON and add a sample
of the plain text output, based on the existing JSON sample.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant