doc: update UrlCleaner description in sentinel-web-servlet README.md (#1051)

This commit is contained in:
于玉桔 2019-09-20 18:45:24 +08:00 committed by Eric Zhao
parent 77932701b6
commit c33ed81e5b
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ For REST APIs, you have to clean the URL resource (e.g. `/foo/1` and `/foo/2` ->
the amount of context and resources will exceed the threshold. the amount of context and resources will exceed the threshold.
If you need to exclude some URLs (that should not be recorded as Sentinel resources), you could also If you need to exclude some URLs (that should not be recorded as Sentinel resources), you could also
leverage the `UrlCleaner` interface. You may unify the unwanted URLs to the empty string `""`, leverage the `UrlCleaner` interface. You may unify the unwanted URLs to the empty string `""` or `null`,
then the URLs will be excluded (since Sentinel 1.6.3). then the URLs will be excluded (since Sentinel 1.6.3).
`RequestOriginParser` interface is useful for extracting request origin (e.g. IP or appName from HTTP Header) `RequestOriginParser` interface is useful for extracting request origin (e.g. IP or appName from HTTP Header)