Package org.sonar.api.web
Class ServletFilter
- java.lang.Object
-
- org.sonar.api.web.ServletFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
@ServerSide @ExtensionPoint @Deprecated(forRemoval=true, since="9.16") public abstract class ServletFilter extends java.lang.Object implements javax.servlet.Filter
Deprecated, for removal: This API element is subject to removal in a future version.since 9.16. UseHttpFilter
instead.Plugins can implement filters to serve HTTP requests that would otherwise not be served by the platform. This extension point is not intended to intercept all requests. When the platform intercepts and serves a request (for example with a web service filter), plugin filters do not get invoked, as the filters defined by plugins are at the end of the filter chain. Plugin filters get invoked when no other filters are interrupting the chain and returning a response to the request.@deprecated
since 9.16. UseHttpFilter
instead.- Since:
- 3.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServletFilter.UrlPattern
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description ServletFilter()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ServletFilter.UrlPattern
doGetPattern()
Deprecated, for removal: This API element is subject to removal in a future version.Override to change URL.
-
-
-
Method Detail
-
doGetPattern
public ServletFilter.UrlPattern doGetPattern()
Deprecated, for removal: This API element is subject to removal in a future version.Override to change URL. Default is /*
-
-