Class SslContextOption<T>
- Type Parameters:
T- the type of the value which is valid for theSslContextOption
- All Implemented Interfaces:
Constant<SslContextOption<T>>, Comparable<SslContextOption<T>>
- Direct Known Subclasses:
BoringSSLContextOption, OpenSslContextOption
A
SslContextOption allows to configure a SslContext in a type-safe
way. Which SslContextOption is supported depends on the actual implementation
of SslContext and may depend on the nature of the SSL implementation it belongs
to.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSslContextOption(String name) Should be used by sub-classes. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanvoidValidate the value which is set for theSslContextOption.static <T> SslContextOption<T> static <T> SslContextOption<T> Returns theSslContextOptionof the specified name.
-
Constructor Details
-
SslContextOption
Should be used by sub-classes.- Parameters:
name- the name of the option
-
-
Method Details
-
valueOf
Returns theSslContextOptionof the specified name. -
valueOf
public static <T> SslContextOption<T> valueOf(Class<?> firstNameComponent, String secondNameComponent) -
exists
-
validate
Validate the value which is set for theSslContextOption. Sub-classes may override this for special checks.
-