Skip to content
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

Align javadoc of AbstractFilterRegistrationBean#setDispatcherTypes #36965

Conversation

spa-abaudat
Copy link
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
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