diff --git a/spring-web/src/main/java/org/springframework/web/HttpRequestHandler.java b/spring-web/src/main/java/org/springframework/web/HttpRequestHandler.java index f76aad06fb7..6fd58199ac5 100644 --- a/spring-web/src/main/java/org/springframework/web/HttpRequestHandler.java +++ b/spring-web/src/main/java/org/springframework/web/HttpRequestHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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. @@ -26,13 +26,13 @@ import javax.servlet.http.HttpServletResponse; * Plain handler interface for components that process HTTP requests, * analogous to a Servlet. Only declares {@link javax.servlet.ServletException} * and {@link java.io.IOException}, to allow for usage within any - * {@link javax.servlet.http.HttpServlet}}. This interface is essentially the + * {@link javax.servlet.http.HttpServlet}. This interface is essentially the * direct equivalent of an HttpServlet, reduced to a central handle method. * *

The easiest way to expose an HttpRequestHandler bean in Spring style * is to define it in Spring's root web application context and define * an {@link org.springframework.web.context.support.HttpRequestHandlerServlet} - * in {@code web.xml}, pointing at the target HttpRequestHandler bean + * in {@code web.xml}, pointing to the target HttpRequestHandler bean * through its {@code servlet-name} which needs to match the target bean name. * *

Supported as a handler type within Spring's