|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2012 the original author or authors. |
| 2 | + * Copyright 2002-2013 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
20 | 20 | import javax.servlet.http.HttpServletResponse;
|
21 | 21 |
|
22 | 22 | /**
|
23 |
| - * MVC framework SPI interface, allowing parameterization of core MVC workflow. |
| 23 | + * MVC framework SPI, allowing parameterization of the core MVC workflow. |
24 | 24 | *
|
25 | 25 | * <p>Interface that must be implemented for each handler type to handle a request.
|
26 | 26 | * 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. |
29 | 29 | *
|
30 | 30 | * <p>Note that a handler can be of type {@code Object}. This is to enable
|
31 | 31 | * 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. |
34 | 34 | *
|
35 | 35 | * <p>This interface is not intended for application developers. It is available
|
36 | 36 | * to handlers who want to develop their own web workflow.
|
37 | 37 | *
|
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}. |
41 | 41 | * Non-Ordered instances get treated as lowest priority.
|
42 | 42 | *
|
43 | 43 | * @author Rod Johnson
|
|
48 | 48 | public interface HandlerAdapter {
|
49 | 49 |
|
50 | 50 | /**
|
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 |
53 | 53 | * type. HandlerAdapters will usually only support one handler type each.
|
54 | 54 | * <p>A typical implementation:
|
55 | 55 | * <p>{@code
|
|
0 commit comments