Skip to content

ChannelRegistration.setInterceptors is misnamed [SPR-15976] #20527

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-15976 and commented

While refactoring the ChannelRegistration code a bit for #20514, I've noticed that ChannelRegistration.setInterceptors is misnamed since it actually adds interceptors to the channel's current list. I've therefore deprecated it in favor of a fluently named interceptors(...) method which is documented to add to the list.


Issue Links:

Referenced from: commits d11bd64, ac9cfef

Backported to: 4.3.12

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions