File tree 3 files changed +20
-5
lines changed
spring-webflux/src/main/java/org/springframework/web/reactive/function/server
3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2019 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.
@@ -73,7 +73,7 @@ default RequestPredicate or(RequestPredicate other) {
73
73
* Transform the given request into a request used for a nested route. For instance,
74
74
* a path-based predicate can return a {@code ServerRequest} with a the path remaining
75
75
* after a match.
76
- * <p>The default implementation returns an {@code Optional} wrapping the given path if
76
+ * <p>The default implementation returns an {@code Optional} wrapping the given request if
77
77
* {@link #test(ServerRequest)} evaluates to {@code true}; or {@link Optional#empty()}
78
78
* if it evaluates to {@code false}.
79
79
* @param request the request to be nested
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2019 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.
@@ -82,7 +82,6 @@ public static RequestPredicate all() {
82
82
return request -> true ;
83
83
}
84
84
85
-
86
85
/**
87
86
* Return a {@code RequestPredicate} that matches if the request's
88
87
* HTTP method is equal to the given method.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2002-2019 the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
1
17
/**
2
- * Provides the types that make up Spring's functional web framework.
18
+ * Provides the types that make up Spring's functional web framework for Reactive environments .
3
19
*/
4
20
@ NonNullApi
5
21
@ NonNullFields
You can’t perform that action at this time.
0 commit comments