Remove outdated Servlet environment constraints from annotation javadoc
Issue: SPR-16936
This commit is contained in:
parent
2573a543b2
commit
0b64bcd319
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2016 the original author or authors.
|
* Copyright 2002-2018 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -91,9 +91,8 @@ import java.lang.annotation.Target;
|
||||||
* (not declaring a response argument in the handler method signature).
|
* (not declaring a response argument in the handler method signature).
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* <p>In Servlet environments, you can combine the {@code ExceptionHandler} annotation
|
* <p>You may combine the {@code ExceptionHandler} annotation with
|
||||||
* with {@link ResponseStatus @ResponseStatus}, to define the response status
|
* {@link ResponseStatus @ResponseStatus} for a specific HTTP error status.
|
||||||
* for the HTTP response.
|
|
||||||
*
|
*
|
||||||
* @author Arjen Poutsma
|
* @author Arjen Poutsma
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2015 the original author or authors.
|
* Copyright 2002-2018 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -27,7 +27,7 @@ import org.springframework.core.annotation.AliasFor;
|
||||||
/**
|
/**
|
||||||
* Annotation which indicates that a method parameter should be bound to a
|
* Annotation which indicates that a method parameter should be bound to a
|
||||||
* name-value pair within a path segment. Supported for {@link RequestMapping}
|
* name-value pair within a path segment. Supported for {@link RequestMapping}
|
||||||
* annotated handler methods in Servlet environments.
|
* annotated handler methods.
|
||||||
*
|
*
|
||||||
* <p>If the method parameter type is {@link java.util.Map} and a matrix variable
|
* <p>If the method parameter type is {@link java.util.Map} and a matrix variable
|
||||||
* name is specified, then the matrix variable value is converted to a
|
* name is specified, then the matrix variable value is converted to a
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2016 the original author or authors.
|
* Copyright 2002-2018 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -26,8 +26,7 @@ import org.springframework.core.annotation.AliasFor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Annotation which indicates that a method parameter should be bound to a URI template
|
* Annotation which indicates that a method parameter should be bound to a URI template
|
||||||
* variable. Supported for {@link RequestMapping} annotated handler methods in Servlet
|
* variable. Supported for {@link RequestMapping} annotated handler methods.
|
||||||
* environments.
|
|
||||||
*
|
*
|
||||||
* <p>If the method parameter is {@link java.util.Map Map<String, String>}
|
* <p>If the method parameter is {@link java.util.Map Map<String, String>}
|
||||||
* then the map is populated with all path variable names and values.
|
* then the map is populated with all path variable names and values.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2015 the original author or authors.
|
* Copyright 2002-2018 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -30,7 +30,7 @@ import org.springframework.http.converter.HttpMessageConverter;
|
||||||
* method argument depending on the content type of the request. Optionally, automatic
|
* method argument depending on the content type of the request. Optionally, automatic
|
||||||
* validation can be applied by annotating the argument with {@code @Valid}.
|
* validation can be applied by annotating the argument with {@code @Valid}.
|
||||||
*
|
*
|
||||||
* <p>Supported for annotated handler methods in Servlet environments.
|
* <p>Supported for annotated handler methods.
|
||||||
*
|
*
|
||||||
* @author Arjen Poutsma
|
* @author Arjen Poutsma
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2017 the original author or authors.
|
* Copyright 2002-2018 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -99,11 +99,11 @@ public @interface RequestMapping {
|
||||||
String[] value() default {};
|
String[] value() default {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* In a Servlet environment only: the path mapping URIs (e.g. "/myPath.do").
|
* The path mapping URIs (e.g. "/myPath.do").
|
||||||
* Ant-style path patterns are also supported (e.g. "/myPath/*.do").
|
* Ant-style path patterns are also supported (e.g. "/myPath/*.do").
|
||||||
* At the method level, relative paths (e.g. "edit.do") are supported within
|
* At the method level, relative paths (e.g. "edit.do") are supported
|
||||||
* the primary mapping expressed at the type level. Path mapping URIs may
|
* within the primary mapping expressed at the type level.
|
||||||
* contain placeholders (e.g. "/${connect}")
|
* Path mapping URIs may contain placeholders (e.g. "/${connect}").
|
||||||
* <p><b>Supported at the type level as well as at the method level!</b>
|
* <p><b>Supported at the type level as well as at the method level!</b>
|
||||||
* When used at the type level, all method-level mappings inherit
|
* When used at the type level, all method-level mappings inherit
|
||||||
* this primary mapping, narrowing it for a specific handler method.
|
* this primary mapping, narrowing it for a specific handler method.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2014 the original author or authors.
|
* Copyright 2002-2018 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -24,7 +24,7 @@ import java.lang.annotation.Target;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Annotation that indicates a method return value should be bound to the web
|
* Annotation that indicates a method return value should be bound to the web
|
||||||
* response body. Supported for annotated handler methods in Servlet environments.
|
* response body. Supported for annotated handler methods.
|
||||||
*
|
*
|
||||||
* <p>As of version 4.0 this annotation can also be added on the type level in
|
* <p>As of version 4.0 this annotation can also be added on the type level in
|
||||||
* which case it is inherited and does not need to be added on the method level.
|
* which case it is inherited and does not need to be added on the method level.
|
||||||
|
|
Loading…
Reference in New Issue