Class DummyResponse

java.lang.Object
com.ibm.websphere.servlet.response.DummyResponse
All Implemented Interfaces:
com.ibm.ws.webcontainer.core.Response, javax.servlet.http.HttpServletResponse, javax.servlet.ServletResponse

public class DummyResponse extends Object implements javax.servlet.http.HttpServletResponse, com.ibm.ws.webcontainer.core.Response
  • Constructor Details

    • DummyResponse

      public DummyResponse()
  • Method Details

    • addCookie

      public void addCookie(javax.servlet.http.Cookie arg0)
      Specified by:
      addCookie in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.addCookie(Cookie)
    • containsHeader

      public boolean containsHeader(String arg0)
      Specified by:
      containsHeader in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.containsHeader(String)
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface javax.servlet.ServletResponse
    • encodeURL

      public String encodeURL(String arg0)
      Specified by:
      encodeURL in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.encodeURL(String)
    • encodeRedirectURL

      public String encodeRedirectURL(String arg0)
      Specified by:
      encodeRedirectURL in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.encodeRedirectURL(String)
    • encodeUrl

      public String encodeUrl(String arg0)
      Deprecated.
      Specified by:
      encodeUrl in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.encodeUrl(String)
    • encodeRedirectUrl

      public String encodeRedirectUrl(String arg0)
      Deprecated.
      Specified by:
      encodeRedirectUrl in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.encodeRedirectUrl(String)
    • sendError

      public void sendError(int arg0, String arg1) throws IOException
      Specified by:
      sendError in interface javax.servlet.http.HttpServletResponse
      Throws:
      IOException
      See Also:
      • HttpServletResponse.sendError(int, String)
    • sendError

      public void sendError(int arg0) throws IOException
      Specified by:
      sendError in interface javax.servlet.http.HttpServletResponse
      Throws:
      IOException
      See Also:
      • HttpServletResponse.sendError(int)
    • sendRedirect

      public void sendRedirect(String arg0) throws IOException
      Specified by:
      sendRedirect in interface javax.servlet.http.HttpServletResponse
      Throws:
      IOException
      See Also:
      • HttpServletResponse.sendRedirect(String)
    • setDateHeader

      public void setDateHeader(String arg0, long arg1)
      Specified by:
      setDateHeader in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.setDateHeader(String, long)
    • addDateHeader

      public void addDateHeader(String arg0, long arg1)
      Specified by:
      addDateHeader in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.addDateHeader(String, long)
    • setHeader

      public void setHeader(String arg0, String arg1)
      Specified by:
      setHeader in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.setHeader(String, String)
    • addHeader

      public void addHeader(String arg0, String arg1)
      Specified by:
      addHeader in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.addHeader(String, String)
    • setIntHeader

      public void setIntHeader(String arg0, int arg1)
      Specified by:
      setIntHeader in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.setIntHeader(String, int)
    • addIntHeader

      public void addIntHeader(String arg0, int arg1)
      Specified by:
      addIntHeader in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.addIntHeader(String, int)
    • setStatus

      public void setStatus(int arg0)
      Specified by:
      setStatus in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.setStatus(int)
    • setStatus

      public void setStatus(int arg0, String arg1)
      Deprecated.
      Specified by:
      setStatus in interface javax.servlet.http.HttpServletResponse
      See Also:
      • HttpServletResponse.setStatus(int, String)
    • getCharacterEncoding

      public String getCharacterEncoding()
      Specified by:
      getCharacterEncoding in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.getCharacterEncoding()
    • setCharacterEncoding

      public void setCharacterEncoding(String encoding)
      Specified by:
      setCharacterEncoding in interface javax.servlet.ServletResponse
    • getOutputStream

      public javax.servlet.ServletOutputStream getOutputStream() throws IOException
      Specified by:
      getOutputStream in interface javax.servlet.ServletResponse
      Throws:
      IOException
      See Also:
      • ServletResponse.getOutputStream()
    • getWriter

      public PrintWriter getWriter() throws IOException
      Specified by:
      getWriter in interface javax.servlet.ServletResponse
      Throws:
      IOException
      See Also:
      • ServletResponse.getWriter()
    • setContentLength

      public void setContentLength(int arg0)
      Specified by:
      setContentLength in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.setContentLength(int)
    • setContentType

      public void setContentType(String arg0)
      Specified by:
      setContentType in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.setContentType(String)
    • setBufferSize

      public void setBufferSize(int arg0)
      Specified by:
      setBufferSize in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.setBufferSize(int)
    • getBufferSize

      public int getBufferSize()
      Specified by:
      getBufferSize in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.getBufferSize()
    • flushBuffer

      public void flushBuffer() throws IOException
      Specified by:
      flushBuffer in interface javax.servlet.ServletResponse
      Throws:
      IOException
      See Also:
      • ServletResponse.flushBuffer()
    • resetBuffer

      public void resetBuffer()
      Specified by:
      resetBuffer in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.resetBuffer()
    • isCommitted

      public boolean isCommitted()
      Specified by:
      isCommitted in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.isCommitted()
    • reset

      public void reset()
      Specified by:
      reset in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.reset()
    • setLocale

      public void setLocale(Locale arg0)
      Specified by:
      setLocale in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.setLocale(Locale)
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface javax.servlet.ServletResponse
      See Also:
      • ServletResponse.getLocale()
    • finish

      public void finish() throws javax.servlet.ServletException
      Specified by:
      finish in interface com.ibm.ws.webcontainer.core.Response
      Throws:
      javax.servlet.ServletException
    • start

      public void start()
      Specified by:
      start in interface com.ibm.ws.webcontainer.core.Response
    • destroy

      public void destroy()
      Specified by:
      destroy in interface com.ibm.ws.webcontainer.core.Response
    • initForNextResponse

      public void initForNextResponse(IResponse res)
      Specified by:
      initForNextResponse in interface com.ibm.ws.webcontainer.core.Response
    • getHeader

      public String getHeader(String arg0)
      Specified by:
      getHeader in interface javax.servlet.http.HttpServletResponse
    • getHeaderNames

      public Collection<String> getHeaderNames()
      Specified by:
      getHeaderNames in interface javax.servlet.http.HttpServletResponse
    • getHeaders

      public Collection<String> getHeaders(String name)
      Specified by:
      getHeaders in interface javax.servlet.http.HttpServletResponse
    • getStatus

      public int getStatus()
      Specified by:
      getStatus in interface javax.servlet.http.HttpServletResponse