Interface Interceptor
- All Superinterfaces:
AutoCloseable
A collection of
InterceptorMethod
s indexed by InterceptorMethodType
.- Author:
- Laird Nelson
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
Closes thisInterceptor
, rendering it inappropriate for further use.Collection
<? extends InterceptorMethod> Returns a non-null
, immutable, determinateCollection
ofInterceptorMethod
s 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:
close
in interfaceAutoCloseable
-
interceptorMethods
Returns a non-null
, immutable, determinateCollection
ofInterceptorMethod
s indexed under the suppliedInterceptorMethodType
.- Parameters:
type
- anInterceptorMethodType
; must not benull
- Returns:
- a non-
null
, immutable, determinateCollection
ofInterceptorMethod
s indexed under the suppliedInterceptorMethodType
- Throws:
NullPointerException
- iftype
isnull
-