Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
2927195b
Commit
2927195b
authored
Nov 01, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix StaticResourceRequest javadoc examples
Closes gh-15050
parent
9c09af0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
StaticResourceRequest.java
...utoconfigure/security/reactive/StaticResourceRequest.java
+3
-3
StaticResourceRequest.java
...autoconfigure/security/servlet/StaticResourceRequest.java
+3
-3
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/reactive/StaticResourceRequest.java
View file @
2927195b
...
...
@@ -53,7 +53,7 @@ public final class StaticResourceRequest {
* {@link StaticResourceServerWebExchange#excluding(StaticResourceLocation, StaticResourceLocation...)
* excluding} method can be used to remove specific locations if required. For
* example: <pre class="code">
*
StaticResourceRequest
.atCommonLocations().excluding(StaticResourceLocation.CSS)
*
PathRequest.toStaticResources()
.atCommonLocations().excluding(StaticResourceLocation.CSS)
* </pre>
* @return the configured {@link ServerWebExchangeMatcher}
*/
...
...
@@ -64,7 +64,7 @@ public final class StaticResourceRequest {
/**
* Returns a matcher that includes the specified {@link StaticResourceLocation
* Locations}. For example: <pre class="code">
* at(StaticResourceLocation.CSS, StaticResourceLocation.JAVA_SCRIPT)
*
PathRequest.toStaticResources().
at(StaticResourceLocation.CSS, StaticResourceLocation.JAVA_SCRIPT)
* </pre>
* @param first the first location to include
* @param rest additional locations to include
...
...
@@ -78,7 +78,7 @@ public final class StaticResourceRequest {
/**
* Returns a matcher that includes the specified {@link StaticResourceLocation
* Locations}. For example: <pre class="code">
* at(locations)
*
PathRequest.toStaticResources().
at(locations)
* </pre>
* @param locations the locations to include
* @return the configured {@link ServerWebExchangeMatcher}
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/servlet/StaticResourceRequest.java
View file @
2927195b
...
...
@@ -56,7 +56,7 @@ public final class StaticResourceRequest {
* {@link StaticResourceRequestMatcher#excluding(StaticResourceLocation, StaticResourceLocation...)
* excluding} method can be used to remove specific locations if required. For
* example: <pre class="code">
*
StaticResourceRequest
.atCommonLocations().excluding(StaticResourceLocation.CSS)
*
PathRequest.toStaticResources()
.atCommonLocations().excluding(StaticResourceLocation.CSS)
* </pre>
* @return the configured {@link RequestMatcher}
*/
...
...
@@ -67,7 +67,7 @@ public final class StaticResourceRequest {
/**
* Returns a matcher that includes the specified {@link StaticResourceLocation
* Locations}. For example: <pre class="code">
*
StaticResourceRequest
.at(StaticResourceLocation.CSS, StaticResourceLocation.JAVA_SCRIPT)
*
PathRequest.toStaticResources()
.at(StaticResourceLocation.CSS, StaticResourceLocation.JAVA_SCRIPT)
* </pre>
* @param first the first location to include
* @param rest additional locations to include
...
...
@@ -81,7 +81,7 @@ public final class StaticResourceRequest {
/**
* Returns a matcher that includes the specified {@link StaticResourceLocation
* Locations}. For example: <pre class="code">
*
StaticResourceRequest
.at(locations)
*
PathRequest.toStaticResources()
.at(locations)
* </pre>
* @param locations the locations to include
* @return the configured {@link RequestMatcher}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment