Class ResponseBuilder

java.lang.Object
dev.galasa.framework.api.common.ResponseBuilder

public class ResponseBuilder extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.commons.logging.Log
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected org.apache.commons.logging.Log logger
  • Constructor Details

    • ResponseBuilder

      public ResponseBuilder()
    • ResponseBuilder

      public ResponseBuilder(Environment env)
  • Method Details

    • buildResponse

      public javax.servlet.http.HttpServletResponse buildResponse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String contentType, String content, int status)
    • 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)