Update interceptors.md (#2033)

Added the mention of public requirement!
This commit is contained in:
Jens Kristian Villadsen 2020-08-11 11:25:36 +02:00 committed by GitHub
parent f0ed640e24
commit 39eea88b47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ Creating your own interceptors is easy. Custom interceptor classes do not need t
* The method may have any of the parameters specified for the given [Pointcut](/apidocs/hapi-fhir-base/ca/uhn/fhir/interceptor/api/Pointcut.html).
* The method must be public.
The following example shows a simple request counter interceptor.
```java