Class VirtualThreadServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
ee.jakarta.tck.concurrent.framework.TestServlet
ee.jakarta.tck.concurrent.spec.Platform.virtual.VirtualThreadServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
A simple lookup action that can pass/fail on a virtual threadclass
Captures thread this actions is running on in addition to performing the simpleVirtualThreadServlet.LookupAction
-
Field Summary
Fields inherited from class ee.jakarta.tck.concurrent.framework.TestServlet
FAILURE, nl, SUCCESS, TEST_METHOD
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
Methods inherited from class ee.jakarta.tck.concurrent.framework.TestServlet
after, before, beforeClass, doGet, doPost, getResponse, invokeTest, sendPostData
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
VirtualThreadServlet
public VirtualThreadServlet()
-
-
Method Details
-
testPlatformExecutor
- Throws:
Exception
-
testVirtualExecutor
- Throws:
Exception
-
testPlatformScheduledExecutor
- Throws:
Exception
-
testVirtualScheduledExecutor
- Throws:
Exception
-
testPlatformThreadFactory
- Throws:
Exception
-
testVirtualThreadFactory
- Throws:
Exception
-
testVirtualThreadFactoryForkJoinPool
- Throws:
Exception
-