Removed outdated references to Servlet 2.3/2.4
(cherry picked from commit 673dac5)
This commit is contained in:
@@ -48,7 +48,7 @@ import org.springframework.web.method.HandlerMethod;
|
||||
* in the application context, referenced by the mapping bean definition
|
||||
* via its "interceptors" property (in XML: a <list> of <ref>).
|
||||
*
|
||||
* <p>HandlerInterceptor is basically similar to a Servlet 2.3 Filter, but in
|
||||
* <p>HandlerInterceptor is basically similar to a Servlet Filter, but in
|
||||
* contrast to the latter it just allows custom pre-processing with the option
|
||||
* of prohibiting the execution of the handler itself, and custom post-processing.
|
||||
* Filters are more powerful, for example they allow for exchanging the request
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
* Copyright 2002-2015 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.
|
||||
@@ -170,9 +170,9 @@ public abstract class AbstractTemplateView extends AbstractUrlBasedView {
|
||||
/**
|
||||
* Apply this view's content type as specified in the "contentType"
|
||||
* bean property to the given response.
|
||||
* <p>When running on Servlet 2.4, only applies the view's contentType
|
||||
* if no content type has been set on the response before. This allows
|
||||
* handlers to override the default content type beforehand.
|
||||
* <p>Only applies the view's contentType if no content type has been
|
||||
* set on the response before. This allows handlers to override the
|
||||
* default content type beforehand.
|
||||
* @param response current HTTP response
|
||||
* @see #setContentType
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user