Commit 2927195b authored by Stephane Nicoll's avatar Stephane Nicoll

Fix StaticResourceRequest javadoc examples

Closes gh-15050
parent 9c09af0b
......@@ -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}
......
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment