WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Common configuration in `SentinelWebMvcConfig` and `SentinelWebMvcTotalConfig`:
93
93
94
-
|name|description|type|default value||------|------------|------|-------||`blockExceptionHandler`|The handler that handles the block request|`BlockExceptionHandler`|null (throw out the BlockException)||`originParser`|Extracting request origin (e.g. IP or appName from HTTP Header) from HTTP request|`RequestOriginParser`|-|- `SentinelWebMvcConfig` configuration:|name|description|type|default value||------|------------|------|-------||urlCleaner|The `UrlCleaner` interface is designed for clean and unify the URL resource.|`UrlCleaner`|-||requestAttributeName|Attribute key in request used by Sentinel (internal)|`String`|`$$sentinel_spring_web_entry_attr`||httpMethodSpecify|Specify whether the URL resource name should contain the HTTP method prefix (e.g. `POST:`).|`boolean`|`false`||webContextUnify|Specify whether unify web context(i.e. use the default context name).|`boolean`|`true`|- `SentinelWebMvcTotalConfig` configuration:|name|description|type|default value||------|------------|------|-------||totalResourceName|The resource name in `SentinelTotalInterceptor`|`String`|`spring-mvc-total-url-request`||requestAttributeName|Attribute key in request used by Sentinel (internal)|`String`|`$$sentinel_spring_web_total_entry_attr`|
94
+
| name | description | type | default value |
95
+
| ------ | ------------ | ------ | ------- |
96
+
|`blockExceptionHandler`| The handler that handles the block request |`BlockExceptionHandler`| null (throw out the BlockException) |
97
+
|`originParser`| Extracting request origin (e.g. IP or appName from HTTP Header) from HTTP request |`RequestOriginParser`| - |
98
+
99
+
-`SentinelWebMvcConfig` configuration:
100
+
101
+
| name | description | type | default value |
102
+
| ------ | ------------ | ------ | ------- |
103
+
| urlCleaner | The `UrlCleaner` interface is designed for clean and unify the URL resource. |`UrlCleaner`| - |
104
+
| requestAttributeName | Attribute key in request used by Sentinel (internal) |`String`|`$$sentinel_spring_web_entry_attr`|
105
+
| httpMethodSpecify | Specify whether the URL resource name should contain the HTTP method prefix (e.g. `POST:`). |`boolean`|`false`|
106
+
| webContextUnify | Specify whether unify web context(i.e. use the default context name). |`boolean`|`true`|
107
+
108
+
-`SentinelWebMvcTotalConfig` configuration:
109
+
110
+
| name | description | type | default value |
111
+
| ------ | ------------ | ------ | ------- |
112
+
| totalResourceName | The resource name in `SentinelTotalInterceptor`|`String`|`spring-mvc-total-url-request`|
113
+
| requestAttributeName | Attribute key in request used by Sentinel (internal) |`String`|`$$sentinel_spring_web_total_entry_attr`|
0 commit comments