Package dev.galasa.framework.api.common
Class ResponseBuilder
java.lang.Object
dev.galasa.framework.api.common.ResponseBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.http.HttpServletResponse
buildResponse
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, int status) javax.servlet.http.HttpServletResponse
buildResponse
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String contentType, int status) javax.servlet.http.HttpServletResponse
buildResponse
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String contentType, String content, int status)
-
Field Details
-
logger
protected org.apache.commons.logging.Log logger
-
-
Constructor Details
-
ResponseBuilder
public ResponseBuilder() -
ResponseBuilder
-
-
Method Details
-
buildResponse
-
buildResponse
public javax.servlet.http.HttpServletResponse buildResponse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String contentType, int status) -
buildResponse
public javax.servlet.http.HttpServletResponse buildResponse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, int status)
-