Package ch.tocco.nice2.dms.api.publish
Class ResponseServiceImpl
java.lang.Object
ch.tocco.nice2.dms.api.publish.ResponseServiceImpl
- All Implemented Interfaces:
ResponseService
Contains the HttpServletResponse which belongs to the current request.
Important: Each request (and thus each thread) needs its own instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional
<jakarta.servlet.http.HttpServletResponse> Get the response.void
setResponse
(jakarta.servlet.http.HttpServletResponse response) Set the response.
-
Constructor Details
-
ResponseServiceImpl
public ResponseServiceImpl()
-
-
Method Details
-
getResponse
Description copied from interface:ResponseService
Get the response.- Specified by:
getResponse
in interfaceResponseService
- Returns:
- the response.
-
setResponse
public void setResponse(jakarta.servlet.http.HttpServletResponse response) Description copied from interface:ResponseService
Set the response.- Specified by:
setResponse
in interfaceResponseService
- Parameters:
response
- The response to set.
-