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.voidsetNamedGroupsMethod(Object sslParameters, String[] names) TLS groups configuration from JSSE API in Java 20.Methods inherited from class Jre19Compat
getExecutorMethods inherited from class Jre12Compat
ensureUseCanonCachesFieldIsPopulated, isCanonCachesDisabledMethods 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:JreCompatTLS groups configuration from JSSE API in Java 20.- Overrides:
setNamedGroupsMethodin classJreCompat- Parameters:
sslParameters- the parameters objectnames- the names of the groups to enable
-
getUnixDomainSocketAddress
Description copied from class:JreCompatReturn Unix domain socket address for given path.- Overrides:
getUnixDomainSocketAddressin classJreCompat- Parameters:
path- The path- Returns:
- the socket address
-
openUnixDomainServerSocketChannel
Description copied from class:JreCompatCreate server socket channel using the Unix domain socket ProtocolFamily.- Overrides:
openUnixDomainServerSocketChannelin classJreCompat- Returns:
- the server socket channel
-
openUnixDomainSocketChannel
Description copied from class:JreCompatCreate socket channel using the Unix domain socket ProtocolFamily.- Overrides:
openUnixDomainSocketChannelin classJreCompat- Returns:
- the socket channel
-