Polish "Add missing Javadoc since in AbstractUrlHandlerMapping"

See gh-33247
This commit is contained in:
Stéphane Nicoll 2024-07-21 09:30:06 +02:00
parent edc356d5a0
commit d5abc071f1
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,7 @@ public abstract class AbstractUrlHandlerMapping extends AbstractHandlerMapping i
* @param beanName the name of the handler bean
* @throws BeansException if the handler couldn't be registered
* @throws IllegalStateException if there is a conflicting handler registered
* @since 6.2
*/
public void registerHandler(String[] urlPaths, String beanName) throws BeansException, IllegalStateException {
Assert.notNull(urlPaths, "URL path array must not be null");
@ -158,6 +159,7 @@ public abstract class AbstractUrlHandlerMapping extends AbstractHandlerMapping i
* (a bean name will automatically be resolved into the corresponding handler bean)
* @throws BeansException if the handler couldn't be registered
* @throws IllegalStateException if there is a conflicting handler registered
* @since 6.2
*/
public void registerHandler(String urlPath, Object handler) throws BeansException, IllegalStateException {
Assert.notNull(urlPath, "URL path must not be null");