Skip to content

Commit 6407caa

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 2a55902 + a5c3c12 commit 6407caa

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,24 +20,24 @@
2020
import javax.servlet.http.HttpServletResponse;
2121

2222
/**
23-
* MVC framework SPI interface, allowing parameterization of core MVC workflow.
23+
* MVC framework SPI, allowing parameterization of the core MVC workflow.
2424
*
2525
* <p>Interface that must be implemented for each handler type to handle a request.
2626
* This interface is used to allow the {@link DispatcherServlet} to be indefinitely
27-
* extensible. The DispatcherServlet accesses all installed handlers through this
28-
* interface, meaning that it does not contain code specific to any handler type.
27+
* extensible. The {@code DispatcherServlet} accesses all installed handlers through
28+
* this interface, meaning that it does not contain code specific to any handler type.
2929
*
3030
* <p>Note that a handler can be of type {@code Object}. This is to enable
3131
* handlers from other frameworks to be integrated with this framework without
32-
* custom coding, as well as to allow for annotation handler objects that do
33-
* not obey any specific Java interface.
32+
* custom coding, as well as to allow for annotation-driven handler objects that
33+
* do not obey any specific Java interface.
3434
*
3535
* <p>This interface is not intended for application developers. It is available
3636
* to handlers who want to develop their own web workflow.
3737
*
38-
* <p>Note: HandlerAdaptger implementators may implement the
39-
* {@link org.springframework.core.Ordered} interface to be able to specify a
40-
* sorting order (and thus a priority) for getting applied by DispatcherServlet.
38+
* <p>Note: {@code HandlerAdapter} implementors may implement the {@link
39+
* org.springframework.core.Ordered} interface to be able to specify a sorting
40+
* order (and thus a priority) for getting applied by the {@code DispatcherServlet}.
4141
* Non-Ordered instances get treated as lowest priority.
4242
*
4343
* @author Rod Johnson
@@ -48,8 +48,8 @@
4848
public interface HandlerAdapter {
4949

5050
/**
51-
* Given a handler instance, return whether or not this HandlerAdapter can
52-
* support it. Typical HandlerAdapters will base the decision on the handler
51+
* Given a handler instance, return whether or not this {@code HandlerAdapter}
52+
* can support it. Typical HandlerAdapters will base the decision on the handler
5353
* type. HandlerAdapters will usually only support one handler type each.
5454
* <p>A typical implementation:
5555
* <p>{@code

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ModelAndViewMethodReturnValueHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
3030
*
3131
* <p>If the return value is {@code null}, the
3232
* {@link ModelAndViewContainer#setRequestHandled(boolean)} flag is set to
33-
* {@code false} to indicate the request was handled directly.
33+
* {@code true} to indicate the request was handled directly.
3434
*
3535
* <p>A {@link ModelAndView} return type has a set purpose. Therefore this
3636
* handler should be configured ahead of handlers that support any return

0 commit comments

Comments
 (0)