Class Jre17Compat
java.lang.Object
org.apache.tomcat.util.compat.JreCompat
org.apache.tomcat.util.compat.Jre12Compat
org.apache.tomcat.util.compat.Jre17Compat
- Direct Known Subclasses:
Jre19Compat
-
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.Methods inherited from class Jre12Compat
ensureUseCanonCachesFieldIsPopulated, isCanonCachesDisabledMethods inherited from class JreCompat
callAs, createVirtualThreadBuilder, disableCanonCaches, getExecutor, getInstance, isGraalAvailable, isJre12Available, isJre16Available, isJre17Available, isJre19Available, isJre20Available, isJre21Available, isJre22Available, setNamedGroupsMethod, threadBuilderStart
-
Constructor Details
-
Jre17Compat
public Jre17Compat()
-
-
Method Details
-
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
-