java.lang.Object
cloud.piranha.core.impl.DefaultWebConnection
- All Implemented Interfaces:
jakarta.servlet.http.WebConnection
,AutoCloseable
The default WebConnection.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
ConstructorDescriptionDefaultWebConnection
(WebApplicationRequest request, WebApplicationResponse response) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
jakarta.servlet.ServletInputStream
jakarta.servlet.ServletOutputStream
-
Constructor Details
-
DefaultWebConnection
Constructor.- Parameters:
request
- the request.response
- the response.
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfacejakarta.servlet.http.WebConnection
- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStream
in interfacejakarta.servlet.http.WebConnection
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-