Skip to content

Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes#36965

Closed
spa-abaudat wants to merge 1 commit intospring-projects:mainfrom
spa-abaudat:fix-setDispatcherTypes-doc
Closed

Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes#36965
spa-abaudat wants to merge 1 commit intospring-projects:mainfrom
spa-abaudat:fix-setDispatcherTypes-doc

Conversation

@spa-abaudat
Copy link
Copy Markdown
Contributor

The Javadoc of AbstractFilterRegistrationBean#setDispatcherTypes mistakenly claims that the dispatcher types will be deduced from DynamicRegistrationBean.isAsyncSupported. This is not true since this commit, and is misleading as by default DynamicRegistrationBean.isAsyncSupported is true, while the default dispatcher types for a filter that is not an instance of OncePerRequestFilter contains only REQUEST.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 14, 2023
@snicoll snicoll changed the title Correct javadoc of AbstractFilterRegistrationBean.setDispatcherTypes Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes Aug 14, 2023
@snicoll snicoll added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 14, 2023
@snicoll snicoll modified the milestones: 2.6.16, 2.7.15 Aug 14, 2023
@snicoll snicoll self-assigned this Aug 14, 2023
snicoll added a commit that referenced this pull request Aug 14, 2023
@snicoll snicoll closed this in 9849a69 Aug 14, 2023
@snicoll
Copy link
Copy Markdown
Member

snicoll commented Aug 14, 2023

@spa-abaudat good catch and thank you for making your first contribution to Spring Boot.

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

Labels

type: documentation A documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants