question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement new rawStatusCode methods on ServerHttpResponse

See original GitHub issue

The following change https://github.com/spring-projects/spring-framework/commit/547342b27d39efdb7ef6de068897b972e85c7b23 makes it possible to provide non-standard status codes as integer. However ArmeriaServerHttpResponse would need to implement the new methods in order to take advantage of this.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
trustincommented, Jan 30, 2020

Seems like the commit was not released yet. Will revisit once 5.2.4 is released.

0reactions
ikhooncommented, Feb 26, 2020

Spring framework has been released 5.2.4. However, Spring Boot has not been released a new version with it yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ServerHttpResponse (Spring Framework 6.0.2 API)
Represents a reactive server-side HTTP response. Since: 5.0; Author: Arjen Poutsma, Sebastien Deleuze, Rossen Stoyanchev. Method Summary.
Read more >
Allow non-standard HttpStatus in reactive ServerHttpResponse
ServerHttpResponse we have the following method : boolean setStatusCode(@Nullable HttpStatus status); that is supposed to allow us to set ...
Read more >
Java Examples & Tutorials of HttpStatus.resolve ... - Tabnine
How to use. resolve. method. in. org.springframework.http.HttpStatus ... null) { throw new IllegalArgumentException("No matching constant for [" + ...
Read more >
org.springframework.http.HttpStatus#resolve
The following examples show how to use org.springframework.http. ... private void setResponseStatus(HttpClientResponse clientResponse, ServerHttpResponse ...
Read more >
java - How can I call a method which takes a parameter of type ...
You can use the class MockHttpServletResponse for the method params in your tests. ... HttpServletResponse httpServletResponse = new ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found