Skip to content

Commit 28b044c

Browse files
committed
Merge pull request #33247 from izeye
* pr/33247: Polish "Add missing Javadoc since in AbstractUrlHandlerMapping" Add missing Javadoc since in AbstractUrlHandlerMapping Closes gh-33247
2 parents 97411dd + d5abc07 commit 28b044c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public void setLazyInitHandlers(boolean lazyInitHandlers) {
143143
* @param beanName the name of the handler bean
144144
* @throws BeansException if the handler couldn't be registered
145145
* @throws IllegalStateException if there is a conflicting handler registered
146+
* @since 6.2
146147
*/
147148
public void registerHandler(String[] urlPaths, String beanName) throws BeansException, IllegalStateException {
148149
Assert.notNull(urlPaths, "URL path array must not be null");
@@ -158,6 +159,7 @@ public void registerHandler(String[] urlPaths, String beanName) throws BeansExce
158159
* (a bean name will automatically be resolved into the corresponding handler bean)
159160
* @throws BeansException if the handler couldn't be registered
160161
* @throws IllegalStateException if there is a conflicting handler registered
162+
* @since 6.2
161163
*/
162164
public void registerHandler(String urlPath, Object handler) throws BeansException, IllegalStateException {
163165
Assert.notNull(urlPath, "URL path must not be null");
@@ -208,6 +210,7 @@ else if (urlPath.equals("/*")) {
208210
/**
209211
* Remove the mapping for the handler registered for the given URL path.
210212
* @param urlPath the mapping to remove
213+
* @since 6.2
211214
*/
212215
public void unregisterHandler(String urlPath) {
213216
Assert.notNull(urlPath, "URL path must not be null");

0 commit comments

Comments
 (0)