Class Jre20Compat
java.lang.Object
org.apache.tomcat.util.compat.JreCompat
org.apache.tomcat.util.compat.Jre12Compat
org.apache.tomcat.util.compat.Jre19Compat
org.apache.tomcat.util.compat.Jre20Compat
- Direct Known Subclasses:
Jre21Compat
-
Field Summary
Fields inherited from class JreCompat
canonCachesDisabled, canonCachesDisabledLock, USE_CANON_CACHES_CMD_ARG, useCanonCachesField, useCanonCachesFieldLock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn Unix domain socket address for given path.Create server socket channel using the Unix domain socket ProtocolFamily.Create socket channel using the Unix domain socket ProtocolFamily.void
setNamedGroupsMethod
(Object sslParameters, String[] names) TLS groups configuration from JSSE API in Java 20.Methods inherited from class Jre19Compat
getExecutor
Methods inherited from class Jre12Compat
ensureUseCanonCachesFieldIsPopulated, isCanonCachesDisabled
Methods inherited from class JreCompat
callAs, createVirtualThreadBuilder, disableCanonCaches, getInstance, isGraalAvailable, isJre12Available, isJre16Available, isJre19Available, isJre20Available, isJre21Available, isJre22Available, threadBuilderStart
-
Constructor Details
-
Jre20Compat
public Jre20Compat()
-
-
Method Details
-
setNamedGroupsMethod
Description copied from class:JreCompat
TLS groups configuration from JSSE API in Java 20.- Overrides:
setNamedGroupsMethod
in classJreCompat
- Parameters:
sslParameters
- the parameters objectnames
- the names of the groups to enable
-
getUnixDomainSocketAddress
Description copied from class:JreCompat
Return Unix domain socket address for given path.- Overrides:
getUnixDomainSocketAddress
in classJreCompat
- Parameters:
path
- The path- Returns:
- the socket address
-
openUnixDomainServerSocketChannel
Description copied from class:JreCompat
Create server socket channel using the Unix domain socket ProtocolFamily.- Overrides:
openUnixDomainServerSocketChannel
in classJreCompat
- Returns:
- the server socket channel
-
openUnixDomainSocketChannel
Description copied from class:JreCompat
Create socket channel using the Unix domain socket ProtocolFamily.- Overrides:
openUnixDomainSocketChannel
in classJreCompat
- Returns:
- the socket channel
-