java.lang.Object
javax.net.ssl.SNIMatcher
org.newsclub.net.unix.ssl.CallbackSNIMatcher
A wrapping
SNIMatcher that calls a callback with the checked SNIServerName and
match status (true or false).- Author:
- Christian Kohlschütter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCallback that is called uponSNIMatcher.matches(SNIServerName). -
Constructor Summary
ConstructorsConstructorDescriptionCallbackSNIMatcher(SNIMatcher wrapped, CallbackSNIMatcher.Callback callback) Constructs a newCallbackSNIMatcher, using the given wrappedSNIMatcherand callback. -
Method Summary
Methods inherited from class javax.net.ssl.SNIMatcher
getType
-
Constructor Details
-
CallbackSNIMatcher
Constructs a newCallbackSNIMatcher, using the given wrappedSNIMatcherand callback.- Parameters:
wrapped- The wrappedSNIMatcher.callback- The callback to be called uponmatches(SNIServerName).
-
-
Method Details
-
matches
- Specified by:
matchesin classSNIMatcher
-