Package org.wildfly.security.ssl
Class SNIContextMatcher.Builder
- java.lang.Object
-
- org.wildfly.security.ssl.SNIContextMatcher.Builder
-
- Enclosing class:
- SNIContextMatcher
public static class SNIContextMatcher.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private SSLContext
defaultContext
private Map<SNIMatcher,SSLContext>
exacts
private Map<SNIMatcher,SSLContext>
wildcards
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SNIContextMatcher.Builder
addMatch(String name, SSLContext context)
SNIContextMatcher
build()
SSLContext
getDefaultContext()
SNIContextMatcher.Builder
setDefaultContext(SSLContext defaultContext)
-
-
-
Field Detail
-
defaultContext
private SSLContext defaultContext
-
wildcards
private final Map<SNIMatcher,SSLContext> wildcards
-
exacts
private final Map<SNIMatcher,SSLContext> exacts
-
-
Method Detail
-
build
public SNIContextMatcher build()
-
getDefaultContext
public SSLContext getDefaultContext()
-
setDefaultContext
public SNIContextMatcher.Builder setDefaultContext(SSLContext defaultContext)
-
addMatch
public SNIContextMatcher.Builder addMatch(String name, SSLContext context)
-
-