Interface Interceptor
- All Superinterfaces:
AutoCloseable
A collection of
InterceptorMethods indexed by InterceptorMethodType.- Author:
- Laird Nelson
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()Closes thisInterceptor, rendering it inappropriate for further use.Collection<? extends InterceptorMethod> Returns a non-null, immutable, determinateCollectionofInterceptorMethods indexed under the suppliedInterceptorMethodType.
-
Method Details
-
close
Closes thisInterceptor, rendering it inappropriate for further use.The default implementation of this method does nothing.
- Specified by:
closein interfaceAutoCloseable
-
interceptorMethods
Returns a non-null, immutable, determinateCollectionofInterceptorMethods indexed under the suppliedInterceptorMethodType.- Parameters:
type- anInterceptorMethodType; must not benull- Returns:
- a non-
null, immutable, determinateCollectionofInterceptorMethods indexed under the suppliedInterceptorMethodType - Throws:
NullPointerException- iftypeisnull
-