-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace HttpAttributes with accessors #11324
Conversation
Attributes are a suboptimal way of adding metadata to requests and responses, both because they need a string lookup, and because they require conversion.
it's not super important that core code is migrated from HttpAttributes immediately, so #11309 can stay as-is. the main concern is users and non-core micronaut projects. |
# Conflicts: # http-server-netty/src/main/java/io/micronaut/http/server/netty/NettyHttpRequest.java
* @since 4.8.0 | ||
*/ | ||
@SuppressWarnings("removal") | ||
public final class ClientAttributes { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this regarded public API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
*/ | ||
@Deprecated(forRemoval = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add @since
to all deprecated annotations
# Conflicts: # http-server-netty/src/main/java/io/micronaut/http/server/netty/RoutingInBoundHandler.java
Quality Gate passedIssues Measures |
Attributes are a suboptimal way of adding metadata to requests and responses, both because they need a string lookup, and because they require conversion.