public abstract class ProtocolSelector extends Object
Modifier and Type | Method and Description |
---|---|
ProtocolSelector |
add(EnumSet<Protocol> protocols)
Add the given protocols.
|
ProtocolSelector |
add(Protocol... protocols)
Add the given protocols.
|
ProtocolSelector |
add(Protocol protocol)
Add the given protocol.
|
ProtocolSelector |
add(String protocolName)
Add the given protocol.
|
static ProtocolSelector |
defaultProtocols()
Get the default SSL protocol selector.
|
ProtocolSelector |
deleteFully(EnumSet<Protocol> protocols)
Permanently delete all of the given protocols.
|
ProtocolSelector |
deleteFully(Protocol... protocols)
Permanently delete all of the given protocols.
|
ProtocolSelector |
deleteFully(Protocol protocol)
Permanently delete the given protocol.
|
ProtocolSelector |
deleteFully(String protocolName)
Permanently delete the given protocol.
|
static ProtocolSelector |
empty()
Get the basic empty SSL protocol selector.
|
String[] |
evaluate(String[] supportedProtocols)
Evaluate this selector against the given list of JSSE supported protocols.
|
ProtocolSelector |
remove(EnumSet<Protocol> protocols)
Remove the given protocols.
|
ProtocolSelector |
remove(Protocol... protocols)
Remove the given protocols.
|
ProtocolSelector |
remove(Protocol protocol)
Remove the given protocol.
|
ProtocolSelector |
remove(String protocolName)
Remove the given protocol.
|
String |
toString() |
public static ProtocolSelector empty()
public static ProtocolSelector defaultProtocols()
public ProtocolSelector deleteFully(String protocolName)
protocolName
- the name of the protocol to removepublic ProtocolSelector deleteFully(Protocol protocol)
protocol
- the protocol to removepublic ProtocolSelector deleteFully(Protocol... protocols)
protocols
- the protocols to removepublic ProtocolSelector deleteFully(EnumSet<Protocol> protocols)
protocols
- the protocols to removepublic ProtocolSelector remove(String protocolName)
protocolName
- the name of the protocol to removepublic ProtocolSelector remove(Protocol protocol)
protocol
- the protocol to removepublic ProtocolSelector remove(Protocol... protocols)
protocols
- the protocols to removepublic ProtocolSelector remove(EnumSet<Protocol> protocols)
protocols
- the protocols to removepublic ProtocolSelector add(String protocolName)
protocolName
- the name of the protocol to addpublic ProtocolSelector add(Protocol protocol)
protocol
- the protocol to addpublic ProtocolSelector add(Protocol... protocols)
protocols
- the protocols to addpublic ProtocolSelector add(EnumSet<Protocol> protocols)
protocols
- the protocols to addCopyright © 2017 JBoss by Red Hat. All rights reserved.