Package cloud.piranha.server.isolated
Class IsolatedServerPiranha
java.lang.Object
cloud.piranha.server.isolated.IsolatedServerPiranha
@Deprecated(since="22.11.0",
forRemoval=true)
public class IsolatedServerPiranha
extends Object
implements Piranha, Runnable
Deprecated, for removal: This API element is subject to removal in a future version.
The Servlet container version of Piranha.
This version of Piranha makes it possible for you to run multiple web applications at the same time.
It has a shutdown mechanism that allows you to shutdown the server by removing the piranha.pid file that should be created by the startup script.
Please use the cloud.pirnaha.dist.isolated instead of this module.
- Author:
- Manfred Riem ([email protected]), Arjan Tijms
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic IsolatedServerPiranha
get()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the instance.static void
Deprecated, for removal: This API element is subject to removal in a future version.Main method.void
run()
Deprecated, for removal: This API element is subject to removal in a future version.Start method.void
service
(WebApplicationRequest request, WebApplicationResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Service the request and response.
-
Constructor Details
-
IsolatedServerPiranha
public IsolatedServerPiranha()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Returns the instance.- Returns:
- the instance
-
main
Deprecated, for removal: This API element is subject to removal in a future version.Main method.- Parameters:
arguments
- the arguments.
-
run
public void run()Deprecated, for removal: This API element is subject to removal in a future version.Start method. -
service
public void service(WebApplicationRequest request, WebApplicationResponse response) throws IOException, jakarta.servlet.ServletException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Piranha
Service the request and response.- Specified by:
service
in interfacePiranha
- Parameters:
request
- the request.response
- the response.- Throws:
IOException
- when an I/O error occurs.jakarta.servlet.ServletException
- when a Servlet error occurs.
-