Java 5 code style
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2006 the original author or authors.
|
||||
* Copyright 2002-2008 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,24 +23,26 @@ import javax.servlet.http.HttpServletResponse;
|
||||
* MVC framework SPI interface, allowing parameterization of core MVC workflow.
|
||||
*
|
||||
* <p>Interface that must be implemented for each handler type to handle a request.
|
||||
* This interface is used to allow the DispatcherServlet to be indefinitely
|
||||
* This interface is used to allow the {@link DispatcherServlet} to be indefinitely
|
||||
* extensible. The DispatcherServlet accesses all installed handlers through this
|
||||
* interface, meaning that it does not contain code specific to any handler type.
|
||||
*
|
||||
* <p>Note that a handler can be of type Object. This is to enable handlers from
|
||||
* other frameworks to be integrated with this framework without custom coding.
|
||||
* <p>Note that a handler can be of type <code>Object</code>. This is to enable
|
||||
* handlers from other frameworks to be integrated with this framework without
|
||||
* custom coding, as well as to allow for annotation handler objects that do
|
||||
* not obey any specific Java interface.
|
||||
*
|
||||
* <p>This interface is not intended for application developers. It is available
|
||||
* to handlers who want to develop their own web workflow.
|
||||
*
|
||||
* <p>Note: Implementations can implement the Ordered interface to be able to
|
||||
* specify a sorting order and thus a priority for getting applied by
|
||||
* DispatcherServlet. Non-Ordered instances get treated as lowest priority.
|
||||
* <p>Note: HandlerAdaptger implementators may implement the
|
||||
* {@link org.springframework.core.Ordered} interface to be able to specify a
|
||||
* sorting order (and thus a priority) for getting applied by DispatcherServlet.
|
||||
* Non-Ordered instances get treated as lowest priority.
|
||||
*
|
||||
* @author Rod Johnson
|
||||
* @author Juergen Hoeller
|
||||
* @see org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
|
||||
* @see org.springframework.web.servlet.mvc.throwaway.ThrowawayControllerHandlerAdapter
|
||||
* @see org.springframework.web.servlet.handler.SimpleServletHandlerAdapter
|
||||
*/
|
||||
public interface HandlerAdapter {
|
||||
|
||||
@@ -24,8 +24,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* Implementation of {@link org.springframework.web.servlet.HandlerMapping} that
|
||||
* follows a simple convention for generating URL path mappings from the <i>bean names</i>
|
||||
* of registered {@link org.springframework.web.servlet.mvc.Controller} and
|
||||
* {@link org.springframework.web.servlet.mvc.throwaway.ThrowawayController} beans
|
||||
* of registered {@link org.springframework.web.servlet.mvc.Controller} beans
|
||||
* as well as <code>@Controller</code> annotated beans.
|
||||
*
|
||||
* <p>This is similar to {@link org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping}
|
||||
|
||||
@@ -23,8 +23,7 @@ import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
|
||||
/**
|
||||
* Implementation of {@link org.springframework.web.servlet.HandlerMapping} that
|
||||
* follows a simple convention for generating URL path mappings from the <i>class names</i>
|
||||
* of registered {@link org.springframework.web.servlet.mvc.Controller} and
|
||||
* {@link org.springframework.web.servlet.mvc.throwaway.ThrowawayController} beans
|
||||
* of registered {@link org.springframework.web.servlet.mvc.Controller} beans
|
||||
* as well as <code>@Controller</code> annotated beans.
|
||||
*
|
||||
* <p>For simple {@link org.springframework.web.servlet.mvc.Controller} implementations
|
||||
@@ -56,7 +55,6 @@ import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
|
||||
* @author Juergen Hoeller
|
||||
* @since 2.0
|
||||
* @see org.springframework.web.servlet.mvc.Controller
|
||||
* @see org.springframework.web.servlet.mvc.throwaway.ThrowawayController
|
||||
* @see org.springframework.web.servlet.mvc.multiaction.MultiActionController
|
||||
*/
|
||||
public class ControllerClassNameHandlerMapping extends AbstractControllerUrlHandlerMapping {
|
||||
|
||||
Reference in New Issue
Block a user