File tree Expand file tree Collapse file tree 6 files changed +17
-20
lines changed
spring-web/src/main/java/org/springframework/web/bind/annotation Expand file tree Collapse file tree 6 files changed +17
-20
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2018 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.
91
91
* (not declaring a response argument in the handler method signature).
92
92
* </ul>
93
93
*
94
- * <p>In Servlet environments, you can combine the {@code ExceptionHandler} annotation
95
- * with {@link ResponseStatus @ResponseStatus}, to define the response status
96
- * for the HTTP response.
94
+ * <p>You may combine the {@code ExceptionHandler} annotation with
95
+ * {@link ResponseStatus @ResponseStatus} for a specific HTTP error status.
97
96
*
98
97
* @author Arjen Poutsma
99
98
* @author Juergen Hoeller
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2015 the original author or authors.
2
+ * Copyright 2002-2018 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.
27
27
/**
28
28
* Annotation which indicates that a method parameter should be bound to a
29
29
* name-value pair within a path segment. Supported for {@link RequestMapping}
30
- * annotated handler methods in Servlet environments .
30
+ * annotated handler methods.
31
31
*
32
32
* <p>If the method parameter type is {@link java.util.Map} and a matrix variable
33
33
* name is specified, then the matrix variable value is converted to a
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2018 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.
26
26
27
27
/**
28
28
* Annotation which indicates that a method parameter should be bound to a URI template
29
- * variable. Supported for {@link RequestMapping} annotated handler methods in Servlet
30
- * environments.
29
+ * variable. Supported for {@link RequestMapping} annotated handler methods.
31
30
*
32
- * <p>If the method parameter is {@link java.util.Map Map<String, String>} or
33
- * {@link org.springframework.util.MultiValueMap MultiValueMap<String, String>}
31
+ * <p>If the method parameter is {@link java.util.Map Map<String, String>}
34
32
* then the map is populated with all path variable names and values.
35
33
*
36
34
* @author Arjen Poutsma
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2015 the original author or authors.
2
+ * Copyright 2002-2018 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.
30
30
* method argument depending on the content type of the request. Optionally, automatic
31
31
* validation can be applied by annotating the argument with {@code @Valid}.
32
32
*
33
- * <p>Supported for annotated handler methods in Servlet environments .
33
+ * <p>Supported for annotated handler methods.
34
34
*
35
35
* @author Arjen Poutsma
36
36
* @since 3.0
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2018 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.
99
99
String [] value () default {};
100
100
101
101
/**
102
- * In a Servlet environment only: the path mapping URIs (e.g. "/myPath.do").
102
+ * The path mapping URIs (e.g. "/myPath.do").
103
103
* Ant-style path patterns are also supported (e.g. "/myPath/*.do").
104
- * At the method level, relative paths (e.g. "edit.do") are supported within
105
- * the primary mapping expressed at the type level. Path mapping URIs may
106
- * contain placeholders (e.g. "/${connect}")
104
+ * At the method level, relative paths (e.g. "edit.do") are supported
105
+ * within the primary mapping expressed at the type level.
106
+ * Path mapping URIs may contain placeholders (e.g. "/${connect}").
107
107
* <p><b>Supported at the type level as well as at the method level!</b>
108
108
* When used at the type level, all method-level mappings inherit
109
109
* this primary mapping, narrowing it for a specific handler method.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2014 the original author or authors.
2
+ * Copyright 2002-2018 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.
24
24
25
25
/**
26
26
* Annotation that indicates a method return value should be bound to the web
27
- * response body. Supported for annotated handler methods in Servlet environments .
27
+ * response body. Supported for annotated handler methods.
28
28
*
29
29
* <p>As of version 4.0 this annotation can also be added on the type level in
30
30
* which case it is inherited and does not need to be added on the method level.
You can’t perform that action at this time.
0 commit comments