Top Inners Fields Constructors Methods
io.undertow.protocols.ssl

public Class SNIContextMatcher

extends Object
Class Inheritance
Imports
java.util.LinkedHashMap, .List, .Map, javax.net.ssl.SNIHostName, .SNIMatcher, .SNIServerName, .SSLContext, io.undertow.UndertowMessages

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final SSLContext
private final Map<SNIMatcher, SSLContext>
private final Map<SNIMatcher, SSLContext>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public SSLContext
public SSLContext
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defaultContextback to summary
private final SSLContext defaultContext
exactsback to summary
private final Map<SNIMatcher, SSLContext> exacts
wildcardsback to summary
private final Map<SNIMatcher, SSLContext> wildcards

Constructor Detail

SNIContextMatcherback to summary
pack-priv SNIContextMatcher(SSLContext defaultContext, Map<SNIMatcher, SSLContext> wildcards, Map<SNIMatcher, SSLContext> exacts)

Method Detail

getContextback to summary
public SSLContext getContext(List<SNIServerName> servers)
getDefaultContextback to summary
public SSLContext getDefaultContext()
io.undertow.protocols.ssl back to summary

public Class SNIContextMatcher.Builder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private SSLContext
private final Map<SNIMatcher, SSLContext>
private final Map<SNIMatcher, SSLContext>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SNIContextMatcher.Builder
addMatch(String name, SSLContext context)

public SNIContextMatcher
public SSLContext
public SNIContextMatcher.Builder
setDefaultContext(SSLContext defaultContext)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defaultContextback to summary
private SSLContext defaultContext
exactsback to summary
private final Map<SNIMatcher, SSLContext> exacts
wildcardsback to summary
private final Map<SNIMatcher, SSLContext> wildcards

Constructor Detail

Builderback to summary
public Builder()

Method Detail

addMatchback to summary
public SNIContextMatcher.Builder addMatch(String name, SSLContext context)
buildback to summary
public SNIContextMatcher build()
getDefaultContextback to summary
public SSLContext getDefaultContext()
setDefaultContextback to summary
public SNIContextMatcher.Builder setDefaultContext(SSLContext defaultContext)